Power state

is it possible to read a power state from a sonoff basic when its powered up was trying to read the (text value)
tele/Hallway/STATE
JSONPATH:$.POWER
but it keeps throwing an error up in the log file
i use it for a light that i cant wire the switch wire to and when it powers up its on but shows off in HABPanel would like to put an off timer in to it but want full control from HABPanel so i can override the timers

Thanks Stuart

Might be helpful to share that

1 Like

https://github.com/arendst/Tasmota/wiki/openHAB read this and use stat/mqtttopic/power

1 Like