Ok, So I decided to bite the bullet and start over.
I have managed to pretty much get back to where I was without too much grief. However, I’m a little concerned that I am (and have been) missing something that is causing this issue to occur. So, if you don’t mind, I’ll share my config data;
group.all_switches
Configure a default setup of Home Assistant (frontend, api, etc)
Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
Text to speech
tts:
platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
mqtt:
broker: 192.168.1.93
username: name
password: password
Switch:
Platform: mqtt
Name: “Balcony_Lights”
Command_Topic: “cmd/Balcony_Lights/power”
State_topic: “stat/Balcony_Lights/Power”
qos: 1
Payload_on: “ON”
Payload_off: “OFF”
retain: true
Now, I know there has to be something I’m missing here because I’ve added a sonoff basic which is working fine ie I can control it in Home Assistant via the MQTT and have setup the DNS to access it remotely. However, this is not the ‘Balcony Lights’ that is listed in the config.yaml.
Looking at the MQTT log, it appears to have connected to both devices;
(192.168.1.92 is the switch that is working whereas 192.168.1.86 isn’t)
1573139176: New client connected from 192.168.1.92 as DVES_068CAF (p2, c1, k30, u’Ydraiggoch’).
1573139656: Saving in-memory database to /data/mosquitto.db.
1573139876: New connection from 192.168.1.86 on port 1883.
[INFO] found Ydraiggoch on Home Assistant
1573139877: New client connected from 192.168.1.86 as DVES_A76427 (p2, c1, k30, u’Ydraiggoch’).
1573139878: Client DVES_A76427 disconnected.
1573139886: New connection from 192.168.1.86 on port 1883.
1573139886: New client connected from 192.168.1.86 as DVES_A76427 (p2, c1, k30, u’Ydraiggoch’).
1573140005: Client DVES_A76427 disconnected.
1573140014: New connection from 192.168.1.86 on port 1883.
1573140014: New client connected from 192.168.1.86 as DVES_A76427 (p2, c1, k30, u’Ydraiggoch’).
1573141457: Saving in-memory database to /data/mosquitto.db.
1573141616: Client DVES_A76427 disconnected.
1573141624: New connection from 192.168.1.86 on port 1883.
[INFO] found Ydraiggoch on Home Assistant
1573141626: New client connected from 192.168.1.86 as DVES_A76427 (p2, c1, k30, u’Ydraiggoch’).
1573143258: Saving in-memory database to /data/mosquitto.db.
1573145059: Saving in-memory database to /data/mosquitto.db.
1573146860: Saving in-memory database to /data/mosquitto.db.
The 192.168.1.86 cannot be found via integrations either?
I have a feeling that I may be missing something when following the setup instructions on the add ons. I am following them to the letter, but at no point does it tell me to add to the config.yaml file. But I get the feeling I should be.
Thanks and apologies for the ramblings