Thomas Buck 6b64afe5a2 add giessomat state | 2 years ago | |
---|---|---|
lights | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
localtest.py | 2 years ago | |
uploadlocal.sh | 2 years ago |
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.