Hi,
my first post, yeah!
I have a Sonoff POW und all is running fine. Except when i edit and save my sonoff.itmes file, the Switch lost the State and is “NULL”?
Switch Waschmaschine "Waschmaschine" {mqtt=">[broker:cmnd/Waschmaschine/POWER:command:*:default],
<[broker:stat/Waschmaschine/POWER:state:default]"}
How can i persist the Power-State of the switch? I tried rrd4j but it seemed not working.
Another idea is to uses a Proxy-item to store the current Power-state reported from the telemetry of the POW and used a rule to postUpdate to the Switch:
Switch Waschmaschine_Proxy {mqtt="<[broker:tele/Waschmaschine/STATE:state:JSONPATH($.POWER)]"}
Or is there another way to solve the Problem?
Thanks!