Wiren Board web interface.
See into conventions to understand how to organize devices and controls (what write to /meta/type for example).
The config is stored in /usr/share/wb-mqtt-homeui/nginx/default.conf (do not edit this file directly).
Add your custom configuration to /etc/nginx/includes/default.wb.d/*.conf.
Change listen settings in /etc/nginx/includes/default.wb.d/listen.conf.
- Navigate to the project directory:
cd ./frontend - Install dependencies:
npm install - Create
.envfile and setMQTT_BROKER_URIif your controller is running on different IP (default is 10.200.200.1) - Start the development server:
npm run start
One can put a JSON-file with custom menu description in /usr/share/wb-mqtt-homeui/custom-menu.
Items, defined in the file, will be added to left navigation panel.
The structure of the JSON-file
[ { "id": "string", // Not used if id is already defined "url": "string", // Not used if id is already defined "title": { "en": "string", "ru": "string" }, "children": [ { "id": "string", "url": "string", "title": { "en": "string", "ru": "string" } } ] } ]