Hallo zusammen,
ich möchte die physikalischen Daten vom KNX Bus mit einem gewissen Zeitabstand auslesen und in eine Datei speichern, z. B. im Format:
Date Time Temp[°C] CO2[ppm] Feuchte[%] FensterStatus[-]
--------------------------------------------------------------------------------------------------------------
2017-11-20 08:11:12 21.8 670.56 56 0
2017-11-20 08:16:12 21.9 688.11 56 0
2017-11-20 08:21:12 22.9 697.08 57 0
2017-11-20 08:26:12 22.0 705.42 58 1
2017-11-20 08:31:12 22.1 710.50 58 1
....
Folgende Einstellungen verwende ich:
plugin.yaml: https://pastebin.com/vBE31SeV
logging.yaml: https://pastebin.com/FWq0ECK3
logic.yaml: https://pastebin.com/Fay1Z04p
items/EG.yaml: https://pastebin.com/85Es83H6
logics/test.py: https://pastebin.com/01ZNMKFd
Im test.log bekomme ich aber nur 0 und False Werte:
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Könnte mich jemand in die richtige Richtung ankicken ?
Danke
ich möchte die physikalischen Daten vom KNX Bus mit einem gewissen Zeitabstand auslesen und in eine Datei speichern, z. B. im Format:
Date Time Temp[°C] CO2[ppm] Feuchte[%] FensterStatus[-]
--------------------------------------------------------------------------------------------------------------
2017-11-20 08:11:12 21.8 670.56 56 0
2017-11-20 08:16:12 21.9 688.11 56 0
2017-11-20 08:21:12 22.9 697.08 57 0
2017-11-20 08:26:12 22.0 705.42 58 1
2017-11-20 08:31:12 22.1 710.50 58 1
....
Folgende Einstellungen verwende ich:
plugin.yaml: https://pastebin.com/vBE31SeV
logging.yaml: https://pastebin.com/FWq0ECK3
logic.yaml: https://pastebin.com/Fay1Z04p
items/EG.yaml: https://pastebin.com/85Es83H6
logics/test.py: https://pastebin.com/01ZNMKFd
Im test.log bekomme ich aber nur 0 und False Werte:
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Temp:0 RH:0 CO2:0 WinOpen:False
Könnte mich jemand in die richtige Richtung ankicken ?
Danke
Kommentar