Hi Hassio Friends
I have an Raspberry pi running Hassio and MQTT on the Pi
I did Build an arduino to publish data to Hassio that is working fine, but for some reason i cannot publish a payload on and off to the arduino i did try the local mqtt publish service on the Developer tab and that works fine but the normal toggle switch that i have made is not working at all i also have mqtt lens running and i cant see the msg coming into the mqtt broker so i know the problem is not the arduino, is the way i send the toggle on and off not correct?
This is what i have a
switch:
- platform: mqtt
name: “Zone1”
command_topic: “zone1”
qos: 0
payload_on: “zone1triggeron”
payload_off: “zone1triggeroff”
i created the lovelace card that works but a soon as i slide the toggle i dont get the msg “payload” in mqtt lens nor the arduino gets it any ideas?’
as soon as i toggel it should send zone1triggeron and zone1triggeroff when i toggle back.