MQTT smart home web interface
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Thomas Buck 6b64afe5a2 add giessomat state 1 рік тому
lights add giessomat state 1 рік тому
.gitignore add sensors, credentials.js file 1 рік тому
README.md implement living room switches. load last tab on page refresh. 1 рік тому
localtest.py initial commit 1 рік тому
uploadlocal.sh tweak layout 1 рік тому

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