Compare commits
58 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8513dd20a8 | ||
|
|
97a728d7ab | ||
|
|
86efacc40b | ||
|
|
e2944af7e7 | ||
|
|
9f5acb35ba | ||
|
|
5d6c64943c | ||
|
|
32c4ccbbef | ||
|
|
47ac25b446 | ||
|
|
5804383c2b | ||
|
|
4efeb2d937 | ||
|
|
a19f35262f | ||
|
|
7e6612e69e | ||
|
|
ec54777aeb | ||
|
|
5c655fd0b7 | ||
|
|
c6a36e84ff | ||
|
|
29ea6d8915 | ||
|
|
c1e051a80a | ||
|
|
c84d2e6c20 | ||
|
|
2d329387ad | ||
|
|
d67c136830 | ||
|
|
ef6985de03 | ||
|
|
8a440ee8b3 | ||
|
|
aad610cf17 | ||
|
|
05463fa11b | ||
|
|
05d18daa8e | ||
|
|
62ccc1820e | ||
|
|
44170c919a | ||
|
|
8ebe91899a | ||
|
|
696e53513e | ||
|
|
c48347ffe8 | ||
|
|
eb2c16d559 | ||
|
|
e34cce9730 | ||
|
|
87df765987 | ||
|
|
0c38297b7c | ||
|
|
46fd56b9a8 | ||
|
|
b0615fc491 | ||
|
|
578f6703e4 | ||
|
|
ddec4e5bb5 | ||
|
|
0e57210f37 | ||
|
|
07cac5ea68 | ||
|
|
7477a31ed8 | ||
|
|
8ceb618371 | ||
|
|
82f9d97e82 | ||
|
|
16c56df970 | ||
|
|
f63ba79128 | ||
|
|
0eb1ca04b2 | ||
|
|
5ed3166e61 | ||
|
|
4d78d7fa10 | ||
|
|
96f58f40dc | ||
|
|
7b3b83f96b | ||
|
|
ebfa90bf93 | ||
|
|
57c062d9de | ||
|
|
769d0c1b7a | ||
|
|
511089b4da | ||
|
|
bef5a814e4 | ||
|
|
e2d994f2ed | ||
|
|
46731705ca | ||
|
|
16f131685a |
24
README.md
24
README.md
@@ -1,5 +1,10 @@
|
||||
# NSPanel Custom with HA Blueprint
|
||||
|
||||
|
||||
[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
|
||||
|
||||
This project allows you to configure your complete NSPanel via a Blueprint with UI.
|
||||
|
||||
### *That means you don't have to customize any code or change any lines in the code.*
|
||||
|
||||
So you have a nice graphical interface where you can build your NSPanel.
|
||||
@@ -7,11 +12,15 @@ And the best thing is, the installation takes only a few minutes.
|
||||
|
||||
The goal was to create a version that allows everyone to use the NSpanel fully local without having to deal with programming or reading hours of documentation - *AND YES WE DID IT!!!!* ;)
|
||||
|
||||
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo ](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki). (coming soon)
|
||||
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
|
||||
|
||||
🚀 How to create "Issues" when I have a problem [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki)
|
||||
|
||||
ℹ️ Version 2.0.0
|
||||
⭐ All Feature Requests can be found here [All Feature Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request)
|
||||
|
||||
🎉 Roadmap Roadmap can be found here [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap)
|
||||
|
||||
🙋 WE ARE LOOKING FOR YOU! _**We are always looking for people who would like to support this project. We are looking for help with "programming new features, writing documentation or translating documentation to EN. If you are interested then please contact us :)**_
|
||||
|
||||
## NSPanel:
|
||||

