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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

It focuses on HomeAssistant and ESPHome. It does not use any custom protocol to communicate with the nextion display. Instead the display is completely controlled through the AppDaemon app written in python.

For details about the configuration see Configuration. Also take a 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.

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. For a more detailed overview of available functionality see the Device Description.

Next Steps

Development

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

Roadmap

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

    First versions, get basic functionality running

    • stable core, basic functionality and panels are available
    • available panels:
      • screensaver: weather, clock
      • overview: grid, row
      • panels: light, media, vacuum, qr code, cover, climate, timer
    • functionality:
      • locking panels
      • popups
  • Versions 0.2.x: Sort it out - configuration and entity handling

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

    Things done for this cycle:

    • clock: restyle clock, only 3 days forecast, show notifications icon.
    • weather: show notifications icon.
    • clocktwo: new sleep screen with time as written text.
    • light: various updates
    • music: fix media lists
    • wakeup: make the wakeup process more configureable. add default wakeup behaviour.
    • wakeup: open previous panel if display was not off, open home panel if display was off after wakeup.
    • eye-candy:
      • wider sliders in different screens
    • sounds: play sounds on startup and on notifications.

    Things for this cycle to finish:

    • notifications: receive notifications and show them on the display. Show an icon on the home panel and on sleep panels. Notifications are available and can be opened and closed until discarded.
    • new panels:
      • notification: show current notifications.
    • sounds: play sounds on notifications.
    • new functionality:
      • simplify config, internal handling
      • prepare for backend
    • music player - show playlists
    • panels eye-candy:
      • common eye-candy improvements
      • time in title?
  • Future:

    • Replace AppDaemon with Home Assistant Integration

Resources

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