forked from Chaospott/Heizberry
Kleine Anpassungen und Fehler behoben - Vor Lifetest
This commit is contained in:
parent
6f4f1ee9fd
commit
99415291ea
@ -107,7 +107,7 @@ def getArgs():
|
||||
if __name__ == '__main__':
|
||||
signal.signal(signal.SIGINT, terminate)
|
||||
args = getArgs()
|
||||
logging.basicConfig(filename='/var/log/homeassistant_services/heizberry_control.log', level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
|
||||
logging.basicConfig(filename='/var/log/heizberry/heizberry_control.log', level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
|
||||
log = logging.getLogger('heizberry')
|
||||
if args.verbose:
|
||||
log.setLevel(logging.DEBUG)
|
||||
|
@ -4,7 +4,7 @@ After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/srv/homeassistent_services/heizberry_control.py
|
||||
ExecStart=/srv/heizberry/heizberry_control.py
|
||||
|
||||
Restart=always
|
||||
RestartSec=20
|
||||
|
@ -18,7 +18,7 @@ class Zimmer:
|
||||
|
||||
zimmer = [Zimmer, Zimmer]
|
||||
zimmerName = ["alexander", "wohnzimmer" ]
|
||||
zimmerThermostat = [Thermostat('00:1A:22:16:4B:B4'), Thermostat('00:1A:22:16:25:C3)]
|
||||
zimmerThermostat = [Thermostat('00:1A:22:16:4B:B4'), Thermostat('00:1A:22:16:25:C3')]
|
||||
|
||||
for i in range(len(zimmer)):
|
||||
zimmer[i].name = zimmerName[i]
|
||||
@ -93,7 +93,7 @@ def getArgs():
|
||||
if __name__ == '__main__':
|
||||
signal.signal(signal.SIGINT, terminate)
|
||||
args = getArgs()
|
||||
logging.basicConfig(filename='/var/log/homeassistant_services/heizberry_io.log', level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
|
||||
logging.basicConfig(filename='/var/log/heizberry/heizberry_io.log', level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
|
||||
log = logging.getLogger('heizberry')
|
||||
if args.verbose:
|
||||
log.setLevel(logging.DEBUG)
|
||||
|
@ -4,7 +4,7 @@ After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/srv/homeassistent_services/heizberry_io.py
|
||||
ExecStart=/srv/heizberry/heizberry_io.py
|
||||
|
||||
Restart=always
|
||||
RestartSec=20
|
||||
|
Loading…
Reference in New Issue
Block a user