jneilliii / OctoPrint-TasmotaMQTT

18 stars 16 forks source link

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

Closed cabletie closed 3 years ago

cabletie commented 3 years ago

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

jneilliii commented 3 years ago

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

jneilliii commented 3 years ago

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

cabletie commented 3 years ago

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.

cabletie commented 3 years ago

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.

cabletie commented 3 years ago

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