.env.example 1.6 KB

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