2022-02-08 22:48:59 +01:00
2022-02-08 22:48:59 +01:00
2022-02-08 21:51:53 +01:00
2022-02-08 22:41:03 +01:00
2022-02-08 21:51:53 +01:00

NSPanel Lovelance UI

This is a custom UI for the NSPanel, with HomeAssistant Lovelance UI Design. The general idea is that the Nextion Display cycles though a page counter and the esp32 tells the display what to do. 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

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

image

Halfway done upcoming pages :)

image

Tasmota

Use autoexec.be from tasmota folder like you would use with the stock tft file. You will need the java app from to flash the tft file, thanks a lot to @peepshow-21 https://github.com/peepshow-21/ns-flash

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

Custom Protocol

55 BB [payload length] [payload] [crc] [crc]

See Readme in HMI Folder

Description
Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
Readme GPL-3.0 675 MiB
Languages
TypeScript 60.1%
Python 23.1%
JavaScript 8.5%
PHP 7.1%
Berry 1.2%