Skip to content

NSPanel HAUI (HomeAssistant UI) is a versatile display system for HomeAssistant based smart homes for Sonoff NSPanel.

Notifications You must be signed in to change notification settings

happydasch/nspanel_haui

Repository files navigation

NSPanel HAUI (HomeAssistant UI)

nspanel_haui is a versatile display system for HomeAssistant based smart homes.

Panel

About

NSPanel HAUI was started as a replacement for the original Sonoff Firmware. It provides a flexible way to configure the display and to control devices connected to home assistant.

For details about the configuration see Configuration. Also look at Panels to get an overview of available panels.

Features

  • Easy Installation

    The nspanel_haui will load most parts of the required files automatically. Only the initial ESPHome flashing process is needed. After this all parts will be updated by the AppDaemon app.

  • Device display configuration in a single yaml file

    Config

    The whole configuration is located in the apps.yaml file. The configuration is done per device.

  • Optimized custom ESPHome component

    Custom component

    For the communication between the esp32 and the nextion display a custom component nspanel_haui is used. It provides basic functionality like send_command, get_int_value, get_txt_value, etc. and also generates events for button presses and other changes on the display.

  • A variety of different panels

    Panels 1

    Panels 2

    Select from different Panels that can be displayed on the panel.

  • Touch gestures and sequences

    Touch

    Different touch gestures as swipe left or right are supported. There is also support for gesture sequences.

  • Live state updates

    Touch

    The display will update when a entity state changes. All entities being displayed will notify about changes and the display will update.

  • Button and relay states, coupled and uncoupled relays

    Buttons

    The buttons can be used in a couped state, so that by button presses, the relay will get activated. It is also possible to disable the relay and use the physical buttons as software buttonms.

  • Dimming of the display after a timeout

    Dimming

    The display will automatically dim its brightness after a timeout.

  • Sleep display change after a timeout

    Sleep

    The display can switch to a page after a timeout. There are sleep and wakeup panels possible.

  • Locking/Unlocking mechanism for panels

    Unlock

    All panels can be locked by a pin code. The panel can be accessed after entering the pin code.

  • Device settings in HomeAssistant

    Config

    The whole device configuration can be done in HomeAssistant.

Installation

In order to install NSPanel HAUI it is neccessary to flash the Panel with ESPHome.

The simplified process is as followed:

  1. Flash Panel with ESPHome
  2. Update Display TFT
  3. Install AppDaemon App
  4. Add Configuration

Take a look at the more detailed Installation Guide. Have also a look at the FAQ.

Next Steps

Development

For details about how the parts of the whole system communicate together see NSPanel HomeAssistant UI Docs.

Roadmap

  • Version 0.1.x: Into the wild - basic functionality, auto updates, cleanups

    First versions, get basic functionality running

  • Version 0.2.x: Sort it out - configuration and entity handling

    Configuration and entity handling, more definitions, better code, sort out issues

  • Additional upcoming functionality:

    • Panels:
      • Climate
      • Cover
      • Alarm?

Resources

The project is based on the ideas of NSPanel Lovelace UI and NSPanel Custom with HA Blueprint.