108 Commits

Author SHA1 Message Date
Blackymas
1f6eabeeee Merge pull request #189 from Blackymas/beta
Release - v.3.0.0
2023-01-15 10:23:49 +01:00
Blackymas
0309dec38d Merge pull request #188 from Blackymas/dev
Update README.md
2023-01-14 23:31:32 +01:00
Blackymas
143b80f630 Update README.md 2023-01-14 23:29:15 +01:00
Blackymas
6001ab425c Merge pull request #184 from Blackymas/dev
rdy for stable
2023-01-12 22:22:53 +01:00
Blackymas
817d187dd8 add Version number to blueprint description 2023-01-12 22:21:17 +01:00
Chris
ab0e622dd9 Merge pull request #182 from deejaybeam/dev
upd: add service upload_tft_url
2023-01-12 19:12:03 +01:00
Chris
1541c07e99 Merge branch 'Blackymas:dev' into dev 2023-01-12 19:08:55 +01:00
Chris
a823bf9739 upd: add service upload_tft_url 2023-01-12 19:07:04 +01:00
Blackymas
ec79ccf008 Merge pull request #181 from Blackymas/dev
Dev to beta
2023-01-12 16:26:52 +01:00
Blackymas
bd5fb7adc6 add fan pic 2023-01-12 08:53:23 +01:00
Blackymas
5e80691b3e add fan mapping 2023-01-12 08:51:56 +01:00
Chris
fbbb10b4e8 Merge pull request #176 from PunkRa1n/patch-2
sorted and fixed language selection
2023-01-11 21:52:49 +01:00
PunkRa1n
593a9f8592 sorted and fixed language selection 2023-01-11 21:49:06 +01:00
Chris
45f3ab2f13 Merge pull request #174 from deejaybeam/dev
fix: restore .vscode
2023-01-11 12:32:28 +01:00
Chris
3422a49973 fix: restore .vscode 2023-01-11 12:22:02 +01:00
Chris
e70a661f2f Merge pull request #163 from tikismoke/fan_entities
Fan entities
2023-01-11 12:13:15 +01:00
Blackymas
7380a485fd reboot button - boot page 2023-01-10 22:33:10 +01:00
Blackymas
ddbdf6fcab Add files via upload 2023-01-10 22:26:02 +01:00
Blackymas
e3e7b16b6a reboot button 2023-01-10 22:24:59 +01:00
Blackymas
4fc051acda add reboot button on boot page 2023-01-10 22:15:02 +01:00
tikismoke
281d284f67 Delete settings.json 2023-01-10 21:56:39 +01:00
tikismoke
f1a0cd3086 Delete .wsuo 2023-01-10 21:56:27 +01:00
tikismoke
773b39f7e5 Delete read.lock 2023-01-10 21:56:15 +01:00
tikismoke
8608b3b397 Delete 6ef87407-4c14-4dfe-9117-c8cc11aa6f4e.vsidx 2023-01-10 21:56:09 +01:00
tikismoke
8bbeace1b2 Delete 4a36059d-0d01-4a92-9922-a7a244697e7f.vsidx 2023-01-10 21:56:03 +01:00
tikismoke
cb9ba1a2ff Delete VSWorkspaceState.json 2023-01-10 21:55:54 +01:00
tikismoke
204d574457 Delete slnx.sqlite 2023-01-10 21:55:49 +01:00
Blackymas
21a8598f87 add reboot button on boot page 2023-01-10 21:53:40 +01:00
Blackymas
53dabf89fe Add files via upload 2023-01-10 21:51:29 +01:00
Chris
512189af4e Merge pull request #171 from deejaybeam/dev
upd: weather-entity, new boot-process
2023-01-10 17:49:01 +01:00
Chris
491b5cb23e upd: weather-entity, new boot-process 2023-01-10 17:46:50 +01:00
Blackymas
8ae14a4cff init boot change 2023-01-09 20:10:24 +01:00
Blackymas
c3de9950ac Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-01-09 18:20:30 +01:00
Blackymas
3b32ae3754 change boot hmi 2023-01-09 18:20:22 +01:00
Blackymas
471eab4e93 new boot 2023-01-09 18:15:38 +01:00
Blackymas
d44ced1cd5 fix indoor temp 2023-01-09 15:22:38 +01:00
Blackymas
2d0212b2f8 change indoor temp 2023-01-09 13:03:31 +01:00
Blackymas
b018c22922 indoor outdoor temp 2023-01-09 11:07:34 +01:00
Blackymas
bacfe4bec9 indoor temp sensor 2023-01-09 10:13:25 +01:00
Blackymas
8295284b65 indoor temp sensor 2023-01-09 09:42:30 +01:00
Blackymas
03842f1a42 add RUS translation 2023-01-09 08:55:23 +01:00
tikismoke
9363ee3b48 correct icon no update for fan 2023-01-06 17:06:47 +01:00
Blackymas
42ed489a1c translate please_confirm_mui 2023-01-06 15:21:49 +01:00
Blackymas
4993695a73 Add files via upload 2023-01-06 11:09:40 +01:00
Blackymas
a56db0170c change esphome Display Start 2023-01-06 10:27:13 +01:00
Blackymas
0ac19e4096 Add files via upload 2023-01-06 10:12:46 +01:00
Blackymas
14328846a7 Add files via upload 2023-01-06 09:43:28 +01:00
Blackymas
b3648e947d Add files via upload 2023-01-06 09:24:25 +01:00
Blackymas
ca736ac139 Add files via upload 2023-01-06 09:23:57 +01:00
Blackymas
cf7f943d82 Add files via upload 2023-01-06 09:10:59 +01:00
Blackymas
e6e286edd0 Add files via upload 2023-01-06 09:10:08 +01:00
Blackymas
6c86ed1f7f Add files via upload 2023-01-06 09:06:31 +01:00
Blackymas
3a4c3fe37d Add files via upload 2023-01-06 08:57:37 +01:00
tikismoke
ec67e93af0 button error 2023-01-05 20:56:15 +01:00
tikismoke
88472c7de1 typo 2023-01-05 19:48:57 +01:00
tikismoke
c0e8a46865 fan entities 1st test 2023-01-05 19:13:18 +01:00
Chris
a7aa574d8c Merge pull request #162 from deejaybeam/dev
upd: confirmation
2023-01-05 17:49:59 +01:00
deejaybeam
e32df95471 upd: confirmation 2023-01-05 17:47:14 +01:00
Chris
c19cdd3703 Merge pull request #161 from deejaybeam/dev
upd: Notification
2023-01-05 01:06:56 +01:00
Chris
1fafff21b9 Merge branch 'Blackymas:dev' into dev 2023-01-05 01:05:07 +01:00
deejaybeam
bf11e4c6e6 upd: notification 2023-01-05 01:01:08 +01:00
Blackymas
37750c642b Add files via upload 2023-01-05 01:00:28 +01:00
Blackymas
9340e3c6cd Add files via upload 2023-01-05 00:04:48 +01:00
Blackymas
280f88de2e change button08release 2023-01-04 01:39:08 +01:00
Chris
5b8f19b425 Merge pull request #157 from deejaybeam/dev
upd: new home-page and prep notify
2023-01-04 01:01:05 +01:00
deejaybeam
fe7da90f30 upd: new home-page and prep notify 2023-01-04 00:59:14 +01:00
Blackymas
2b1cf79f46 Add files via upload 2023-01-03 23:55:20 +01:00
Blackymas
5513f1d1ab dry for Notification 2023-01-03 23:43:29 +01:00
Blackymas
fae2f043e7 New Home Page and notification 2023-01-03 17:03:46 +01:00
Blackymas
8e9aa4efc1 Add files via upload 2023-01-03 16:02:23 +01:00
Blackymas
3871a97d8a Merge pull request #154 from naofireblade/dev
Added binary_sensor to supported button entities
2023-01-03 15:33:29 +01:00
Blackymas
3f634e3eb5 Add files via upload 2023-01-03 12:40:41 +01:00
Blackymas
e0455e1635 Add files via upload 2023-01-03 12:22:37 +01:00
Blackymas
71935d37f8 Add files via upload 2023-01-03 11:57:15 +01:00
Blackymas
34f057dba4 Add files via upload 2023-01-03 09:23:02 +01:00
Arne Blumentritt
7c42431143 Added binary_sensor to supported button entities 2023-01-02 23:04:51 +01:00
Blackymas
cd766c2cad Add files via upload 2023-01-02 16:05:28 +01:00
Blackymas
1d12f87a5e Add files via upload 2023-01-02 15:50:15 +01:00
Blackymas
1305284855 Add files via upload 2023-01-02 15:23:42 +01:00
Blackymas
24a415f773 Merge pull request #148 from Blackymas/beta
Add baud rate 115200 by default
2023-01-02 11:34:44 +01:00
Blackymas
d6d8de0b8e Merge pull request #147 from Blackymas/dev
Add baud rate 115200 by default
2023-01-02 11:34:19 +01:00
Blackymas
50e53ae596 new blank tft´s 2023-01-02 11:02:54 +01:00
Blackymas
92f52be4f1 Add baud rate 115200 by default 2023-01-02 11:02:10 +01:00
Blackymas
3d01355b75 add baud rate 115200 by default in TFT File 2023-01-02 10:41:03 +01:00
Blackymas
fffc70e733 Merge pull request #135 from Blackymas/beta
change description
2022-12-30 01:04:57 +01:00
Blackymas
79427157a8 Merge pull request #134 from Blackymas/dev
change description
2022-12-30 01:04:24 +01:00
Blackymas
942bacdc28 Update README.md 2022-12-30 01:03:26 +01:00
Blackymas
415465ee62 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2022-12-30 01:02:53 +01:00
Blackymas
a21dc7524c change description 2022-12-30 01:02:47 +01:00
Blackymas
0e417e5e91 Update README.md 2022-12-30 01:00:41 +01:00
Blackymas
1a36d9bf36 Merge pull request #132 from Blackymas/beta
25 languages added
2022-12-30 00:12:21 +01:00
Blackymas
3d7564b003 Merge pull request #131 from Blackymas/dev
25 languages added
2022-12-30 00:11:46 +01:00
Chris
7bebb0e8bf Merge pull request #129 from deejaybeam/dev
fix: ignore entities with state unknown
2022-12-29 17:37:54 +01:00
deejaybeam
34daabcaad fix: ignore entities with state unknown 2022-12-29 17:35:48 +01:00
Blackymas
817aa011cf language font size 2022-12-29 16:09:26 +01:00
Blackymas
7f2ecd360e add Language 2022-12-28 13:08:01 +01:00
Blackymas
f259e202bd Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2022-12-28 12:50:33 +01:00
Blackymas
045c1ed939 add language 2022-12-28 12:50:25 +01:00
Chris
532f0f5ffe Merge pull request #120 from deejaybeam/dev
add script-domain, hw-buttons, small fix
2022-12-22 17:39:14 +01:00
Chris
805317e865 upd: additional domains for hw-buttons 2022-12-22 14:59:24 +01:00
Chris
a1e420e2cf upd: add script domain for buttons 2022-12-22 14:44:42 +01:00
Chris
549a978736 fix: no exec on unavailable state 2022-12-22 13:56:10 +01:00
Blackymas
184f25cb3f Merge pull request #112 from chpego/add_french_language
Add french language
2022-12-19 08:55:55 +01:00
Blackymas
dd14d6f88c change fonts for new languages 2022-12-15 10:12:39 +01:00
chpego
7a4f9f6f70 add french language 2022-12-12 12:09:33 +01:00
Blackymas
e7df0e5099 Merge pull request #98 from Blackymas/beta
add new pic in Readme
2022-12-11 00:42:59 +01:00
Blackymas
bda5a311c6 Merge pull request #97 from Blackymas/dev
add new pic in Readme
2022-12-11 00:42:34 +01:00
Blackymas
e5c44c9510 add new pic 2022-12-11 00:41:59 +01:00
7 changed files with 1607 additions and 557 deletions

