Hi All
I recently setup a new Pi4 with
Home Assistant
- Core2023.11.2
- Supervisor2023.11.3
- Operating System11.1
- Frontend20231030.2
I have Mosquitto broker running and communication with 3 entities although all entities are not available. BTW they are sonoff devices flashed with Tasmota.
I can send commands in the broker to turn them on or off quite easily so as I am new to this latest version I thought I should reach out for some advice.
It’s highly likely I have botched the configuration as again this version is all new to me.
NOTE: My long running version is Home Assistant 2021.4.3
Decided it was about time to try living on the edge again.
Below is my MQTT config
#START MQTT Switches
#
mqtt:
- switch:
- unique_id: tank_light
name: "Tank Light"
state_topic: "stat/sonoff36/POWER"
command_topic: "cmnd/sonoff36/POWER"
availability:
- topic: "tele/sonoff36/LWT"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
- unique_id: side_1_light
name: "Side 1 Light"
state_topic: "stat/sonoff37/POWER"
command_topic: "cmnd/sonoff37/POWER"
availability:
- topic: "tele/sonoff37/LWT"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
- unique_id: garage_charger
name: "Garage Charger"
state_topic: "stat/sonoff28/POWER"
command_topic: "cmnd/sonoff28/POWER"
availability:
- topic: "tele/sonoff28/LWT"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
Cheers