Thomas Buck f0fbb4ab07 tweaks | 2 anni fa | |
---|---|---|
lights | 2 anni fa | |
.gitignore | 2 anni fa | |
README.md | 2 anni fa | |
localtest.py | 2 anni fa | |
uploadlocal.sh | 2 anni fa |
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.