Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 252 Bytes

mqtt.MD

File metadata and controls

7 lines (5 loc) · 252 Bytes

Example without password:

brew services start mosquitto mosquitto_sub -h localhost -t /house/light/status mosquitto_pub -h localhost -t /house/light/command -m toggleLight

mosquitto_sub -h 192.168.1.168 -p 1883 -u homeassistant -t /house/light/status