Let me introduce myself, I’m Alex and I am really into home automation but have hit a stumbling block.
I am trying to set up some Sonoff S20’s with Home Assistant but I am COMPLETELY stumped by quite how MQTT works. I posted to the letscontrolit website but the help I got was limited due to the responders lack of understanding HA.
I have flashed the Sonoff’s with ESP Easy Mega and believe me have searched high and low for help on this forum and elsewhere to no avail.
I don’t think I am understanding “topics” very well.
I am trying to use the built in MQTT server in Home Assistant which seems to be fine.
Quite simply I would be very, very grateful if someone with the knowledge could just put in layman’s terms where I’ve gone wrong, what does and doesn’t need to be there. Whether this will work at-all:
I put all the screenshots in here for the website to tell me new users can only put in one image
So I have linked to the original post I put on letscontolit which contains the screenshots!
Here you will find:
Configuration file in Home Assistant
ESP Easy Mega config screen
ESP Easy Mega controller screen
ESP Easy Mega devices screen
ESP Easy Mega rules screen
An image of my Home Assistant states
Pressing the “MQTT Switch” switch does nothing - and the switch goes back to “off” within a second (and all other NON-MQTT related accessories work)
If I navigate to the following in a web browser:
http:// 192.168.0.69/control?cmd=GPIO,12,0 - the switch DOES turn off
http:// 192.168.0.69/control?cmd=GPIO,12,1 - the switch DOES turn on
All help will be very well received, I’m sure you guys will be able to tell me exactly where I am going wrong!
I must stress please be kind and put things in plain English because this is one thing that is really stumping me and as I say I am a complete noob!
If my ESP Easy settings look OK then please could anyone please tell me exactly what needs to be in the fields below in my configuration.yaml file? I know I’m very close but I just don’t know quite where I’m going wrong!
- platform: mqtt
Thank you so much in advance,