NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
126 stars 10 forks source link

Ability to send notification to screen #128

Open cablesandcoffee opened 5 months ago

cablesandcoffee commented 5 months ago

Add ability for user to send a custom text string via mqtt that pops up on the screen. I think an easy solution would be to use the "draw" function that exists in nextion. You can for example draw a black box on the screen and then print a text on that box. In the nextion command you specify x,y coordinates for where you want it to be drawn. This would be good because we want have to think about on which page each specific panel is, we just issue draw command on the current page and make sure that the brightness is increased if the screen is currently 0%. Should probably be possible to send this command to all panels or only specific panels.