Telegram bot to control MQTT lights. Written in Go.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

config.yaml 766B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. api_key: API_KEY_HERE
  2. admin_id: 42
  3. mqtt:
  4. url: wss://HOST:PORT
  5. username: USERNAME
  6. password: PASSWORD
  7. authorized_users: []
  8. registration:
  9. - name: kitchen
  10. topic: livingroom/light_kitchen
  11. values:
  12. - "on"
  13. - "off"
  14. - name: bathroom
  15. topic: bathroom/force_light
  16. values:
  17. - none
  18. - big
  19. - small
  20. - "off"
  21. - name: pc
  22. topic: livingroom/light_pc
  23. values:
  24. - "on"
  25. - "off"
  26. - name: workbench
  27. topic: livingroom/light_bench
  28. values:
  29. - "on"
  30. - "off"
  31. - name: box
  32. topic: livingroom/light_box
  33. values:
  34. - "on"
  35. - "off"
  36. - name: amp
  37. topic: livingroom/light_amp
  38. values:
  39. - "on"
  40. - "off"