Merge branch 'main' of github.com:joBr99/nspanel-widget-ui

This commit is contained in:
joBr99
2022-01-30 18:02:09 +01:00

View File

@@ -4,11 +4,13 @@ The general idea is that the Nextion Display cycles though a page counter and th
If you are changeing the page the nextion display will send and event to the esp32 and it has to answer with the messages, that will update the current page with it's desired components. This enables easy changes, without touching the HMI Project.
# Current State
This is at a early stage, it is possible to set entities on the pages on the nspanel through custom commands.
And the buttons are also sending an event in case they are pressed.
It's currently possible to set the content of the pages through homeassistant/nodered. (Shutter and Lights supported) And the detail page for lights is working.
![image](https://user-images.githubusercontent.com/29555657/149628697-1f440086-fe67-498f-ac73-a2293af7a479.png)
![image](https://user-images.githubusercontent.com/29555657/151697993-49ef4d99-d85b-4275-af46-026b1cd4c0be.png)
## Halfway done upcoming pages :)
![image](https://user-images.githubusercontent.com/29555657/149677879-a6a0bb07-fcc6-4736-b59a-cb8b9495763a.png)
@@ -25,6 +27,10 @@ Use autoexec.be from tasmota folder like you would use with the stock tft file.
Driver behaves similar to the stock implementation, messages are published over mqtt.
See nodered example flow for my implementation.
Pages on nspanel are generated from the array at the begin of the pages function in the flow:
![image](https://user-images.githubusercontent.com/29555657/151675593-dadd53cb-a38e-49bd-9f40-832fc8edd017.png)
# EspHome component