Skip to content

balk77/node-red-buttonplus-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-buttonplus-menu

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 for documentation.

Installation

  1. Create a new flow from node_red_config.flow
  2. Open 01 global config and add device configuration parameters, add page names as well. Keep main as first page!
  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
  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.
  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
  6. Edit 02 pagebutton to assign buttons to main. See Description tab inside the node.
  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.
  8. These nodes should not need update when bugs are fixed in the flow with all the logic, which is next:
  9. Create a new flow from node_red_menu.flow
  10. Add device id to 01 general config
  11. Deploy

Notes:

Contents of node_red_menu.flow

Screenshot 2024-01-28 at 09 36 58

Partial contents of node_red_config.flow

Screenshot 2024-01-28 at 09 38 44

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published