Skip to content
Discussion options

You must be logged in to vote

In Berry, you can select another page by calling the show method on the page object, like p2.show()

If you are maintaining the page number in the variable page, you could code like this in Berry:
global.member(f'p{page}').show() to reference the page object, and then call the show() method.

Note that the "primary" way of reacting to Buttons would be to trigger on Button1#state, but that also depends on what other button configs you've made, and you may still need more than the mentioned trigger if you want to avoid the Button input triggering default actions in Tasmota.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@richardsg307
Comment options

@sfromis
Comment options

@richardsg307
Comment options

@sfromis
Comment options

@richardsg307
Comment options

Answer selected by richardsg307
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants