[solved] switch and dimmer gone after update
-
Hi all,
the todays update of the Mysensors modul in FHEM caused my switches and dimmer to not work anymore:
error: "switch1 not defined: no mapping for reading switch1"
and the same with the dimmer:
"dimmer1 not defined: no mapping for reading dimmer1"did this also happen to some of you?
thanks
-
@jeti I haven't updated, but it looks like there were some updates of constants: github-link
It's just a guess from looking at the github code and changes, but I would try to edit the fhem.cfg and replace
attr <device_name> mapReading_switch1 <child_id> switch
with
attr <device_name> mapReading_switch1 <child_id> status
and replace your
attr <device_name> mapReading_dimmer1 <child_id> dimmer
with
attr <device_name> mapReading_dimmer1 <child_id> percentage
-
@m26872: Ithink you are right, that would have helped too, or just deleting the device and getting it autoincluded again help too
thanks