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

[Feature Request] send pagetype and pageid to ESP #1076

Open
afarago opened this issue Dec 1, 2023 · 3 comments
Open

[Feature Request] send pagetype and pageid to ESP #1076

afarago opened this issue Dec 1, 2023 · 3 comments

Comments

@afarago
Copy link
Contributor

afarago commented Dec 1, 2023

FEATURE DESCRIPTION

A clear and concise description of what the feature should do.
Please send the current pagetype and pageid to the ESP

Possible implementations:
a) extend the pageType message with a page key field.
Ideally this could be pageTypecardGridgrid1
This would enable the backend to parse which page the nextion panel has navigated to

b) More likely I would be happy to get this info directly from the panel as
event,page,cardGrid,grid1

ADDITIONAL CONTEXT

Add any other context about the problem here.

PANEL / FIRMWARE VERION

Please add the Panel/Firmware Version you are using (EU, US-L or US-P)
EU/4.3.2

@joBr99
Copy link
Owner

joBr99 commented Dec 1, 2023

what do you mean with the pageid?

@afarago
Copy link
Contributor Author

afarago commented Dec 1, 2023

apologies for the typo: pageType + card key

While card type is often unique (screensaver2), some page types are used for many pages (e.g cardGrid)
I think it would be great to have this info and expose from the ESP as a sensor later on,

@Bascht74
Copy link

I would like to have that, too.
I would use it to customize the hardware buttons depending to the page, e.g. dim all lights up/down if you are on the lights page...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants