MQTT smart home web interface
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Thomas Buck b99e7a9296 tweak layout 2 年前
lights tweak layout 2 年前
.gitignore add sensors, credentials.js file 2 年前
README.md tweak layout 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