MQTT smart home web interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Buck 6b64afe5a2 add giessomat state před 1 rokem
lights add giessomat state před 1 rokem
.gitignore add sensors, credentials.js file před 1 rokem
README.md implement living room switches. load last tab on page refresh. před 1 rokem
localtest.py initial commit před 1 rokem
uploadlocal.sh tweak layout před 1 rokem

README.md

Lights Web

Simple Bootstrap webinterface to control room lights via MQTT.

Getting 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