MQTT smart home web interface
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Thomas Buck 6b64afe5a2 add giessomat state il y a 1 an
lights add giessomat state il y a 1 an
.gitignore add sensors, credentials.js file il y a 1 an
README.md implement living room switches. load last tab on page refresh. il y a 1 an
localtest.py initial commit il y a 1 an
uploadlocal.sh tweak layout il y a 1 an

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