Hello @klaus.schauer
Here are some roomCtrlMode's fixes for Pilote Wire Devices (I have used this one from Avidsen http://www.at-mod.com/module-de-chauffage-fil-pilote.html (http://www.at-mod.com/module-de-chauffage-fil-pilote.html))
I've also added a state event for roomCtrlMode so we could use devStateIcon attribute to add a state icon.
Thanks for pointing out the reading "roomCtrlMode". I adjusted the calculation accordingly. The reading "state" is described by the device message 0x4 "Actuator Status Response". It is therefore not usable by other device messages.
Ok, thanks
Your are right it's not a real reading "state", roomCtrlMode status is return by cmd = 10 "Actuator Pilot Wire Mode Response", but if is not possible to add that piece of code below then how could I show a devStateIcon in Fhem like in this attachment image.
push @event, "3:state:" . $roomCtrlMode{$roomCtrlMode}...
My devStateIcon code:
off:hpw_off@black:roomCtrlMode
comfort:hpw_comfort@orange:roomCtrlMode comfort-1:hpw_comfort-1@orange:roomCtrlMode comfort-2:hpw_comfort-2@orange:roomCtrlMode
economy:hpw_eco@green:roomCtrlMode
buildingProtection:hpw_anti-freeze@blue:roomCtrlMode
Maybe I wrong doing it like that but sorry I am still a Fhem beginner :)