Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete rewrite of flow #3

Merged
merged 3 commits into from
Jan 14, 2024
Merged

Complete rewrite of flow #3

merged 3 commits into from
Jan 14, 2024

Conversation

balk77
Copy link
Owner

@balk77 balk77 commented Jan 14, 2024

Complete rewrite of flow; switching to a new page now uploads a complete JSON to the B+
Button topics (labels, clicks, everything) are now specific to a (menu)page. For instance buttonplus/wk1/button/music/7/state is publishing clicks from button number 7 (bottom right with 3 bars) but only for the page music. The backend does not need to be aware of the state of the B+ menu; you can simply use this topic and assign it to an action, such as Volume Up. The topic disappears when another page is active.

@balk77
Copy link
Owner Author

balk77 commented Jan 14, 2024

Complete rewrite of flow; switching to a new page now uploads a complete JSON to the B+
Button topics (labels, clicks, everything) are now specific to a (menu)page. For instance buttonplus/wk1/button/music/7/state is publishing clicks from button number 7 (bottom right with 3 bars) but only for the page music. The backend does not need to be aware of the state of the B+ menu; you can simply use this topic and assign it to an action, such as Volume Up. The topic disappears when another page is active.

@balk77 balk77 merged commit 5431b7c into main Jan 14, 2024
@balk77 balk77 deleted the balk77-rewrite branch January 20, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant