Ich vermute, dass ich folgendes Problem noch nicht so lange habe.
Logik:
Item:
Führt leider zu:
Ich möchte behaupten, dass es tags geht, wenn vom Sensor Werte > 0 kommen. Jetzt gerade sendet er seit Stunden ja nur 0...
Hat jemand einen Hinweis?
Gruß
Logik:
Code:
if sh.sensor.stellplatz.lux.db('min', '10i') > 450:
sh.praesenz.hwr.sperren(1)
logger.debug("BWM sperren")
Code:
sensor:
stellplatz:
lux:
enforce_updates: yes
visu_acl: rw
type: num
knx_dpt: 9
knx_send: 3/4/23
knx_listen: 3/4/23
sqlite: init
Code:
2018-11-13 21:38:41 ERROR logics.bwm_hwr_sperren Logic: logics.bwm_hwr_sperren, File: /usr/local/smarthome/logics/bwm_hwr_spe
rren.py, Line: 2, Method: <module>, Exception: unorderable types: NoneType() > int()
Traceback (most recent call last):
File "/usr/local/smarthome/lib/scheduler.py", line 493, in _task
exec(obj.bytecode)
File "/usr/local/smarthome/logics/bwm_hwr_sperren.py", line 2, in <module>
if sh.sensor.stellplatz.lux.db('min', '10i') > 450:
TypeError: unorderable types: NoneType() > int()
~
Hat jemand einen Hinweis?
Gruß


Kommentar