It worked. I look in the console of the smartplug and there was this:
20:40:32 MQT: Attempting connection...
20:40:38 MQT: Connect failed to 192.168.178.32:1883, rc -2. Retry in 10 sec
20:40:47 RSL: stat/test2/RESULT = {"POWER":"ON"}
20:40:47 RSL: stat/test2/POWER = ON
20:40:48 RSL: stat/test2/RESULT = {"POWER":"OFF"}
20:40:48 RSL: stat/test2/POWER = OFF
20:40:48 MQT: Attempting connection...
20:40:54 MQT: Connect failed to 192.168.178.32:1883, rc -2. Retry in 10 sec
20:41:04 MQT: Attempting connection...
20:41:10 MQT: Connect failed to 192.168.178.32:1883, rc -2. Retry in 10 sec
And I was like, am no this is not my host.
I had the wrong IP. I’m sorry for the inconvenience!
Thank you anyway for your help!