-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is a hard fork of the great work that Blackymas et al have done.
I'll keep the fork linked to the original for the time being but changes committed here will not be attempted to get PR:d back into the Blackymas project.
I develop for personal use (currently 5 NSPanels installed, with Dallas OneWire HW mod) but, of course, if this version fits your needs then feel free to use it.
If you decide to use this version, pls be advised that I cannot provide any support other than what is documented in this Wiki.
If you have a feature request then I might be able to develop it but I only "have the time" for dev work that is monetarily compensated, typically 100€+VAT/issue.
# Device: Sonoff NSPanel with HomeAssistant & NSPanel_HA_Blueprint(andreas-berg)
# Note to self:
substitutions:
###### CHANGE ME START ######
baud_rate: "921600" # note: this has to match with the baudrate set in the currently running TFT
# baud_rate: "115200"
device_name: "eh_soffnsp_x02"
wifi_ssid: "ajOuTiWiFi"
wifi_password: !secret wifiPWD
nextion_update_url: "http://<ip address of homeassistant>:8123/local/nspanel/nspanel_eu_ab.tft" # URL to local tft File
#dallas:
# - pin: 23
# id: dallas_component
#sensor:
# Dallas/One-wire bus
# - platform: dallas
# index: 0
# name: "$device_name Floor Temperature 1"
# id: floor_temperature_01
# - platform: dallas
# index: 1
# name: "$device_name Floor Temperature 2"
# id: floor_temperature_02
#climate:
# - platform: thermostat
# name: "$device_name Thermostat Climate Controller 01"
# visual:
# min_temperature: 10
# max_temperature: 25
# temperature_step: 0.5
# sensor: temp_nspanel
# min_heating_off_time: 300s
# min_heating_run_time: 300s
# min_idle_time: 180s
# heat_deadband: 0.5 # turn on heating when 0.5 under set_temp
# heat_overrun: 0.0 # no need, temp will overrun by 0.2-0.3 anyway
# heat_action:
# - switch.turn_on: relay_1
# idle_action:
# - switch.turn_off: relay_1
# default_preset: Home
# preset:
# - name: Home
# default_target_temperature_low: 12 °C
##### CHANGE ME END #####
##### DO NOT CHANGE ANYTHING! #####
packages:
##### download esphome code from Github
remote_package:
url: https://github.com/andreas-berg/NSPanel_HA_Blueprint
ref: main
files: [nspanel_esphome.yaml]
refresh: 300s
##### DO NOT CHANGE ANYTHING! #####
NOTE: Take special care with the baudrate - setting
The ESP32 in the NSPanel has to be configured on the matching baudrate as the currently running display firmware/TFT-version, otherwise a new TFT-Upload will fail (and probably all other communication too).
I'm now sure what the Sonoff-stock TFT is running on but if you have successfully installed Blackymas TFTs or joBr99's nspanel-lovelace-ui TFTs previously then it is set to baudrate 115200.
This projects TFTs are set to 921600 so after your first successful TFT-Upload at 115200, you need to update the ESPHome configuration to 921600.
Use this link to install the Blueprint in your HomeAssistant and use it to create an Automation which specifies which ESPHome-device to talk to :
Download the TFT (Nextion display firmware) from this link and store it somewhere where ESPHome can access it over http, f.e. in HomeAssistants web server: file://<ha>/www/nspanel/nspanel_eu_ab.tft = http://<ip>:8123/local/nspanel/nspanel_eu_ab.tft
andreas-berg/NSPanel_HA_Blueprint/nspanel_eu_ab.tft
- [DONE] Modified Home-page
- [DONE] New background-imagery and page-transition animations
- [DONE] Add graph (bar-chart) functionality for showing entso-e/nordpool Electricity Dayahead Spotprice
- Reduce file size of TFT (currently over 10MB due to heavy fonts and lot of pictures)
- Double climate pages, typically my NSPanels act as thermostats for 1 or 2 floor heating areas (w/ in-floor Dallas sensors)
- Remove redundant pages from Automations/Blueprint
- Implement a 'power flow plus'-inspired animation on the NSPanel.