diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..719ef76 --- /dev/null +++ b/.env.example @@ -0,0 +1,12 @@ +# Copy this file to .env and adjust values for your environment. + +# MQTT connection +MQTTHOST=localhost +MQTTPORT=1883 +MQTTUSR= +MQTTPWD= +TOPIC=sonoff + +# Optional API protection for /switch/* endpoints. +# Leave empty to disable token auth. +SWITCH_API_TOKEN=