.env.example 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # MQTT Configuration
  2. # this configuration is needed to activat ethe integration with Home assistant
  3. # If you leave MQTT_BROKER empty, the integration will be skipped, and it won't affect the app in any way
  4. # to correctly configure the integration, you must copy this .env.example to a fine named just .env
  5. # and then fill all the fields
  6. # the ip address of your mqtt server
  7. # if you have the mosquitto addon, this is the same as the Home assistant IP
  8. MQTT_BROKER=
  9. # the port of the mqtt broker, 1883 is the default port
  10. MQTT_PORT=1883
  11. # the username and password can either be the ones of a Home Assistant user (if you're using the addon)
  12. # or a specific mqtt user (see https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md)
  13. MQTT_USERNAME=
  14. MQTT_PASSWORD=
  15. # Status update interval in seconds
  16. # most of the updates are done on demand anyway, so you probably don't need to edit this
  17. MQTT_STATUS_INTERVAL=30
  18. # Home Assistant MQTT Discovery
  19. # this is usually homeassistant
  20. # if you didn't edit it yourself in your install, leave as is
  21. MQTT_DISCOVERY_PREFIX=homeassistant
  22. # unique ids: you need to edit these only if you have multiple tables that you want to connect to Home assistant
  23. # unique id of the devvice in Home Assistant
  24. HA_DEVICE_ID=dune_weaver
  25. # unique id of the device in mqtt
  26. MQTT_CLIENT_ID=dune_weaver
  27. # display name of the table in Home assistant
  28. HA_DEVICE_NAME=Dune Weaver
  29. # MQTT Topics
  30. # you can probably leave this as is
  31. MQTT_STATUS_TOPIC=dune_weaver/status
  32. MQTT_COMMAND_TOPIC=dune_weaver/command