I have used my computer to connect to the MQTT server and subscribe and publish the topics to the device and it works fine. Whereas the problem is that the front end is not turning ON or OFF the device.
If you can post the commands and results of this, it would help to see the problem.
Edit:
I just pasted your config into my configuration file and discovered that your quotes are non-ascii characters. I expect you edited them with a word processor rather than an editor. Just remove all the quotes and you should get better results.
You need to post the output of your successful attempts to get any help. This is the output I get from your configuration (with the quotes removed)
Aug 08 16:06:18 /home/Room/fanConfirm/ 1
Aug 08 16:06:26 /home/Room/fanConfirm/ 1
Aug 08 16:12:32 /home/Room/fanConfirm/ 1
Aug 08 16:13:10 /home/Room/fanConfirm/ 1
Aug 08 16:13:10 /home/Room/speedConfirm/ 3
Aug 08 16:13:23 /home/Room/fanConfirm/ 1
Aug 08 16:13:24 /home/Room/speedConfirm/ 4
Aug 08 16:13:29 /home/Room/fanConfirm/ 1
Aug 08 16:13:29 /home/Room/speedConfirm/ 2
Aug 08 16:13:35 /home/Room/fanConfirm/ 1
Thanks. I am not aware of how to generate the success message as a log. Kindly let me know and I shall post it.
I am using the internal MQTT broker on the same Pi that hassio is hosted.
Do not know how to see the log of the MQTT transactions.
Do you mean the embedded broker, or an addon that runs a mosquitto broker? Please read the MQTT component page to tell the difference.
See the MQTT testing page on how to do this. Note that there are many different clients that can subscribe to the broker, from any machine connected to your network. You do not have to use mosquitto_sub
Sorry with all these question, I am new to this and do not have a background in coding.
I am using the embedded MQTT broaker.
I am using an ESP8266 to connect to the broker, I have 3 switches and 1 fan configuration on the ESP.
The switches are working and connect to the MQTT broker and subscribe to the topic.
Where as the Fan isn’t responding.
I am trying to solve this.
I used my computer to send messages to the ESP and the FAN works, where as I use the front end on the home assistant, and nothing happens.
SO i presumed that there is something wrong at the HA side and trying to Debug it.