|
2 | 2 | This Node Red flow creates a page menu structure on you Buttonplus device. Page `main` is always visible, for things like time etc. You can also assign buttons to `main`, for instance as a trigger to change the menu page. See our [Wiki](https://github.com/balk77/node-red-buttonplus-menu/wiki) for documentation. |
3 | 3 |
|
4 | 4 | **Installation** |
5 | | -* Create a new flow from `node_red_config.flow` |
6 | | -* Open `01 global config` and add device configuration parameters, add page names as well. Keep `main` as first page! |
7 | | -* Edit the node below `03 Contains the default button labels`. The text behind msg.label.3 will for instance appear on the right button, 1st row below display. `toplabel` defines the toplabel and `ledrgb` the color of the led |
8 | | -* Edit the nodes below `04 Displayitems for Main`. Add parameters like position, size, page it belongs to. When you add a field, simply copy a node and place it in the flow. Make sure to update the displayitem to a unique number. |
9 | | -* Do the same for `05 Displayitems from pages`; add node in the page flow you like. Top connection of the Switch node is the first page after `menu` |
10 | | -* Edit `02 pagebutton` to assign buttons to `main`. See `Description` tab inside the node. |
11 | | -* The subflows under `07` contain the actions per page. Signals are split between `press`, `release` and `longpress` (`msg.state`). `msg.button` contains the button number. |
12 | | -* These nodes should not need update when bugs are fixed in the flow with all the logic, which is next: |
13 | | -* Create a new flow from `node_red_menu.flow` |
14 | | -* Add device id to `01 general config` |
15 | | -* Deploy |
| 5 | +1. Create a new flow from `node_red_config.flow` |
| 6 | +2. Open `01 global config` and add device configuration parameters, add page names as well. Keep `main` as first page! |
| 7 | +3. Edit the node below `03 Contains the default button labels`. The text behind msg.label.3 will for instance appear on the right button, 1st row below display. `toplabel` defines the toplabel and `ledrgb` the color of the led |
| 8 | +4. Edit the nodes below `04 Displayitems for Main`. Add parameters like position, size, page it belongs to. When you add a field, simply copy a node and place it in the flow. Make sure to update the displayitem to a unique number. |
| 9 | +5. Do the same for `05 Displayitems from pages`; add node in the page flow you like. Top connection of the Switch node is the first page after `menu` |
| 10 | +6. Edit `02 pagebutton` to assign buttons to `main`. See `Description` tab inside the node. |
| 11 | +7. The subflows under `07` contain the actions per page. Signals are split between `press`, `release` and `longpress` (`msg.state`). `msg.button` contains the button number. |
| 12 | +8. These nodes should not need update when bugs are fixed in the flow with all the logic, which is next: |
| 13 | +9. Create a new flow from `node_red_menu.flow` |
| 14 | +10. Add device id to `01 general config` |
| 15 | +11. Deploy |
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
|
0 commit comments