theknut 1746c876bd feat: write button event to states
Whenever a button is pressed there is no event triggered which lets the user easily implement triggers on this event.
This PR adds the functionality that the current button event is written to NSPanel objects structures as states under `0_userdata.0.NSPanel.1.Event.Button`:
- Action - whatever button was pressed (button, media-OnOff, volumeSlider, ...)
- Value -  auxillary value for this action (e.g. action `volumeSlider` - `Value` holds the value the slider was moved to)
- Id
  - Action == `button` - Id of the alias the button is connected to
  - else - Id of the current page item or the page to navigate to
2024-01-22 00:19:23 +01:00
2022-05-29 20:13:57 +02:00
2023-11-16 18:32:14 +01:00
2023-11-28 12:56:32 +01:00
2024-01-20 19:56:16 +00:00
2022-08-30 23:12:40 +02:00
2022-04-03 22:57:21 +02:00
.
2023-12-26 12:04:00 +01:00
2023-11-20 21:03:23 +01:00
2022-03-13 00:48:52 +01:00
2023-05-20 17:19:39 +02:00
2023-11-19 12:40:49 +01:00
2023-11-28 21:35:19 +01:00
2023-10-06 21:56:02 +02:00

NSPanel Lovelace UI

If you like this project consider buying me a pizza 🍕

hacs_badge hacs validation GitHub Release Project Maintenance GitHub Activity

NsPanel Lovelace UI is a Firmware for the nextion screen inside of NSPanel in the Design of HomeAssistant's Lovelace UI Design.

Visit https://docs.nspanel.pky.eu/ for installation instructions and documentation of the configuration.

Supported Home Automation Systems:

  • Home Assistant - AppDaemon Backend
  • ioBroker - 3rd-party Typescript Backend maintained by @britzelpuf and @Armilar

NsPanel needs to be flashed with Tasmota (or through a 3rd-party Component with ESPHome)

EU Model and US Model supported (in portrait and landscape orientation)

nspanel-rl

Features

  • Entities Page with support for cover, switch, input_boolean, binary_sensor, sensor, button, number, scenes, script, input_button and light, input_text (read-only), lock, fan, timer and automation
  • Grid Page with support for cover, switch, input_boolean, button, scenes, light, lock, timer and automation
  • Detail Pages for Lights (Brightness, Temperature and Color of the Light) and Covers (Position)
  • Thermostat Page
  • Media Player Card
  • Alarm Control Card
  • Screensaver Page with Time, Date and Weather Information
  • Card with QrCode to display WiFi Information
  • Localization possible (currently 38 languages)
  • Everything is dynamically configurable by a yaml config, no need to code or touch Nextion Editor

It works with Tasmota and MQTT. To control the panel and update it with content from HomeAssistant, there is an AppDaemon App.

See the following picture to get an idea of the look of this firmware for NSPanel.

screens

Some (not all) screenshots from the US Portrait Version:

screens-us-p

Documentation

Visit https://docs.nspanel.pky.eu/ for installation instructions and documentation of the configuration.

Other Resources

Alternative Backends for other SmartHome Systems

ioBroker: https://forum.iobroker.net/topic/58170/sonoff-nspanel-mit-lovelace-ui/

IP Symcon: https://community.symcon.de/t/beta-modul-nspanel-lovelace-ui/130109

SmartHomeNG: https://github.com/sisamiwe/shng-nspanel-plugin

OpenHAB: https://github.com/donoo/o2n2l

NodeRed: https://github.com/laluz742/node-red-contrib-nspanel-lui

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