MQTT smart home web interface
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Thomas Buck 2288cd95ed implement living room switches. load last tab on page refresh. 2年前
lights implement living room switches. load last tab on page refresh. 2年前
.gitignore add sensors, credentials.js file 2年前
README.md implement living room switches. load last tab on page refresh. 2年前
localtest.py initial commit 2年前
uploadlocal.sh tweak layout 2年前

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