Mosquitto broker / MQTT Gosund Smart Plug won't react to ON/OFF

If you unplug stick is it working?

The Mosquito Brokers ip is the same as the server it is running on.

Is there anything helpful in the log?

Dose it work after a reboot.?

How are you editing the files?

It may be your things file

Delete things files and change to one file to test.

Bridge mqtt:broker:myMQTTBroker "My only one and best MQTT server" [ host ="192.168.178.XX", secure =false, username ="TEST", password ="TEST" , clientID ="OpenHAB2" ]
{
 
    Thing topic Steckdose01 "Light switch" [ availabilityTopic ="tele/Steckdose01/LWT", payloadAvailable ="Online", payloadNotAvailable ="Offline"] {
    Channels:
        Type switch : PowerSwitch "Light Switch"   [ stateTopic ="stat/Steckdose01/POWER", commandTopic ="cmnd/Steckdose01/POWER", on="ON", off="OFF"]
      }

}

I use http://mqtt-explorer.com/ to test if things are working
Item

Switch sBrilliantSwitch "Brilliant Light Switch" {channel="mqtt:topic:myMQTTBroker:Steckdose01:PowerSwitch"}
1 Like