Sonoff NSPanel by ITead - Smart Scene Wall Switch based on ESP32 and custom Nextion Touch Screen Panel Display (non-Pro variant)

you find all information in the release notes

Yes, I am using docker, config of appdeamon:

home assistant configuration refers to configuration.yaml?


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
logger:
  default: info

homeassistant:
  time_zone: Europe/Madrid
  external_url: "https://argentona.duckdns.org:8123"
  internal_url: "http://homeassistant.local:8123"
  customize: !include customize.yaml
# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
climate: !include termostatos.yaml
sensor: !include sensor.yaml


http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  
device_tracker:
  - platform: xiaomi_miio
    host: XXXXXXXXXX
    token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

camera:
  - platform: xiaomi_cloud_map_extractor
    host: xxxxxxxxxxxxx
    token: !secret xiaomi_cloud_map_extractor_token
    username: !secret xiaomi_cloud_map_extractor_user
    password: !secret xiaomi_cloud_map_extractor_psw
    draw: ['all']
    attributes:
      - calibration_points
    map_transformation:
      scale: 2

binary_sensor:
  - platform: meteoalarm
    country: "spain"
    province: "barcelona"

no the configuration of your docker containers

most likely you missed that the appdaemon volume mount needs to be within the HA one to access file from HACS

see the volume paths in this example:

version: "3.5"
services:
  homeassistant:
    image: ghcr.io/home-assistant/home-assistant:stable
    container_name: homeassistant
    network_mode: host
    volumes:
      - ./docker-data/homeassistant/:/config
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Berlin
    privileged: true
    restart: unless-stopped

  appdaemon:
    container_name: appdaemon
    image: acockburn/appdaemon:latest
    environment:
      - HA_URL=http://your-homeassistant-url:8123
      - TOKEN="xxxxxx"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./docker-data/homeassistant/appdaemon:/conf
    depends_on:
      - homeassistant
    restart: unless-stopped

I can’t find the configuration file, can you help me?
It is installed on a PC with debian

Well, how do you start your docker containers?

It starts automatically when the PC boots.
Follow these instructions to install home assistant supervised;

​ Installing Home Assistant Supervised on Debian 11

No clue about supervised installations; it should work just fine, but apparently appdaemon doesn’t recognize the changes made by hacs or the editor, however I cannot help you debug this.

I’m personally running HA OS in a virtual machine and never used a supervised installation on debian.

If you are not familar enough with docker/linux stuff to debug this I would recommend you to use a HA OS or HA Containers instead.

Well, I’ve been trying things and I tell you:
Bearing in mind that the NSPanel Lovelace UI version is always the latest: 3.9.4, and that appdeamon is restarted after every tft installation

If the tft version is 43: everything works correctly


If the tft version is 48: screensaver works, but navigation through the screens does not work


If the tft version is 49: nothing works


I don’t think it is a home assistant configuration error, because if it were like that, nothing would work with the tft 43 version.
Is that correct? Does it give you any clue as to what could happen?

HACS might show 3.9.4, however they apparently do not get updated correctly within the Appdaemon folder.
I’m not sure how this is possible with a supervised Installation if you are able to edit the apps.yaml and see the correct files.

Maybe try to reinstall AppDeamon :man_shrugging:

Hello,

can anyone please tell me how the power card is not displayed correctly?
I have 2 panels, one is okay.
All other cards are okay?
Thanks very much

Looks like you have the development version on your panel and the release in hacs/Appdaemon.

Rerun the flashnextion command with the url for the release version:

https://docs.nspanel.pky.eu/prepare_nspanel/#upload-berry-driver-to-tasmota

Hallo, danke für deine Antwort.

Hello,

I think I’ve done the flashnextion at least 3 times in the meantime.

unfortunately no change.

I actually did everything the same as with the first panel, it works there :frowning:

What is the URL you’ve used with FlashNextion?

EU Version:

FlashNextion http://nspanel.pky.eu/lui-release.tft!

And this is my version:

Screenshot 2023-02-14 223107

and this is my other panel:

Hey, can you try with this version?

FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.9.3.tft

Looks like there went something from development into the release version of the tft file …

2 Likes

Hello, yes with the version it works :slight_smile:

Thanks so much

Hello,

I still have a question.

I indicated location DE on the display.

But will the date and day of the week be displayed in English?
What else could that be?

Thanks

nspanel-1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/nspan_1/RESULT"
    panelSendTopic: "cmnd/nspan_1/CustomSend"
    model: eu
    locale: "de_DE"
    sleepTimeout: 25
    sleepBrightness:
      - time: "7:00:00"
        value: 50
      - time: "19:00:00"
        value: 10        
      - time: "22:00:00"
        value: 0
    
    screensaver:
      theme:
        date: [255, 255, 0]
      entities:
        
        - entity: weather.forecast_home
        - entity: weather.forecast_home
          type: 0
        - entity: weather.forecast_home

Install babel

https://docs.nspanel.pky.eu/prepare_ha/#add-babel-package-to-appdaemon-container-optional

Thank you

this correct?

init_commands: []
python_packages:
  - babel
system_packages: []
log_level: info

yeah looks fine