MQTT smart home web interface
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Thomas Buck eba973df0e add sensors, credentials.js file 2 år sedan
lights add sensors, credentials.js file 2 år sedan
.gitignore add sensors, credentials.js file 2 år sedan
README.md add sensors, credentials.js file 2 år sedan
localtest.py initial commit 2 år sedan

README.md

Lights Web

Simple Bootstrap webinterface to control room lights via MQTT.

Quick started

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.

Sources