Thomas Buck f0fbb4ab07 tweaks | преди 2 години | |
---|---|---|
lights | преди 2 години | |
.gitignore | преди 2 години | |
README.md | преди 2 години | |
localtest.py | преди 2 години | |
uploadlocal.sh | преди 2 години |
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.