Thomas Buck eba973df0e add sensors, credentials.js file | vor 2 Jahren | |
---|---|---|
lights | vor 2 Jahren | |
.gitignore | vor 2 Jahren | |
README.md | vor 2 Jahren | |
localtest.py | vor 2 Jahren |
Simple Bootstrap webinterface to control room lights via MQTT.
To set up the MQTT broker credentials, run the following commands:
echo "const mqttUsername = 'MQTT_USERNAME'" > lights/credentials.js
echo "const mqttPassword = 'MQTT_PASSWORD'" >> lights/credentials.js
echo "const mqttUrl = 'wss://MQTT_HOST:MQTT_PORT'" >> lights/credentials.js
Then run localtest.py
and open http://localhost:8080
to access local test instance.