View File

@@ -1,5 +1,6 @@
# NSPanel Custom with HA Blueprint
[![Paypal](https://user-images.githubusercontent.com/41958506/212499642-b2fd097a-0938-4bfc-b37b-74df64592c58.png)](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)
[![Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.](https://my.home-assistant.io/badges/blueprint_import.svg)](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
@@ -13,6 +14,8 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
📌 Step by Step - [Setup Video](https://www.youtube.com/watch?v=3afPFg6kUdc)
🚀 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)
@@ -25,7 +28,9 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
## NSPanel:
![2 Home](https://user-images.githubusercontent.com/41958506/203653897-cf96a7af-2b92-4ad9-a375-987decad5aa7.png)
![3 Buttonpage](https://user-images.githubusercontent.com/41958506/203654022-c6d81263-ce56-4a84-917a-9d4911f19f55.png)
![NEW Domains](https://user-images.githubusercontent.com/41958506/206879659-3aea30c1-b126-4d52-a869-abf6adfc8fa1.png)
(Home and Buttonpage)

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -124,6 +124,14 @@ api:
- service: upload_tft
then:
- lambda: 'id(disp1)->upload_tft();'
##### SERVICE TO UPDATE THE TFT FILE from URL #####
- service: upload_tft_url
variables:
url: string
then:
- lambda: 'id(disp1)->set_tft_url(url.c_str());'
- lambda: 'id(disp1)->upload_tft();'
##### Service to send a command "printf" directly to the display #####
- service: send_command_printf
@@ -179,6 +187,7 @@ api:
- wait_until:
switch.is_on: nextion_init
- lambda: 'id(disp1).set_component_font_color(component.c_str(), message);'
##### Service to send a command "background color" directly to the display #####
- service: send_command_background_color
variables:
@@ -189,6 +198,46 @@ api:
switch.is_on: nextion_init
- lambda: 'id(disp1).set_component_background_color(component.c_str(), message);'
##### Service to show a notification-message on the screen #####
- service: notification_show
variables:
label: string
text: string
then:
- wait_until:
switch.is_on: nextion_init
- lambda: |-
id(disp1).send_command_printf("page notification");
id(disp1).set_component_text_printf("notification.notifi_label", "%s", label.c_str());
id(disp1).set_component_text_printf("notification.notifi_text01", "%s", text.c_str());
id(notification_label).publish_state(label.c_str());
id(notification_text).publish_state(text.c_str());
- switch.turn_on: notification_unread
- if:
condition:
switch.is_on: notification_sound
then:
- rtttl.play: "two short:d=4,o=5,b=100:16e6,16e6"
##### Service to clear the notification #####
- service: notification_clear
then:
- wait_until:
switch.is_on: nextion_init
- lambda: |-
id(notification_label).publish_state("");
id(notification_text).publish_state("");
- switch.turn_off: notification_unread
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
- service: play_rtttl
variables:
song_str: string
then:
- rtttl.play:
rtttl: !lambda 'return song_str;'
#### Service to send thermostat cycle state ####
- service: send_thermostat_cycle_state
variables:
@@ -404,7 +453,7 @@ binary_sensor:
number: 27
inverted: true
##### Restart NSPanel Button #####
##### Restart NSPanel Button - Setting Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 7
@@ -413,6 +462,15 @@ binary_sensor:
on_click:
- button.press: restart_nspanel
##### Restart NSPanel Button - Boot Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 8
component_id: 5
internal: true
on_click:
- button.press: restart_nspanel
##### Sleep Modus NSPanel Button #####
- platform: nextion
name: ${device_name} Sleep Modus
@@ -472,12 +530,12 @@ sensor:
reference_resistance: 10kOhm
filters:
- lambda: return x + id(temperature_correction_global);
on_value:
then:
- wait_until:
switch.is_on: nextion_init
- lambda: id(disp1).set_component_text_printf("home.current_temp", "%.1f°", id(temp_nspanel).state); # onboard temp (thermostat temp) to home page.
# - lambda: id(disp1).set_component_text_printf("climate.current_temp", "%.1f", id(temp_nspanel).state);
# on_value:
# then:
# - wait_until:
# switch.is_on: nextion_init
# - lambda: id(disp1).set_component_text_printf("home.current_temp", "%.1f°", id(temp_nspanel).state); # onboard temp (thermostat temp) to home page.
# - lambda: id(disp1).set_component_text_printf("climate.current_temp", "%.1f", id(temp_nspanel).state);
##### current value of page-climate target_temp #####
- platform: template
@@ -549,6 +607,14 @@ text_sensor:
name: ${device_name} BSSID
disabled_by_default: true
- platform: template
name: ${device_name} Notification Label
id: notification_label
- platform: template
name: ${device_name} Notification Text
id: notification_text
##### last click sensor, the main action variable - push to HA #####
- platform: nextion
nextion_id: disp1
@@ -675,9 +741,33 @@ switch:
assumed_state: off
optimistic: true
##### Notification unread #####
- platform: template
name: ${device_name} Notification unread
id: notification_unread
entity_category: config
restore_state: true
optimistic: true
##### Notification sound #####
- platform: template
name: ${device_name} Notification sound
id: notification_sound
entity_category: config
restore_state: true
optimistic: true
##### Confirmation Message #####
- platform: template
name: ${device_name} Confirmation Message
id: confirmation_message
entity_category: config
restore_state: false
optimistic: true
##### UPDATE TFT DISPLAY #####
- platform: template
name: Update TFT display
name: ${device_name} Update TFT display
id: tft_update
entity_category: config
turn_on_action:
@@ -799,17 +889,10 @@ display:
tft_url: ${nextion_update_url}
on_setup:
then:
- lambda: id(disp1).send_command_printf("page 9"); ##### CHANGE! - Loading page #####
- lambda: id(disp1).send_command_printf("page 8");
- wait_until:
api.connected
- delay: 0.5s
- rtttl.play: "two short:d=4,o=5,b=100:16e6,16e6"
- delay: 0.5s
- switch.template.publish:
id: nextion_init
state: on
- lambda: id(disp1).send_command_printf("page 0"); #### home page #####
- delay: 2s ##### gives the display time to update other components & set the home page #####
- number.set:
id: display_brightness
value: !lambda 'return id(display_brightness_global);'
@@ -827,3 +910,7 @@ display:
{
id(disp1).set_component_value("settings.a02",1);
}
- delay: 0.5s
- switch.template.publish:
id: nextion_init
state: on