|
||||
@@ -39,8 +48,16 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
(NSPanel Settings)
|
||||
(NSPanel Settings and Boot Screen)
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
(HA Device Seeting for Example temperature correction)
|
||||
|
||||
|
||||
## Blueprint:
|
||||
@@ -150,3 +167,4 @@ Marcfager: https://github.com/marcfager/nspanel-mf
|
||||
lovejoy77: https://github.com/lovejoy777/NSpanel
|
||||
|
||||
Hellis81: https://github.com/Hellis81/NS-panel
|
||||
|
||||
|
||||
BIN
custom_configuration/nspanel_blank.tft
Normal file
BIN
custom_configuration/nspanel_blank.tft
Normal file
Binary file not shown.
@@ -6,19 +6,34 @@ blueprint:
|
||||
name: NSPanel Configuration
|
||||
description: '# Configuration and synchronization NSPanel via Blueprint
|
||||
|
||||
This Blueprint makes it possible to configure the complete NSPanel easily via blueprint
|
||||
[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
|
||||
|
||||
It is no longer necessary to change anything in the code. All entities can be set and configured via the blueprint.
|
||||
|
||||
The only requirement is that the NSPanel was flashed with ESPHome. See Wiki.
|
||||
(you can update your blueprint via the link)
|
||||
|
||||
|
||||
📕 Full documentation is available here [NSPanel Configuration, Setup and HowTo ](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
|
||||
This project allows you to configure your complete NSPanel via a Blueprint with UI.
|
||||
|
||||
### *That means you dont have to customize any code or change any lines in the code.*
|
||||
|
||||
So you have a nice graphical interface where you can build your NSPanel.
|
||||
And the best thing is, the installation takes only a few minutes.
|
||||
|
||||
|
||||
ℹ️ Version 2.0.0
|
||||
The goal was to create a version that allows everyone to use the NSpanel fully local without having to deal with programming or reading hours of documentation - *AND YES WE DID IT!!!!* ;)
|
||||
|
||||
'
|
||||
|
||||
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
|
||||
|
||||
|
||||
🚀 How to create "Issues" when I have a problem [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki)
|
||||
|
||||
|
||||
⭐ All Feature Requests can be found here [All Feature Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request)
|
||||
|
||||
|
||||
🎉 Roadmap Roadmap can be found here [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap)
|
||||
|
||||
'
|
||||
|
||||
source_url: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/nspnael_blueprint.yaml
|
||||
domain: automation
|
||||
@@ -1629,7 +1644,7 @@ action:
|
||||
button_label: "{{ entity24_name }}"
|
||||
button: buttonpage03.button08
|
||||
- entity: "{{ entity25 }}"
|
||||
button_label: "{{ entity17_name }}"
|
||||
button_label: "{{ entity25_name }}"
|
||||
button: buttonpage04.button01
|
||||
- entity: "{{ entity26 }}"
|
||||
button_label: "{{ entity26_name }}"
|
||||
@@ -1757,12 +1772,16 @@ action:
|
||||
message: "{{ time }}"
|
||||
|
||||
##### NSPanel boot init - Humidity #####
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: home.humidity_state
|
||||
message: "{{ states(humidity) |round(0) }}%"
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
||||
then:
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: home.humidity_state
|
||||
message: "{{ states(humidity) |round(0) }}%"
|
||||
|
||||
##### NSPanel boot init - Hotwater #####
|
||||
- if:
|
||||
@@ -1784,9 +1803,10 @@ action:
|
||||
##### NSPanel boot init - Outdoor Temp #####
|
||||
- variables:
|
||||
outdoor_temp: >-
|
||||
{%- if outdoortemp is match "sensor." -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" and state_attr(ha_weather, "temperature") != None -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" and state_attr(accuweather_value, "temperature") != None -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- else -%} 0
|
||||
{%- endif -%}
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
@@ -3094,17 +3114,21 @@ action:
|
||||
message: "{{ time }}"
|
||||
|
||||
##### NSPanel Humidity #####
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: home.humidity_state
|
||||
message: "{{ states(humidity) |round(0) }}%"
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
||||
then:
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: home.humidity_state
|
||||
message: "{{ states(humidity) |round(0) }}%"
|
||||
|
||||
##### NSPanel Hotwater #####
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: '{{ hotwatertemp is match "sensor." }}'
|
||||
value_template: '{{ hotwatertemp is match "sensor." and states(hotwatertemp).state != "unavailable" }}'
|
||||
then:
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
@@ -3121,9 +3145,10 @@ action:
|
||||
##### NSPanel Outdoor Temp #####
|
||||
- variables:
|
||||
outdoor_temp: >-
|
||||
{%- if outdoortemp is match "sensor." -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" and state_attr(ha_weather, "temperature") != None -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" and state_attr(accuweather_value, "temperature") != None -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- else -%} 0
|
||||
{%- endif -%}
|
||||
- delay:
|
||||
milliseconds: "{{ delay_value }}"
|
||||
@@ -4461,9 +4486,10 @@ action:
|
||||
- variables:
|
||||
hvac_mode: "{{ states(climate) }}"
|
||||
outdoor_temp: >-
|
||||
{%- if outdoortemp is match "sensor." -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }}
|
||||
{%- elif weather == "Default" and state_attr(ha_weather, "temperature") != None -%} {{state_attr(ha_weather,"temperature") | round(0)}}
|
||||
{%- elif weather == "AccuWeather" and state_attr(accuweather_value, "temperature") != None -%} {{state_attr(accuweather_value,"temperature") | round(0)}}
|
||||
{%- else -%} 0
|
||||
{%- endif -%}
|
||||
heating_state: >-
|
||||
{%- if hvac_mode == "off" -%} {{ off_mui }}
|
||||
@@ -11,8 +11,10 @@
|
||||
# ## usage of secrets-file ## -> comment in ###### Change ME ######
|
||||
# device_name: "nspanel-name" # Wird im Blueprint benötigt!
|
||||
# wifi_ssid: !secret nspanel_wifi_ssid # add in your esphome secrets file.
|
||||
# wifi_password: !secret nspanel_wifi_password # add in your esphome secrets file.
|
||||
# ota_password: !secret nspanel_ota_password # add in your esphome secrets file.
|
||||
# wifi_password: !secret nspanel_wifi_password # add in your esphome secrets file. -> per default this is also used for ota_password and web_password
|
||||
# ota_password: !secret nspanel_ota_password # add in your esphome secrets file. - manual change in code required to activate
|
||||
# web_password: !secret nspanel_web_password # add in your esphome secrets file. - manual change in code required to activate
|
||||
# api_password: !secret nspanel_api_password # add in your esphome secrets file. - manual change in code required to activate
|
||||
# nextion_update_url: !secret nspanel_update_url # add in your esphome secrets file. Example: "http://"HOME ASSISTANT IP":8123/local/nspanel/nspanel.tft"
|
||||
|
||||
# ## static ip config ##
|
||||
@@ -22,6 +24,11 @@
|
||||
# dns: "10.0.0.138"
|
||||
# domain: ".local"
|
||||
|
||||
##### if you rename this file to .nspanel_esphome.yaml then you can activate nested config
|
||||
##### use the ADVANCED CONFIG-Section as device configuration
|
||||
##### https://esphome.io/guides/configuration-types.html#yaml-insertion-operator
|
||||
# <<: !include .nspanel_esphome.yaml
|
||||
|
||||
##### END OF ADVANCED CONFIGURATION ##############################################################
|
||||
|
||||
##### WIFI SETUP #####
|
||||
@@ -36,7 +43,7 @@ wifi:
|
||||
# subnet: ${subnet}
|
||||
# dns1: ${dns}
|
||||
# domain: ${domain}
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
##### Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "${device_name}"
|
||||
password: ${wifi_password}
|
||||
@@ -62,11 +69,15 @@ web_server:
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: ${ota_password}
|
||||
password: ${wifi_password}
|
||||
##### advanced config - change to use web_password #####
|
||||
# password: ${web_password}
|
||||
|
||||
##### OTA PASSWORD #####
|
||||
ota:
|
||||
password: ${ota_password}
|
||||
password: ${wifi_password}
|
||||
##### advanced config - change to use ota_password #####
|
||||
# password: ${ota_password}
|
||||
safe_mode: true
|
||||
reboot_timeout: 3min
|
||||
num_attempts: 3
|
||||
@@ -105,6 +116,8 @@ button:
|
||||
|
||||
##### START - API CONFIGURATION #####
|
||||
api:
|
||||
##### advanced config - activate to use api_password #####
|
||||
# password: ${api_password}
|
||||
services:
|
||||
|
||||
##### SERVICE TO UPDATE THE HMI FILE #####
|
||||
|
||||
Reference in New Issue
Block a user