jneilliii / OctoPrint-TasmotaMQTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch turns on but icon keeps spinning (new ON state not recognised)

cabletie opened this issue · comments

I'm using a Tasmotised S26 GPO switch.
Running 9.2 Tasmota
Clicking the power icon in the toolbar works.
It sends this MQTT:

cmnd/Creality_3D_Printer_Power/POWER ON

Then this response comes from the S26:

stat/Creality_3D_Printer_Power/RESULT {"POWER":"ON"}
stat/Creality_3D_Printer_Power/POWER ON 

But the icon stays red and spins - seems the plugin isn't seeing the confirmation of the ON status...

Config page is:


Screen Shot 2021-03-05 at 2 09 45 pm


Relay config is:


Screen Shot 2021-03-05 at 2 09 14 pm


Any help appreciated.
Thanks,
CableTie

Double-check your Full Topic matches what you have configured in Tasmota.

Also what is your SetOption26 setting configured for on your S26?

Thanks very much for your responses!

The MQTT topic on the S26 is '%prefix%/%topic%/'
setOption26 was off but I have tried now with it on and get the same result...

I also tried setting the relay # to 1 in the relay settings - same.

HA!
I changed everything back to not use the Relay # and now it works!

Who knows.....
Thanks again for your help and a very useful plugin.
A modest tip is on its way.

The upshot is to make sure relay number settings match (setOption26 off on the S26) as well as topic %prefix%/%topic%/