428 Commits

Author SHA1 Message Date
Blackymas
787f337220 v3.2.2 - fixed some bugs performance improvement
v3.2.2 - fixed some bugs performance improvement
2023-04-04 08:37:14 +02:00
Blackymas
44aaea74ec change weather params
Change order of weather params to fit the screen (#592)
2023-04-04 08:25:30 +02:00
Edward Firmo
4a346ce2d2 Change order of weather params to fit the screen (#592) 2023-04-04 07:11:43 +02:00
Blackymas
4ead4382a2 Merge pull request #591 from Blackymas/dev
fix for wakeup sleep mode
2023-04-03 22:43:19 +02:00
Blackymas
1e64e134f9 fix for wakeup sleep mode 2023-04-03 22:37:57 +02:00
Blackymas
68190ece4b Merge pull request #589 from Blackymas/dev
v.3.2.2 - fixed some bugs
2023-04-03 21:14:34 +02:00
Blackymas
81d0bcf304 change description 2023-04-03 21:13:30 +02:00
Blackymas
94364d711e Merge pull request #585 from Blackymas/dev
v.3.2.2 - fixed some bugs
2023-04-03 16:40:51 +02:00
Chris
2953942fbd Merge pull request #584 from deejaybeam/dev
v3.2.2
2023-04-03 08:28:08 +02:00
Chris
51173352d2 Merge branch 'Blackymas:dev' into dev 2023-04-03 08:26:05 +02:00
Chris
1bec2b1160 upd: v3.2.2 2023-04-03 08:21:35 +02:00
Blackymas
4921453a1b fix variables for v3.2.2 2023-04-02 22:32:42 +02:00
Blackymas
95a4447eeb Update page_id & component_id 2023-04-02 22:30:05 +02:00
deejaybeam
350b3f4ca7 upd: use set_button on all button pages 2023-04-02 08:55:30 +02:00
deejaybeam
a8172a1b06 fix: fallback state 2023-04-02 08:49:02 +02:00
deejaybeam
df10d09736 upd: use current nextion-component 2023-04-01 02:17:04 +02:00
Chris
4f31326b8e Merge pull request #578 from deejaybeam/dev
fix: avoid "0" brightness in some cases
2023-04-01 02:12:20 +02:00
deejaybeam
f0e557b5e4 fix: avoid "0" brightness in some cases 2023-04-01 02:11:00 +02:00
Chris
80d19b1da1 Merge pull request #577 from deejaybeam/dev
upd: service set_button to improve performance
2023-03-31 23:24:33 +02:00
deejaybeam
df0855862f upd: service set_button to improve performance 2023-03-31 23:23:43 +02:00
Edward Firmo
d23fe9616c fix: ignore unassigned indoor sensor
Fix for when sensor is set but unavailable.
2023-03-29 15:49:29 +02:00
Chris
76fee43d3b Merge pull request #561 from deejaybeam/dev
fix: ignore unassigned indoor sensor
2023-03-29 11:01:50 +02:00
deejaybeam
e8fd5e2020 fix: ignore unassigned indoor sensor 2023-03-29 11:00:50 +02:00
Chris
89faeb3ec1 Merge pull request #525 from edwardtfn/patch-19
Code refactoring - Weather & Climate
2023-03-28 22:35:38 +02:00
Chris
a006af2654 Merge pull request #537 from edwardtfn/patch-21
Removing empty sequences
2023-03-28 22:34:07 +02:00
Chris
4ea23c7cf5 Merge pull request #543 from edwardtfn/patch-23
Update clock at the beginning of each minute
2023-03-28 22:33:39 +02:00
Chris
1e7ead8e46 Merge pull request #556 from deejaybeam/dev
fix: typo
2023-03-28 19:16:42 +02:00
deejaybeam
d88290474e fix: typo 2023-03-28 19:11:12 +02:00
Blackymas
75f17f0d3e fix sleep button settings page 2023-03-27 22:05:17 +02:00
Edward Firmo
8a21f88df9 Merge branch 'dev' into patch-19 2023-03-27 00:51:40 +02:00
Edward Firmo
5a01431670 Resolving merging conflicts with #541 2023-03-27 00:46:20 +02:00
Blackymas
7c90677d99 Merge pull request #544 from Blackymas/beta
v3.2.1 - new features and fixes
2023-03-26 22:28:01 +02:00
Blackymas
fe65530eb5 Merge pull request #542 from Blackymas/dev
v3.2.1 - new features and fixes
2023-03-26 22:27:33 +02:00
Edward Firmo
ecd806b1c5 Update clock at the beginning of each minute
As it is now, using `minutes: "/1"`, the time will update every minute, but that could happen when lots of seconds has passed on that minute, making possible the displayed time to be up to 59s late.
By changing that to `seconds: 0` if forces the update in the same rate, but always in the first second of a minute, keeping the displayed time always updated.
2023-03-26 22:26:55 +02:00
Chris
72e59947b6 Merge pull request #541 from deejaybeam/dev
fix: remove unneeded home.hotwater.pic
2023-03-26 21:15:33 +02:00
Chris
8869eb2f67 Merge branch 'Blackymas:dev' into dev 2023-03-26 21:14:55 +02:00
deejaybeam
c7c54261cb Merge branch 'dev' of https://github.com/deejaybeam/NSPanel_HA_Blueprint into dev 2023-03-26 21:14:25 +02:00
deejaybeam
27185ea88c fix: remove unneeded home.hotwater.pic 2023-03-26 21:14:14 +02:00
Chris
bfe2c65bfd Merge pull request #540 from deejaybeam/dev
upd: blank.tft
2023-03-26 21:10:32 +02:00
Chris
45dafc3d0d Merge branch 'Blackymas:dev' into dev 2023-03-26 21:09:41 +02:00
Blackymas
c9c31bba57 size for the Date field 2023-03-26 20:54:13 +02:00
Chris
485e5cc8d2 Merge branch 'dev' of https://github.com/deejaybeam/NSPanel_HA_Blueprint into dev 2023-03-26 19:59:44 +02:00
Chris
175c927ee8 upd: blank.tft 2023-03-26 19:59:38 +02:00
Edward Firmo
4392bf251b Fix variable name hotwater_pic_on -> hotw_bt_on
Trying to avoid merging conflict with #538
2023-03-26 17:54:06 +02:00
Edward Firmo
9616ea4c8f Merging weather01 page into the others
- All the weather pages now shares the same code, increasing standardization
- Support for other forecast parameters when supported by the integration
- Removed empty rows between the forecast parameters
2023-03-26 17:21:10 +02:00
Edward Firmo
2a9162e809 Removing empty sequences
This probably isn't an issue, but a sequence shouldn't be empty.
2023-03-26 16:11:39 +02:00
Blackymas
df976b0a90 Merge pull request #533 from Blackymas/dev
v3.2.1 - new features and fixes
2023-03-26 00:44:23 +01:00
Chris
220b5fb02b Merge pull request #532 from deejaybeam/dev
fix: remove hp-bottons on disable in blueprint
2023-03-26 00:41:11 +01:00
deejaybeam
a0a0d16af7 fix: remove hp-bottons on disable in blueprint 2023-03-26 00:40:42 +01:00
Blackymas
f97b298d00 repositioning date and time 2023-03-26 00:19:18 +01:00
Chris
6feba8a56d Merge pull request #531 from deejaybeam/dev
upd: remove unneeded link
2023-03-25 23:50:25 +01:00
deejaybeam
0ff61a2e4a upd: remove unneeded link 2023-03-25 23:49:53 +01:00
Blackymas
aee6e7bb57 repositioning date 2023-03-25 23:45:05 +01:00
Chris
602a58cc40 Merge pull request #530 from deejaybeam/dev
fix: hw-button hold display
2023-03-25 23:36:57 +01:00
Chris
5e45641687 Merge branch 'Blackymas:dev' into dev 2023-03-25 23:36:19 +01:00
deejaybeam
8b2beec50c fix: hw-button long press display 2023-03-25 23:26:44 +01:00
Blackymas
3278de673a new time format 2023-03-25 23:19:11 +01:00
Blackymas
3cf5fb3eeb new time format 2023-03-25 23:15:56 +01:00
Chris
d53a34b83f Merge pull request #529 from deejaybeam/dev
upd: reload automation triggers page refresh
2023-03-25 15:29:05 +01:00
deejaybeam
e4f0dba8fa upd: reload automation triggers page refresh 2023-03-25 15:28:08 +01:00
Chris
3ea33a6dfa Merge pull request #528 from deejaybeam/dev
upd: blueprint version 3.2.1
2023-03-25 12:42:48 +01:00
deejaybeam
6b11ffb7cf upd: bluleprint version 3.2.1 2023-03-25 12:41:54 +01:00
Chris
3047204272 Merge pull request #527 from edwardtfn/patch-20
Add support to `input_boolean` to chips
2023-03-25 12:37:56 +01:00
Chris
61af338a96 Merge pull request #522 from edwardtfn/patch-18
Fix for warning "list object has no element n"
2023-03-25 12:35:25 +01:00
Chris
729414944b Merge pull request #521 from edwardtfn/patch-17
Fix "Loading..." when selected before RGB picker
2023-03-25 12:34:29 +01:00
Chris
22dbd2814b Merge pull request #519 from bakito/patch-2
Ignore IntelliJ IDEA project directory
2023-03-25 12:34:00 +01:00
Edward Firmo
44836d1e4d Add support to input_boolean to chips
- Chips now supports `input_boolean` entities (Toggle Helpers).

This resolves #479.
2023-03-25 07:37:33 +01:00
Edward Firmo
881c50dd1f Code refactoring - Weather & Climate
Code refactoring on Weather and Climate entities/pages in order to make easier to maintain and understand.
2023-03-24 23:52:45 +01:00
Edward Firmo
ce7dfb1423 Fix for warning "list object has no element n"
Fix for the following error happening when opening climate page (and maybe other pages also):
```
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 3 -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
```
2023-03-24 18:41:41 +01:00
Edward Firmo
c45bd4057f Fix "Loading..." when selected colors before 3.2.1
- Fix for "Loading..." taking forever when a color was selected prior to the new RGB picker and was not updated.

* This is no fixing the input itself, so users still having to pick a color again with the new selector, but the panel won't get stuck on "Loading..." before the new color selection is made.
2023-03-24 11:14:15 +01:00
Marc Brugger
3401340563 Ignore IntelliJ IDEA project directory 2023-03-24 07:36:56 +01:00
Chris
7f7d496beb Merge pull request #476 from bakito/patch-1
Add Home Assistant Icon Page to blueprint
2023-03-23 22:34:38 +01:00
Chris
c7ec9f97b7 Merge pull request #510 from edwardtfn/patch-13
Support to date & time formats
2023-03-23 22:23:24 +01:00
Chris
3c58a29e73 Merge pull request #513 from edwardtfn/patch-15
Fix error related to dict not containing on/off
2023-03-23 22:04:44 +01:00
Chris
7fd5658630 Merge pull request #514 from edwardtfn/patch-16
Fix for "Error rendering data template"
2023-03-23 22:03:28 +01:00
Chris
81f6783ca1 Merge pull request #518 from deejaybeam/dev
fix: Nspanel stays on loading
2023-03-23 21:55:25 +01:00
deejaybeam
cf430fc1a8 fix: Nspanel stays on loading 2023-03-23 21:54:39 +01:00
Chris
7f6c9c696b Merge pull request #516 from deejaybeam/dev
upd: use rgb color-picker
2023-03-23 14:48:29 +01:00
deejaybeam
7580a38b4f upd: use rgb color-picker 2023-03-23 14:47:31 +01:00
Edward Firmo
14532444bc Fix for "Error rendering data template"
This fix the following error which happens when an entity with a non-numeric value ('unknown', 'unavailable', some text, etc.) is sent to the device:

```
Error: Error rendering data template: ValueError: Template error: round got invalid input 'Geen' when rendering template '{{ states(repeat.item.entity) |round(1) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") }}' but no default was specified
```
This may also implement the feature requested in #490
2023-03-23 12:50:49 +01:00
Edward Firmo
f2a424027d Fix error related to dict not containing on/off
Replace dict key names where reserved names (on/off) have been used.
2023-03-23 12:17:22 +01:00
Edward Firmo
f038eaed87 Support to date & time formats
This add the support to user selected date and time formats.
The following formats are supported now:
- Date formats:
  - EU: 22.03
  - UK: 22/03
  - US: 3/22
- Time formats:
  - EU/UK: 13:30
  - US: 1:30 AM/PM (the AM7PM info will be depending on updates on TFT file)
2023-03-23 07:01:31 +01:00
Chris
3f00773927 Merge pull request #509 from edwardtfn/patch-12
Fix for slow response with "Loading..."
2023-03-22 21:44:38 +01:00
Chris
7e63a4cb18 Merge pull request #508 from edwardtfn/patch-11
Removed incorrect instance of `- choice`
2023-03-22 21:44:21 +01:00
Chris
e6fd475947 Merge pull request #498 from edwardtfn/patch-9
Optimizing Multilingual User Interface
2023-03-22 21:44:00 +01:00
Chris
1869f8023d Merge pull request #482 from edwardtfn/patch-8
Simplifying code - Input area
2023-03-22 21:43:25 +01:00
Edward Firmo
860f5ddbba Fix for slow response with "Loading..."
- Fix the error where a missing/invalid entity causes the panel to slow down when opening a new page or keeps with "Loading..." on the screen until it timeouts.

This will probably fix #493
2023-03-22 20:28:01 +01:00
Edward Firmo
218ef94c9c Removed incorrect entry of - choice
This was probably a copy/paste mistake. ;)
2023-03-22 19:39:49 +01:00
Edward Firmo
730e0acd99 Removed multiple instances of list of days 2023-03-22 16:37:16 +01:00
Marc Brugger
c8afa129b5 remove .idea 2023-03-22 11:06:11 +01:00
Blackymas
ee0c21128d Merge pull request #502 from Blackymas/beta
Fix Notifications
2023-03-21 20:29:06 +01:00
Edward Firmo
1aed46b71f Optimizing Multilingual User Interface
- Optimizing MUI (Multilingual User Interface) code in order to make easier add new languages and to read the code. It will probably consume a bit less resources by reducing the number of `if..elif...` and by removing a bunch of `string.replace`.

- Language selection list sorted alphabetically in order to make easier to find
2023-03-21 17:52:02 +01:00
Blackymas
4e38a928fc Merge pull request #488 from Blackymas/dev
Fix Notification
2023-03-20 20:46:33 +01:00
Blackymas
d58ba87dbb Fix Notification 2023-03-20 20:45:31 +01:00
Edward Firmo
640e245cf8 Simplifying code - Input area
Used YAML alias to simplify the code in the `input:` area. This will make easier to maintain as it creates single points of changes, promoting consistence.
2023-03-20 15:23:59 +01:00
Marc Brugger
f056dace88 Add Home Assistant Icon Page and link to color converter to blueprint 2023-03-19 19:16:11 +01:00
Blackymas
3211f44770 Merge pull request #468 from Blackymas/beta
v.3.2 - New features and custom configurations
2023-03-19 13:22:58 +01:00
Blackymas
bd5b1303f2 Merge pull request #466 from Blackymas/dev
fix value 03 position
2023-03-19 13:21:21 +01:00
Blackymas
8ff0cad379 fix value 03 position 2023-03-19 13:20:54 +01:00
Blackymas
fdcd37c6d0 Merge pull request #458 from Blackymas/dev
fixes
2023-03-18 00:56:56 +01:00
Blackymas
6a464325d7 remove obsolete spaces 2023-03-18 00:50:29 +01:00
Blackymas
3af0c20670 Merge pull request #456 from Floppe/homesensor
Fix so homepage works when one of home values 01-03 is unavailable.
2023-03-18 00:37:10 +01:00
Blackymas
7ee10d4ca6 Merge pull request #445 from edwardtfn/patch-4
Fix warning on settings_entity_value
2023-03-18 00:36:17 +01:00
Blackymas
884c8d91e6 Merge pull request #457 from Blackymas/dev
changed component id boot and sleep
2023-03-17 23:18:10 +01:00
Blackymas
07b8e99b01 change component id boot and sleep 2023-03-17 23:17:16 +01:00
Blackymas
d74b70f864 change component id for repot and sleep 2023-03-17 23:13:47 +01:00
Joachim Wickman
e70fcd54eb Fix so home page works when one of home values 01-03 is unavailable.
Signed-off-by: Joachim Wickman <joachim@wickman.in>
2023-03-17 09:00:34 +02:00
Blackymas
ea5b80e3b8 Merge pull request #450 from Blackymas/dev
fixed heating button
2023-03-15 20:39:13 +01:00
Blackymas
b5cd83240f fixed heating button 2023-03-15 20:37:37 +01:00
Edward Firmo
7d241d1400 Fix warning on settings_entity_value
Fix warning message: 
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
2023-03-15 08:29:08 +01:00
Blackymas
ee2e1d53d2 Merge pull request #441 from Blackymas/dev
fix lightslider
2023-03-14 22:18:13 +01:00
Blackymas
36e0344345 fix lightslider 2023-03-14 22:17:37 +01:00
Blackymas
eb6eebfd46 Merge pull request #427 from Blackymas/dev
fix button issue
2023-03-13 00:31:25 +01:00
Blackymas
0de7850c39 fix button issue 2023-03-13 00:31:02 +01:00
Blackymas
5f1d2b9d10 Merge pull request #424 from Blackymas/dev
rdy for 3.2
2023-03-12 21:51:17 +01:00
Blackymas
0abd5531cb bug fixes 2023-03-12 21:29:41 +01:00
Blackymas
0fdcd088ec tft rdy for v3.2 2023-03-12 21:20:56 +01:00
Blackymas
29df75263b Merge pull request #395 from Blackymas/dev
lightslider jump to page change
2023-03-06 08:50:52 +01:00
Blackymas
5035b89956 lightslider jump to page change 2023-03-06 08:48:26 +01:00
Blackymas
9de5abff25 Merge pull request #394 from Blackymas/dev
new slider function for brightness, temp color, color and cover
2023-03-06 01:12:05 +01:00
Blackymas
a113e0cd43 new function slider brightness, temp, color, cover 2023-03-06 01:11:10 +01:00
Blackymas
a2f5e69b76 new slider function brightness, temp, color, cover 2023-03-06 01:09:09 +01:00
Blackymas
0e41a87659 Merge pull request #393 from Blackymas/dev
reworked code and new functions
2023-03-05 11:32:25 +01:00
Blackymas
f6a6a7adb0 chips, values, button, reworked code 2023-03-05 11:19:48 +01:00
Blackymas
8abfee7b54 chips, free value, bugs, reworked code 2023-03-05 11:18:19 +01:00
Blackymas
70038014a2 add Wifi icon and long press settings page 2023-02-26 22:42:35 +01:00
Blackymas
268c6a7e23 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-22 20:27:56 +01:00
Blackymas
133165e79e chips mapping 2023-02-22 20:27:51 +01:00
Blackymas
99f2b2815d rdy for climate 2023-02-22 20:27:13 +01:00
Blackymas
d6f0958652 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-22 01:05:09 +01:00
Blackymas
6704e320da rebuild home page done 2023-02-22 01:05:05 +01:00
Blackymas
d0d09b93a4 finish home page 2023-02-22 00:56:47 +01:00
Blackymas
155ab33086 position change 2023-02-22 00:50:07 +01:00
Blackymas
55ed836400 home button command 2023-02-22 00:44:43 +01:00
Blackymas
6ac6a25803 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-22 00:36:46 +01:00
Blackymas
26844cd290 change home Button, icons, color 2023-02-22 00:36:42 +01:00
Blackymas
7dc0f49809 change font size 2023-02-21 23:31:38 +01:00
Blackymas
71cd913135 change home button to icon font 2023-02-21 23:01:32 +01:00
Blackymas
dfa3ee901a last click variable local to global 2023-02-21 08:41:51 +01:00
Blackymas
f7131aaca0 add 7 free chips with icon - change chips 01-03 2023-02-21 01:02:28 +01:00
Blackymas
fefb1374fd Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-20 12:50:42 +01:00
Blackymas
8f5165bd1b fix trigger wrong input home_value03 2023-02-20 12:50:38 +01:00
Blackymas
94a51da6fe outdoor temp size 2023-02-20 01:51:20 +01:00
Blackymas
e422a158ca positions home page 2023-02-20 01:45:43 +01:00
Blackymas
b43d83291b Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-20 01:20:06 +01:00
Blackymas
e751938cdd 3 new values on home page with icon 2023-02-20 01:19:59 +01:00
Blackymas
b8321807dc positions home page 2023-02-20 01:15:59 +01:00
Blackymas
3a42c12c00 home page portions 2023-02-20 01:09:29 +01:00
Blackymas
d552fb458b fix default icon buttons 2023-02-20 01:03:05 +01:00
Blackymas
a7b96d8582 change icon field home page 2023-02-20 00:55:47 +01:00
Blackymas
18f188bb32 change TFT Home page 2023-02-19 23:35:34 +01:00
Blackymas
f44d3fd8d1 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-02-19 22:39:42 +01:00
Blackymas
a0b8697a4f New Button Design + Weather Icon change 2023-02-19 22:39:31 +01:00
Blackymas
de8f463968 delete dim in preinit 2023-02-17 22:53:51 +01:00
deejaybeam
6642a46a04 upd: button-pages 2023-02-17 18:06:33 +01:00
Blackymas
0b856cbb83 rebuild buttons v.1 2023-02-17 08:21:55 +01:00
Blackymas
e41c02e883 v.3.2 rebuild for change from icons to font 2023-02-15 23:11:33 +01:00
Blackymas
6f3dc4a010 rebuild HMI and TFT for Font Icon
rebuild for change from icons to font for the pages -> home page, weather01-04, buttonpage01-04
2023-02-15 23:07:25 +01:00
Blackymas
d46eecc57c Merge pull request #335 from edwardtfn/patch-3
Convert "Update TFT display" into a button
2023-02-15 22:36:53 +01:00
Blackymas
7223103905 Merge pull request #343 from Blackymas/dev
update 3.1.1
2023-02-14 16:10:28 +01:00
Edward Firmo
547338c5b1 Convert "Update TFT display" into a button
* This is a breaking change. Existing automation using the Switch version will need an update to use the button version instead.

This was originally set as a switch, but in reality it behaves as a button, as when the user click it runs an action (in this case, update the TFT display file). Switches should be used only when an entity will remain in one of the two states (on/off), which is not the case here.

This is related to #328.
2023-02-13 15:56:40 +01:00
Chris
811aca8cfa Merge pull request #334 from deejaybeam/dev
fix: apply climate-settings
2023-02-13 09:08:19 +01:00
Chris
0465a9eb8b Merge branch 'Blackymas:dev' into dev 2023-02-13 09:07:24 +01:00
Chris
45907e1ce5 fix: applying climate-settings 2023-02-13 09:05:08 +01:00
Blackymas
3ff82ef8cd change Climate Label, Climate Back, Sleep QR/Noti 2023-02-12 23:40:48 +01:00
Chris
5f6cc373fe Merge pull request #330 from deejaybeam/dev
upd: use new tft multi-climate
2023-02-12 12:24:10 +01:00
deejaybeam
4801f6c6b9 upd: use new tft multi-climate 2023-02-12 12:23:41 +01:00
Blackymas
02b4f6e178 Notification and QR code wake up after sleep 2023-02-12 11:45:57 +01:00
Blackymas
b0161d41f8 new fields climate page 2023-02-12 11:36:16 +01:00
Chris
d1702ccacf Merge pull request #327 from edwardtfn/patch-2
Fix default language input
2023-02-11 21:59:19 +01:00
Edward Firmo
281be927a7 Fix default language input
Fix default language so it can be used when no selection is done (like when upgrading from earlier version when language input was not available).
2023-02-11 20:53:16 +01:00
Chris
c352047991 Merge pull request #325 from deejaybeam/dev
upd: open climate on short_press too
2023-02-11 19:03:02 +01:00
deejaybeam
c058fd4fb1 upd: open climate on short_press too 2023-02-11 19:02:19 +01:00
Chris
e4e5cb0f51 Merge pull request #324 from deejaybeam/dev
upd: multi-climate
2023-02-11 18:33:21 +01:00
deejaybeam
da611e384a upd: multi-climate 2023-02-11 18:28:41 +01:00
Chris
5292bbff8b Merge pull request #321 from deejaybeam/dev
upd: prep for release 3.1.1
2023-02-10 20:58:29 +01:00
deejaybeam
a22311c4e8 upd: prep for release 3.1.1 2023-02-10 20:56:14 +01:00
Chris
0d250fb56b Merge pull request #315 from deejaybeam/dev
fixes in blueprint
2023-02-08 22:27:25 +01:00
deejaybeam
5ba5d2fb08 fix: issue on ha-restart 2023-02-08 22:24:17 +01:00
deejaybeam
51170c514d fix: ignore unassigned hw-buttons 2023-02-07 19:33:02 +01:00
Blackymas
53cf4f1371 Merge pull request #298 from Blackymas/beta
v.3.1.0 - New features and US Version
2023-02-05 11:55:37 +01:00
Blackymas
6ab6892f5b Merge pull request #297 from Blackymas/dev
rdy for Release
2023-02-05 11:53:52 +01:00
Blackymas
a38948ad2f US Version dry 2023-02-05 11:52:55 +01:00
Blackymas
0f56e859db tft dry for stable 2023-02-04 00:55:43 +01:00
Blackymas
365f863fc2 Add files via upload 2023-02-04 00:47:58 +01:00
Blackymas
cf2e648a21 old TFT and hmi shifted 2023-02-04 00:46:56 +01:00
Chris
b7c077faad Merge pull request #295 from deejaybeam/dev
upd: change entity icon description
2023-02-03 22:09:49 +01:00
deejaybeam
44d65c3cd7 upd: change entity icon description 2023-02-03 22:08:46 +01:00
Chris
069cece05e Merge pull request #289 from deejaybeam/dev
upd: hw-button hold
2023-02-02 17:53:25 +01:00
deejaybeam
276524686a upd: hw-button hold 2023-02-02 17:52:41 +01:00
Chris
a46b3ad20b Merge pull request #284 from deejaybeam/dev
fix: unavailable entity
2023-02-01 21:49:14 +01:00
deejaybeam
295096a9d7 fix: unavailable entity 2023-02-01 21:48:26 +01:00
Chris
0c6b994161 Merge pull request #283 from deejaybeam/dev
fix: new tft ids
2023-02-01 21:15:07 +01:00
deejaybeam
63e1ab4947 fix: new tft ids 2023-02-01 21:14:27 +01:00
Chris
9ec2bac284 Merge pull request #282 from deejaybeam/dev
upd: HW-buttons hold
2023-02-01 21:08:40 +01:00
Chris
6fdbec1486 Merge branch 'Blackymas:dev' into dev 2023-02-01 21:08:03 +01:00
deejaybeam
f11215c097 upd: HW-buttons hold 2023-02-01 21:07:00 +01:00
Blackymas
7ec5bb6a04 Add files via upload 2023-02-01 20:52:32 +01:00
Blackymas
aae9bd8d8a Add files via upload 2023-02-01 20:36:37 +01:00
Chris
cdf980ee8f Merge pull request #279 from deejaybeam/dev
upd: remove global variable touchevent
2023-02-01 19:22:56 +01:00
deejaybeam
7b23050791 upd: remove global variable touchevent 2023-02-01 19:20:37 +01:00
Chris
faaa698e46 Merge pull request #278 from deejaybeam/dev
fix: exclude screensaver
2023-02-01 18:54:02 +01:00
deejaybeam
4b5c10a68e fix: exclude screensaver 2023-02-01 18:52:33 +01:00
Blackymas
b00720d465 touchevent 2023-01-31 21:43:34 +01:00
Blackymas
c4cf3049b2 chnage default delay to 1 2023-01-31 21:15:04 +01:00
Blackymas
f7e76bdbd8 dry for home timer es-home 2023-01-31 21:10:02 +01:00
Blackymas
4294fb39b2 Add files via upload 2023-01-31 00:05:05 +01:00
Blackymas
eb2f810161 Add files via upload 2023-01-30 23:51:05 +01:00
Blackymas
17e11063e3 Add files via upload 2023-01-30 23:45:21 +01:00
Blackymas
70e2f724f7 Add files via upload 2023-01-30 23:37:01 +01:00
Blackymas
f3787c812a Add files via upload 2023-01-30 23:31:50 +01:00
Blackymas
a056a13f0b Add files via upload 2023-01-30 23:28:34 +01:00
Blackymas
13d5b7a1d2 Add files via upload 2023-01-30 23:21:17 +01:00
Blackymas
2c8a45153b Add files via upload 2023-01-30 23:03:46 +01:00
Blackymas
be12633af1 Add files via upload 2023-01-30 22:02:00 +01:00
Blackymas
81e4149b11 delete home timer 2023-01-30 21:56:58 +01:00
Blackymas
4b98f4a80a Add files via upload 2023-01-30 21:08:54 +01:00
Chris
d83f37962d Merge pull request #272 from deejaybeam/dev
upd: page-timer esphome
2023-01-30 18:03:26 +01:00
Chris
33b0d0674a Merge branch 'Blackymas:dev' into dev 2023-01-30 18:02:39 +01:00
Chris
b7f2c18c85 upd: page-timer esphome 2023-01-30 18:01:42 +01:00
Blackymas
cda0e0c1d6 Add files via upload 2023-01-30 17:51:30 +01:00
Blackymas
42eb9b5d71 Add files via upload 2023-01-30 17:01:38 +01:00
Blackymas
35be40fb93 change txt_max Page label to 30 2023-01-30 11:09:31 +01:00
Blackymas
1d5c40d7a8 change lastclick 2023-01-30 11:01:23 +01:00
Blackymas
c1ea2e1810 Merge pull request #270 from Blackymas/Blackymas-patch-1
Blackymas test sponsor
2023-01-30 01:11:59 +01:00
Blackymas
f9562d495a Create FUNDING.yml 2023-01-30 01:11:25 +01:00
Blackymas
58ad89ee4e wrong entities_entity27 2023-01-29 23:27:28 +01:00
Blackymas
b4a0800929 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-01-29 21:38:19 +01:00
Blackymas
e27c92ef0e change delay to 0 2023-01-29 21:38:14 +01:00
Blackymas
936c152ca6 entity card and home icon 2023-01-29 21:35:25 +01:00
Blackymas
fadd725662 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-01-29 21:12:51 +01:00
Blackymas
ab5d30d0ce wrong entity icon, UKR trans., version to 3.1.0 2023-01-29 21:12:47 +01:00
Blackymas
12ecc30e1f Add files via upload 2023-01-29 12:13:02 +01:00
Blackymas
985cf69f0b change home entity icon mapping 2023-01-29 12:11:27 +01:00
Chris
ffa9deaf54 Merge pull request #264 from deejaybeam/dev
upd: instant update of home-buttons
2023-01-28 15:07:11 +01:00
deejaybeam
8613208b5f upd: instant update of home-buttons 2023-01-28 14:07:20 +01:00
Chris
7b1bbb704a Merge pull request #261 from deejaybeam/dev
upd: entities
2023-01-28 00:59:44 +01:00
Chris
5acbdef022 upd: entities 2023-01-28 00:58:59 +01:00
Blackymas
96f855e930 entitycards dry 2023-01-25 23:46:25 +01:00
Blackymas
c504ade7d4 Add files via upload 2023-01-25 23:42:38 +01:00
Blackymas
5941b6dab4 Add files via upload 2023-01-25 23:37:37 +01:00
Blackymas
33416b498c Add files via upload 2023-01-25 23:11:53 +01:00
Chris
beb8941c80 Merge pull request #250 from deejaybeam/dev
small changes
2023-01-25 22:05:44 +01:00
Chris
33d8487adf Merge branch 'Blackymas:dev' into dev 2023-01-25 22:02:49 +01:00
deejaybeam
cb5e9a2afe upd: add delay on boot 2023-01-25 22:00:38 +01:00
Blackymas
802a089c16 Add files via upload 2023-01-25 21:50:50 +01:00
deejaybeam
edad480e4f internal temperature sensor change upd_interval 2023-01-25 21:42:14 +01:00
Blackymas
6181cbca97 change to entitypage01 2023-01-25 09:56:30 +01:00
Blackymas
572fb9e934 Add files via upload 2023-01-25 00:10:38 +01:00
Blackymas
52dabed6ee Add files via upload 2023-01-24 23:13:36 +01:00
Blackymas
d12d8fbd86 Add files via upload 2023-01-24 23:00:59 +01:00
Chris
b0d57e63e3 Merge pull request #240 from deejaybeam/dev
upd: trigger on automation-reload
2023-01-24 16:37:50 +01:00
Chris
baf3ff4e95 Merge branch 'dev' of https://github.com/deejaybeam/NSPanel_HA_Blueprint into dev 2023-01-24 16:34:03 +01:00
Chris
c061c0bae1 upd: trigger on automation-reload 2023-01-24 16:33:56 +01:00
Chris
797c7d1a32 Merge pull request #239 from deejaybeam/dev
upd: set boot-infos
2023-01-24 13:28:08 +01:00
Chris
b1b63b11cd upd: set boot-infos 2023-01-24 13:26:37 +01:00
Chris
2ac8305eff Merge pull request #233 from deejaybeam/dev
QR-code, local fallback
2023-01-24 01:08:38 +01:00
deejaybeam
eb9d9e0f1e upd: set local fallback via blueprint 2023-01-24 01:05:09 +01:00
deejaybeam
9a1b447087 upd: change qr-code-call 2023-01-24 00:21:12 +01:00
Chris
7fb8480138 Merge pull request #231 from danwright87/dev
Update nspanel_esphome.yaml
2023-01-23 22:39:25 +01:00
danwright87
ad26272524 Update nspanel_esphome.yaml
Add relay local fallback
2023-01-23 21:16:23 +00:00
Blackymas
147cf0f497 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-01-23 00:14:04 +01:00
Blackymas
fa08f6b54a QR Code rdy 2023-01-23 00:14:00 +01:00
Blackymas
0f2d5fbd29 qr code 2023-01-22 23:38:28 +01:00
Blackymas
d645f4c02e Add files via upload 2023-01-22 16:34:55 +01:00
Blackymas
f0af3f1562 add blueprint jump qrcode page 2023-01-22 16:33:39 +01:00
Blackymas
b78699c9d5 add qrcode service 2023-01-22 16:22:33 +01:00
Blackymas
c3f2ddd499 Add files via upload 2023-01-22 01:04:57 +01:00
Blackymas
6f962ebfd0 test icon font 2023-01-22 00:40:43 +01:00
Blackymas
7f768ced45 fix entity card current page 2023-01-22 00:15:53 +01:00
Chris
37e287d253 Merge pull request #207 from X-Ryl669/dev
Simplify and remove useless code in ESP32
2023-01-21 23:19:32 +01:00
X-Ryl669
298e67a29d Fix build issue since std namespace is missing
Also fix some spelling mistakes
2023-01-21 11:58:10 +01:00
X-Ryl669
f1af69581e Remove useless test
Faster boot up by removing one useless line in UART communication
2023-01-20 14:49:13 +01:00
X-Ryl669
351b84ad96 Simplify the left/mid/right compute chain. 2023-01-20 14:46:42 +01:00
Blackymas
e050bce77e Update README.md 2023-01-19 23:56:11 +01:00
Blackymas
01de27059d first entity card page rdy 2023-01-19 23:52:25 +01:00
Blackymas
7407a2841b test design entity 2023-01-19 22:37:53 +01:00
Blackymas
2f1a947cfc test design entity 2023-01-19 22:03:06 +01:00
Blackymas
f26e5e33cc test design Entity Card 2023-01-19 21:58:44 +01:00
Blackymas
5a040cbd8e test design Entity Card 2023-01-19 21:56:53 +01:00
Blackymas
d2c383ef82 Merge pull request #199 from Blackymas/beta
change tft baud to bauds
2023-01-19 08:55:46 +01:00
Blackymas
ffc89d07e9 Merge pull request #198 from Blackymas/dev
change tft baud to bauds
2023-01-19 08:54:51 +01:00
Blackymas
2bae66f6fe new blank aft - baud -> bauds 2023-01-19 08:54:03 +01:00
Blackymas
09aaabf4c5 rdy new blank tft 2023-01-19 08:52:55 +01:00
Blackymas
5de8c739f8 change baud to bauds 2023-01-19 08:50:44 +01:00
Blackymas
1220715e9b Merge pull request #195 from Blackymas/beta
Update Readme
2023-01-16 22:40:02 +01:00
Blackymas
8cb194b3b9 Merge pull request #194 from Blackymas/dev
Update README.md
2023-01-16 22:39:15 +01:00
Blackymas
dd4f6c3b9e Update README.md 2023-01-16 22:35:18 +01:00
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
Blackymas
387376a36b Merge pull request #96 from Blackymas/beta
v.2.1.0 - add new Domains, Buttons and Button Page Label
2022-12-10 22:46:13 +01:00
Blackymas
4c53f18d5b Add files via upload 2022-12-10 22:43:35 +01:00
Blackymas
919a4fe707 Update README.md 2022-12-10 22:42:54 +01:00
Blackymas
d30557a3a6 Update README.md 2022-12-10 22:41:17 +01:00
Blackymas
bc453a917f Merge pull request #93 from Blackymas/dev
New Domains, Icons and Button Page Label
2022-12-10 22:37:53 +01:00
Blackymas
e0a1117a4a Add files via upload 2022-12-10 22:33:15 +01:00
Blackymas
62a73ad255 Update README.md 2022-12-10 22:31:17 +01:00
Blackymas
55de07ecde Update README.md 2022-12-10 22:30:42 +01:00
Blackymas
c60aca7e54 change some button pics 2022-12-10 22:27:40 +01:00
Blackymas
d8cf4fbd2b Update README.md 2022-12-10 21:33:08 +01:00
Blackymas
795260ccaf Merge pull request #90 from chpego/patch-1
fix some typo
2022-12-10 21:27:26 +01:00
chpego
5d1ab726ae fix some typo
on README file
2022-12-10 06:32:55 +00:00
Chris
c3b4eb8a87 Merge pull request #89 from deejaybeam/dev
upd: add page-labels
2022-12-10 01:32:28 +01:00
deejaybeam
46582e3010 upd: add page-labels 2022-12-10 01:31:42 +01:00
Chris
592200e7d6 Merge pull request #88 from deejaybeam/dev
upd: additional domains for buttons
2022-12-10 00:40:50 +01:00
deejaybeam
dcd60b8cc4 upd: assign correct pics for new domains 2022-12-10 00:38:30 +01:00
Chris
a63c4f1412 Merge branch 'Blackymas:dev' into dev 2022-12-09 23:12:07 +01:00
Blackymas
b1579c7ea9 new button page label and domains 2022-12-09 21:25:27 +01:00
Blackymas
f5b9b1714a new version for new domains and button page label 2022-12-09 21:22:41 +01:00
deejaybeam
95ad152139 upd: additonal domains for buttons 2022-12-09 18:45:02 +01:00
Blackymas
fbc35f697f fix issues with HW buttons 2022-12-09 08:34:22 +01:00
Blackymas
8513dd20a8 Merge pull request #86 from Blackymas/beta
button label 25 fix
2022-12-06 16:41:04 +01:00
Blackymas
97a728d7ab Merge pull request #85 from Blackymas/dev
button label 25 fix
2022-12-06 16:40:36 +01:00
Blackymas
86efacc40b button label 25 fix 2022-12-06 16:39:57 +01:00
Blackymas
e2944af7e7 Merge pull request #84 from Blackymas/beta
change blueprint description
2022-12-06 10:24:20 +01:00
Blackymas
9f5acb35ba Merge pull request #83 from Blackymas/dev
change blueprint description
2022-12-06 10:23:48 +01:00
Blackymas
5d6c64943c Update README.md 2022-12-06 10:22:17 +01:00
Blackymas
32c4ccbbef Update README.md 2022-12-06 10:21:35 +01:00
Blackymas
47ac25b446 change description 2022-12-06 10:20:44 +01:00
Blackymas
5804383c2b Merge pull request #82 from Blackymas/beta
change blueprint yaml name
2022-12-06 09:23:44 +01:00
Blackymas
4efeb2d937 Merge pull request #81 from Blackymas/dev
change blueprint yaml name
2022-12-06 09:23:00 +01:00
Blackymas
a19f35262f change blueprint yaml name 2022-12-06 09:22:15 +01:00
18 changed files with 8702 additions and 4912 deletions

13
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
# Ignore IntelliJ IDEA project directory
.idea

View File

@@ -1,10 +1,12 @@
# NSPanel Custom with HA Blueprint
*You use our NSPanel version and are satisfied with it? Then we would be very happy about a donation to support our project.*
[![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)
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.
@@ -14,17 +16,24 @@ 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).
🚀 How to create "Issues" when I have a problem [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/Welcome-to-the-NSPanel_HA_Blueprint-WIKI)
📌 Step by Step - [Setup and Overview Video´s](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)
💥 Please move pull request to DEV branch and not to main branch - thanks!
🙋 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:
![2 Home](https://user-images.githubusercontent.com/41958506/203653897-cf96a7af-2b92-4ad9-a375-987decad5aa7.png)
![2 Home](https://user-images.githubusercontent.com/41958506/212768891-9610d800-43c5-454f-a8b6-6b7c43677b5d.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)
@@ -44,7 +53,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
![8 Cover](https://user-images.githubusercontent.com/41958506/203654290-c6ec2f2f-7924-492c-914c-0d96dc3907e0.png)
![9 Weather](https://user-images.githubusercontent.com/41958506/203654307-24000d00-b7e1-47eb-bd64-9e97b508db52.png)
(Coversetting and Weather Forcast)
(Coversetting and Weather Forecast)
![10 Settings](https://user-images.githubusercontent.com/41958506/203654386-e4e574ad-8674-4268-84dd-1c4e40f98eb9.png)
@@ -57,7 +66,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
![Device Setting 2](https://user-images.githubusercontent.com/41958506/203724491-53ecd93d-bc7c-4c2d-850b-f106691e2639.png)
(HA Device Seeting for Example temperature correction)
(HA Device Setting for Example temperature correction)
## Blueprint:
@@ -67,28 +76,28 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
## Features:
- easy to use and simple configuration via Blueprint - no change in the code is necessary
- Easy to use and simple configuration via Blueprint - no change in the code is necessary
- 32 buttons on 4 button pages with long press function for settings (more buttons are also possible)
- Button design is automatically generated based on the selected entity
- Buttons show current brightness and cover position in the button itself
- Buttons label can be assigned via blueprint
- Weather + 5 days weather forcast
- Weather + 5 days weather forecast
- Thermostat + Touch + Relay control for floor heating
- Light control (brightness-slider, colorwheel, TempColor-slider) - via Long Press
- Light control (brightness-slider, colorwheel, TempColor-slider) - via long Press
- Cover control (open, close, position-slider) - via long press
- Settings page (display brightness, display dim brightness, auto-dim, sleep mode, reboot NSPanel)
- Swipe between pages
- Top menu with 10 icons for specific states
- Heating control (hot water)
- modern design - design easy to change via Adobe Express (free + design template)
- 2 pysical switches
- Modern design - design easy to change via Adobe Express (free + design template)
- 2 physical switches
- and much more ;)
# Pages
## Home
- current weather with button to Weather Forcast page
- Current weather with button to Weather Forcast page
- Hardware buttons can be freely assigned
- Hardware button label or without label
- Blue line indicates on or off of the entity
@@ -135,8 +144,8 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
- Hot water button
## Weather Forcast
- 5 days Weather Forcast via swipe (Integration Accuweather - but should also go with another integration)
## Weather Forecast
- 5 days Weather Forecast via swipe (Integration Accuweather - but should also go with another integration)
- Lowest and highest temperature outside
- Date
- Rain probability

Binary file not shown.

Binary file not shown.

Binary file not shown.

8311
nspanel_blueprint.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@
##### ADVANCED CONFIGURATION - activate only when you know what you do ##############################
# substitutions:
# substitutions:
# ## 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.
@@ -36,7 +36,7 @@ wifi:
ssid: ${wifi_ssid}
password: ${wifi_password}
power_save_mode: none
##### advanced config - uncomment to use static IP-Config #####
##### advanced config - uncomment to use static IP-Config #####
# manual_ip:
# static_ip: ${ip}
# gateway: ${gw}
@@ -49,15 +49,19 @@ wifi:
password: ${wifi_password}
##### Functionality for the Nextion display #####
external_components:
- source: github://pr#2956
components: [nextion]
refresh: 1h
# external_components:
# - source: github://pr#2956
# components: [nextion]
# refresh: 1h
##### ESPHOME CONFIGURATION #####
esphome:
name: ${device_name}
min_version: 2022.10.2
on_boot:
priority: 601
then:
- lambda: id(disp1).send_command_printf("DRAKJHSUYDGBNCJHGJKSHBDN");
##### TYPE OF ESP BOARD #####
esp32:
@@ -70,13 +74,13 @@ web_server:
auth:
username: admin
password: ${wifi_password}
##### advanced config - change to use web_password #####
##### advanced config - change to use web_password #####
# password: ${web_password}
##### OTA PASSWORD #####
ota:
password: ${wifi_password}
##### advanced config - change to use ota_password #####
##### advanced config - change to use ota_password #####
# password: ${ota_password}
safe_mode: true
reboot_timeout: 3min
@@ -107,16 +111,26 @@ uart:
baud_rate: 115200
id: tf_uart
###### REBOOT BUTTON #####
##### START - BUTTON CONFIGURATION #####
button:
###### REBOOT BUTTON #####
- platform: restart
name: ${device_name} Restart
id: restart_nspanel
##### UPDATE TFT DISPLAY #####
- platform: template
name: ${device_name} Update TFT display
icon: mdi:file-sync
id: tft_update
entity_category: config
on_press:
- delay: 16ms
- lambda: id(disp1).upload_tft();
##### START - API CONFIGURATION #####
api:
##### advanced config - activate to use api_password #####
##### advanced config - activate to use api_password #####
# password: ${api_password}
services:
@@ -124,7 +138,15 @@ 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
variables:
@@ -153,7 +175,7 @@ api:
- lambda: 'id(disp1).set_component_value(component.c_str(), message);'
##### Service to send a command "hide componente" directly to the display #####
- service: send_command_hide
- service: send_command_hide ### unused ###
variables:
component: string
then:
@@ -162,7 +184,7 @@ api:
- lambda: 'id(disp1).hide_component(component.c_str());'
##### Service to send a command "show componente" directly to the display #####
- service: send_command_show
- service: send_command_show ### unused ###
variables:
component: string
then:
@@ -170,6 +192,13 @@ api:
switch.is_on: nextion_init
- lambda: 'id(disp1).show_component(component.c_str());'
##### Service to send a command "show ALL componente" directly to the display #####
- service: send_command_show_all ### unused ###
then:
- wait_until:
switch.is_on: nextion_init
- lambda: 'id(disp1).show_component("255");'
##### Service to send a command "font color" directly to the display #####
- service: send_command_font_color
variables:
@@ -179,6 +208,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 +219,67 @@ 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 set entity-information for settings-page(s)
- service: set_settings_entity
variables:
entity: string
then:
- wait_until:
switch.is_on: nextion_init
- lambda: |-
id(settings_entity).publish_state(entity.c_str());
##### 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 show a QR code on the display (ex. for WiFi password)
- service: qr_code
variables:
qrdata: string
then:
- wait_until:
switch.is_on: nextion_init
- lambda: |-
id(disp1).send_command_printf("page qrcode");
id(disp1).set_component_text_printf("qrcode.qrcode_value", "%s", qrdata.c_str());
#### Service to send thermostat cycle state ####
- service: send_thermostat_cycle_state
variables:
@@ -198,126 +289,12 @@ api:
switch.is_on: nextion_init
- lambda: |-
//ESP_LOGD("nextion", "thermostat sendig value %f", value);
int left=16; // 16 is empty left.
int mid=17; // 17 is empty mid.
int right=18; // 18 is empty right.
if (value < 13.5) {
left=16;
mid=17;
right=18;
} else if (value >= 13.5 and value < 14) {
left=19;
mid=17;
right=18;
} else if (value >= 14 and value < 14.5) {
left=20;
mid=17;
right=18;
} else if (value >= 14.5 and value < 15) {
left=21;
mid=17;
right=18;
} else if (value >= 15 and value < 15.5) {
left=22;
mid=17;
right=18;
} else if (value >= 15.5 and value < 16) {
left=23;
mid=17;
right=18;
} else if (value >= 16 and value < 16.5) {
left=24;
mid=17;
right=18;
} else if (value >= 16.5 and value < 17) {
left=25;
mid=17;
right=18;
} else if (value >= 17 and value < 17.5) {
left=26;
mid=17;
right=18;
} else if (value >= 17.5 and value < 18) {
left=27;
mid=17;
right=18;
} else if (value >= 18 and value < 18.5) {
left=28;
mid=17;
right=18;
} else if (value >= 18.5 and value < 19) {
left=29;
mid=30;
right=18;
} else if (value >= 19 and value < 19.5) {
left=29;
mid=31;
right=18;
} else if (value >= 19.5 and value < 20) {
left=29;
mid=32;
right=18;
} else if (value >= 20 and value < 20.5) {
left=29;
mid=33;
right=18;
} else if (value >= 20.5 and value < 21) {
left=29;
mid=34;
right=18;
} else if (value >= 21 and value < 21.5) {
left=29;
mid=35;
right=18;
} else if (value >= 21.5 and value < 22) {
left=29;
mid=36;
right=18;
} else if (value >= 22 and value < 22.5) {
left=29;
mid=37;
right=38;
} else if (value >= 22.5 and value < 23) {
left=29;
mid=37;
right=39;
} else if (value >= 23 and value < 23.5) {
left=29;
mid=37;
right=40;
} else if (value >= 23.5 and value < 24) {
left=29;
mid=37;
right=41;
} else if (value >= 24 and value < 24.5) {
left=29;
mid=37;
right=42;
} else if (value >= 24.5 and value < 25) {
left=29;
mid=37;
right=43;
} else if (value >= 25 and value < 25.5) {
left=29;
mid=37;
right=44;
} else if (value >= 25.5 and value < 26) {
left=29;
mid=37;
right=45;
} else if (value >= 26 and value < 26.5) {
left=29;
mid=37;
right=46;
} else if (value >= 26.5 and value < 27) {
left=29;
mid=37;
right=47;
} else if (value >= 27) {
left=29;
mid=37;
right=48;
}
int v = int(2 * std::min(std::max(value - 13.5, 0.0), 5.0));
int left = v + (v ? 19 : 16); // 16 is empty left.
v = int(2 * std::min(std::max(value - 18.0, 0.0), 4.0));
int mid = v + (v ? 29 : 17); // 17 is empty mid.
v = int(2 * std::min(std::max(value - 21.5, 0.0), 5.5));
int right = v + (v ? 37 : 18); // 18 is empty right.
// sends the 3 images to the display
//ESP_LOGD("nextion", "thermostat left %i", left);
//ESP_LOGD("nextion", "thermostat mid %i", mid);
@@ -329,6 +306,41 @@ api:
id(disp1).set_component_text_printf("target_temp", "%.1f°", value);
id(display_target_temp).publish_state(value);
#### Service to set the buttons ####
- service: set_button
variables:
btn_id: string
btn_pic: int
btn_bg: int
btn_icon_font: int
btn_txt_font: int
btn_bri_font: int
btn_icon: string
btn_label: string
btn_bri_txt: string
then:
- wait_until:
switch.is_on: nextion_init
- lambda: |-
// ESP_LOGD("nextion", "set button %s", btn_id.c_str());
std::string btnicon = btn_id.c_str() + std::string("icon");
std::string btntext = btn_id.c_str() + std::string("text");
std::string btnbri = btn_id.c_str() + std::string("bri");
id(disp1).send_command_printf("%spic.pic=%i", btn_id.c_str(), btn_pic);
id(disp1).set_component_background_color(btnicon.c_str(), btn_bg);
id(disp1).set_component_background_color(btntext.c_str(), btn_bg);
id(disp1).set_component_background_color(btnbri.c_str(), btn_bg);
id(disp1).set_component_font_color(btnicon.c_str(), btn_icon_font);
id(disp1).set_component_font_color(btntext.c_str(), btn_txt_font);
id(disp1).set_component_font_color(btnbri.c_str(), btn_bri_font);
id(disp1).set_component_text_printf(btnicon.c_str(), "%s", btn_icon.c_str());
id(disp1).set_component_text_printf(btntext.c_str(), "%s", btn_label.c_str());
// id(disp1).set_component_text_printf(btnbri.c_str(), "%s", btn_bri_txt.c_str());
if (strcmp(btn_bri_txt.c_str(), "0") != 0) {
id(disp1).set_component_text_printf(btnbri.c_str(), "%s", btn_bri_txt.c_str());
} else {
id(disp1).set_component_text_printf(btnbri.c_str(), " ");
}
##### START - GLOBALS CONFIGURATION #####
globals:
@@ -381,7 +393,7 @@ globals:
restore_value: no
initial_value: ''
##### lastclick_ccurrentpage State #####
##### lastclick_currentpage State #####
- id: currentpage_global
type: std::string
restore_value: no
@@ -393,22 +405,84 @@ binary_sensor:
###### LEFT BUTTON BELOW DISPLAY TO TOGGLE RELAY#####
- platform: gpio
name: ${device_name} Left Button
id: left_button
pin:
number: 14
inverted: true
on_click:
then:
- if:
condition:
and:
- switch.is_on: relay1_fallback
- not:
api.connected:
then:
- switch.toggle: relay_1
- if:
condition:
switch.is_on: relay_1
then:
- lambda: id(disp1).send_command_printf("home.left_bt_pic.pic=78");
- lambda: id(disp1).send_command_printf("home.icon_top_01","\U0000E3A5");
else:
- lambda: id(disp1).send_command_printf("home.left_bt_pic.pic=77");
- lambda: id(disp1).send_command_printf("home.icon_top_01","\U0000FFFF");
##### RIGHT BUTTON BELOW DISPLAY TO TOGGLE RELAY #####
- platform: gpio
name: ${device_name} Right Button
id: right_button
pin:
number: 27
inverted: true
on_click:
then:
- if:
condition:
and:
- switch.is_on: relay2_fallback
- not:
api.connected:
then:
- switch.toggle: relay_2
- if:
condition:
switch.is_on: relay_2
then:
- lambda: id(disp1).send_command_printf("home.right_bt_pic.pic=78");
- lambda: id(disp1).send_command_printf("home.icon_top_02","\U0000E3A8");
else:
- lambda: id(disp1).send_command_printf("home.right_bt_pic.pic=77");
- lambda: id(disp1).send_command_printf("home.icon_top_02","\U0000FFFF");
##### Restart NSPanel Button #####
##### JUMP PAGE TO SETTING PAGE #####
- platform: nextion
name: $device_name setting page
page_id: 0
component_id: 52
internal: true
on_multi_click:
- timing:
- ON for at least 1s #LONG Press
then:
- lambda: 'id(disp1).send_command_printf("page settings");'
##### Restart NSPanel Button - Setting Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 7
component_id: 9
component_id: 13
internal: true
on_click:
- button.press: restart_nspanel
##### Restart NSPanel Button - Boot Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 8
component_id: 4
internal: true
on_click:
- button.press: restart_nspanel
@@ -417,7 +491,7 @@ binary_sensor:
- platform: nextion
name: ${device_name} Sleep Modus
page_id: 7
component_id: 4
component_id: 14
internal: true
on_click:
- switch.toggle: sleep_modus
@@ -446,22 +520,30 @@ sensor:
- platform: wifi_signal
name: ${device_name} RSSI
update_interval: 60s
on_value:
- if:
condition:
wifi.connected:
then:
- lambda: id(disp1).set_component_text_printf("home.wifi_icon", "%s", "\U0000E5A8");
else:
- lambda: id(disp1).set_component_text_printf("home.wifi_icon", "%s", "\U0000FFFF");
##### INTERNAL TEMPERATUE SENSOR, ADC VALUE #####
##### INTERNAL TEMPERATURE SENSOR, ADC VALUE #####
- platform: adc
id: ntc_source
pin: 38
update_interval: 10s
update_interval: 60s
attenuation: 11db
##### INTERNAL TEMPERATUE SENSOR, adc reading converted to resistance (calculation)#####
##### INTERNAL TEMPERATURE SENSOR, adc reading converted to resistance (calculation)#####
- platform: resistance
id: resistance_sensor
sensor: ntc_source
configuration: DOWNSTREAM
resistor: 11.2kOhm
##### INTERNAL TEMPERATUE SENSOR, resistance to temperature (calculation) #####
##### INTERNAL TEMPERATURE SENSOR, resistance to temperature (calculation) #####
- platform: ntc
name: ${device_name} Temperature
id: temp_nspanel
@@ -472,12 +554,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
@@ -499,7 +581,7 @@ sensor:
- number.set:
id: display_brightness
value: !lambda 'return int(x);'
# send text field percentage of current_lightslider_val
# send text field percentage of current_lightslider_val
- lambda: id(disp1).set_component_text_printf("settings.a03", "%i", id(display_brightness_global));
###### Display DIM Brightness GET VALUE FROM NSPanel SLIDER #####
@@ -515,7 +597,7 @@ sensor:
- number.set:
id: display_dim_brightness
value: !lambda 'return int(x);'
# send text field percentage of current_lightslider_val
# send text field percentage of current_lightslider_val
- lambda: id(disp1).set_component_text_printf("settings.a04", "%i", id(display_dim_brightness_global));
###### Send current page to HA
@@ -542,6 +624,7 @@ text_sensor:
ip_address:
name: ${device_name} IP
disabled_by_default: true
id: ip_address
ssid:
name: ${device_name} SSID
disabled_by_default: true
@@ -549,6 +632,18 @@ 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
- platform: template
name: ${device_name} Settings Entity
id: settings_entity
##### last click sensor, the main action variable - push to HA #####
- platform: nextion
nextion_id: disp1
@@ -569,7 +664,9 @@ text_sensor:
- globals.set:
id: lastclick_general_global
value: !lambda return x;
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### last click lightsettings page, the main action variable - push to HA #####
- platform: nextion
nextion_id: disp1
@@ -590,6 +687,8 @@ text_sensor:
- globals.set:
id: lastclick_lightsettings_global
value: !lambda return x;
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### last click coversettings page, the main action variable - push to HA #####
- platform: nextion
@@ -611,6 +710,8 @@ text_sensor:
- globals.set:
id: lastclick_coversettings_global
value: !lambda return x;
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### last click climate page, the main action variable - push to HA #####
- platform: nextion
@@ -632,6 +733,8 @@ text_sensor:
- globals.set:
id: lastclick_climatesettings_global
value: !lambda return x;
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### currentpage sensor, the main action variable - push to HA #####
- platform: nextion
@@ -653,9 +756,35 @@ text_sensor:
- globals.set:
id: currentpage_global
value: !lambda return x;
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### START - SWITCH CONFIGURATION #####
##### touchevent sensor, Reset the page timeout #####
- platform: nextion
nextion_id: disp1
#name: ${device_name} touchevent
id: disp1_touchevent
update_interval: 50ms
component_name: touchevent
internal: true
filters:
- lambda: |-
static std::string touchevent_history = "";
if (strcmp(x.c_str(), touchevent_history.c_str()) != 0) {
touchevent_history = x;
return x;
// touchevent_history = "";
} else {
return {};
}
on_value:
then:
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### START - SWITCH CONFIGURATION #####
switch:
# ##### Restart switch ######
@@ -675,15 +804,29 @@ switch:
assumed_state: off
optimistic: true
##### UPDATE TFT DISPLAY #####
##### Notification unread #####
- platform: template
name: Update TFT display
id: tft_update
name: ${device_name} Notification unread
id: notification_unread
entity_category: config
turn_on_action:
- delay: 16ms
- lambda: id(disp1).upload_tft();
- switch.turn_off: tft_update
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
##### PHYSICAL SWITCH 1 #####
- platform: gpio
@@ -698,7 +841,7 @@ switch:
id: relay_2
pin:
number: 19
##### DISPLAY ALWAYS ON #####
- platform: gpio
name: ${device_name} Screen Power
@@ -732,6 +875,20 @@ switch:
value: '1'
- lambda: id(disp1).set_component_value("settings.a02",1);
##### Relay Local control Fallback #####
- platform: template
name: ${device_name} Relay 1 Local Fallback
id: relay1_fallback
entity_category: config
restore_state: true
optimistic: true
- platform: template
name: ${device_name} Relay 2 Local Fallback
id: relay2_fallback
entity_category: config
restore_state: true
optimistic: true
##### START - NUMBER CONFIGURATION #####
number:
@@ -790,6 +947,17 @@ number:
id: temperature_correction_global
value: !lambda 'return x;'
##### page-timeout #####
- platform: template
name: ${device_name} Page Timeout
id: page_timeout
entity_category: config
min_value: 0
max_value: 60
initial_value: 10
step: 1
restore_value: true
optimistic: true
##### START - DISPLAY START CONFIGURATION #####
display:
@@ -799,17 +967,12 @@ 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");
- lambda: id(disp1).set_component_text_printf("boot.esph_version", "%s", "3.2.2"); ### esphome-version ###
- 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 #####
- lambda: id(disp1).set_component_text_printf("boot.ip_addr", "%s", id(ip_address).state.c_str());
- delay: 1s
- number.set:
id: display_brightness
value: !lambda 'return id(display_brightness_global);'
@@ -821,9 +984,25 @@ display:
- lambda: id(disp1).send_command_printf("settings.brightslider.val=%i", id(display_brightness_global));
- lambda: id(disp1).send_command_printf("settings.dimslider.val=%i", id(display_dim_brightness_global));
- lambda: id(disp1).send_command_printf("home.sleepmodus.val=%i", id(sleep_modus_global));
- lambda: |-
id(disp1).set_component_value("settings.a02",0);
if (id(sleep_modus_global) == 1)
{
id(disp1).set_component_value("settings.a02",1);
}
- lambda: id(disp1).set_component_value("settings.a02", id(sleep_modus_global) == 1);
- delay: 1s
- switch.template.publish:
id: nextion_init
state: on
### Script for page_timer
script:
- id: page_timer
mode: restart
parameters:
delay: int
then:
- lambda: ESP_LOGD("nspanel", "start page-timer delay %i", int(id(page_timeout).state));
- delay: !lambda return delay *1000;
- lambda: |-
if (id(disp1_currentpage).state == "home" or id(disp1_currentpage).state == "screensaver" or id(disp1_currentpage).state == "boot" or int(id(page_timeout).state) == 0) {
ESP_LOGD("nspanel", "no page-jump");
} else {
ESP_LOGD("nspanel", "timer->home");
id(disp1).send_command_printf("page 0");
}

BIN
nspanel_eu.HMI Normal file

Binary file not shown.

BIN
nspanel_eu.tft Normal file

Binary file not shown.

BIN
nspanel_us.HMI Normal file

Binary file not shown.

BIN
nspanel_us.tft Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff