NBK_PlanB

Untitled

Jan 6th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Sonoff MQTT settings
  2.  
  3. Topic = %topic% (sonoff)
  4. flagpole
  5.  
  6. Full Topic (%prefix%/%topic%)
  7. /house/outside/%topic%/
  8.  
  9.  
  10. Switches.yaml
  11.  
  12. - platform: mqtt
  13. name: "Flag Pole"
  14. command_topic: "/house/outside/flagpole/cmnd/POWER"
  15. payload_on: "ON"
  16. payload_off: "OFF"
  17. state_topic: "/house/outside/flagpole/POWER"
  18. retain: true
Add Comment
Please, Sign In to add comment