Commit Graph

466 Commits

Author SHA1 Message Date
Edward Firmo
f8cf178440 Fix display climate chip 2023-09-07 08:27:54 +02:00
Edward Firmo
067c173995 Handle embedded_indoor_temperature
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
2023-09-07 00:32:20 +02:00
Edward Firmo
f093126726 Fix Nextion variable invalid 2023-09-06 21:43:18 +02:00
Edward Firmo
086a30c18a Fix Nextion reported variable name invalid! 2023-09-06 21:29:08 +02:00
Edward Firmo
e505438203 Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846

Thanks @MaiPiu
2023-09-06 20:19:13 +02:00
Edward Firmo
fcddc2778f Rebuilt home page status bar update 2023-09-06 16:12:53 +02:00
Edward Firmo
188f565409 Version mismatch notication 2023-09-06 02:32:52 +02:00
Edward Firmo
066cd31616 Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
2023-09-06 00:52:35 +02:00
Edward Firmo
7097d9bf84 Enable translations of Settings page 2023-09-04 21:13:18 +02:00
Edward Firmo
7f6b5a7115 Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
2023-09-04 17:55:04 +02:00
Edward Firmo
ba166ac55b Fix button pages not showing 2023-09-04 07:20:10 +02:00
Edward Firmo
d569956ff2 Add service set_component_color
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
2023-09-03 23:52:36 +02:00
Edward Firmo
1d43f75318 Re-arrange commands list 2023-09-03 21:28:27 +02:00
Edward Firmo
0518531f02 Renamed wake_up_display to wake_up 2023-09-03 21:25:49 +02:00
Edward Firmo
1dfd0e6f9a Cleanup boot sequence
Move some functionalities to ESPHome
2023-09-03 15:17:25 +02:00
Edward Firmo
45eef605ae Don't update values when page home is not visible
To reduce load on Home Assistant and the network
2023-09-03 12:05:15 +02:00
Edward Firmo
41c3b01769 Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
2023-09-03 11:47:00 +02:00
Edward Firmo
98da0d4c6e Use current_page in blueprint conditions
One more step towards the phase out of `nspanelevent`.
2023-09-02 02:04:28 +02:00
Edward Firmo
4d255c1df4 Clean-up boot delay 2023-09-02 01:40:48 +02:00
Edward Firmo
2e33d94955 Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
2023-09-02 00:35:32 +02:00
Edward Firmo
f4f80f667b Add translation keys for settings page
#1002
2023-09-01 08:09:21 +02:00
Edward Firmo
960c055fb5 Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
2023-08-31 14:27:25 +02:00
Edward Firmo
b134eaa88a Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
2023-08-30 15:12:03 +02:00
Edward Firmo
f29eeda845 Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
2023-08-29 11:55:50 +02:00
Edward Firmo
97109f4ba5 Phase out sensor nspanel_event (partially)
This sensor is being replaced by event calls.
2023-08-27 19:53:14 +02:00
Edward Firmo
0f49eb2f8c Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
2023-08-27 10:50:38 +02:00
Edward Firmo
ab99a48f0a Bump version to 4.0 2023-08-25 12:02:35 +02:00
Edward Firmo
1638e2e3af New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
2023-08-25 11:45:28 +02:00
Edward Firmo
a907ff5004 Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.

I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
2023-08-24 10:18:42 +02:00
Edward Firmo
27fc5c3e89 Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
2023-08-23 22:18:31 +02:00
Edward Firmo
1ad3d7ef4b Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
2023-08-23 20:04:37 +02:00
Edward Firmo
b83c513093 Update alarm icon on home page
Refresh icon when alarm state changes.
2023-08-22 20:02:58 +02:00
Edward Firmo
2edfeef095 Support to code_arm_required
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
2023-08-22 08:45:39 +02:00
Edward Firmo
99759008c8 Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
2023-08-21 22:07:56 +02:00
Edward Firmo
a339ef3c8f Update alarm icon & color 2023-08-21 18:22:16 +02:00
Edward Firmo
d8e181fdda Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
2023-08-17 20:23:25 +02:00
Edward Firmo
10698fa666 Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
2023-08-16 22:38:11 +02:00
Edward Firmo
fcc0477593 Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
2023-08-16 17:03:41 +02:00
Edward Firmo
a4b201a2fa Create Alarm page 2023-08-15 20:48:46 +02:00
Edward Firmo
ebe1e7243e Bump version to 4.0 dev 2023-08-10 09:33:22 +02:00
bkbartk
8650b0814c dutch (#974)
* small ducht translations

small ducht translations

* Dutch translations

---------

Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
2023-08-09 12:28:49 +02:00
Edward Firmo
55f84b400d Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
-  https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
2023-08-09 09:43:42 +02:00
Edward Firmo
4971b7518b Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.

Solves #963
2023-08-04 13:29:40 +02:00
Edward Firmo
9979058faf Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
2023-08-04 13:21:05 +02:00
Edward Firmo
cab3404645 Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
2023-07-21 19:09:33 +02:00
Edward Firmo
2594df56ad Fix relays chips
Fix relay status indication on chips.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
2023-07-19 11:09:13 +02:00
Edward Firmo
e3efb4dbe5 Removed restore_state
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.

This solves #939
2023-07-19 09:49:09 +02:00
Edward Firmo
7104cbf0e9 Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
2023-07-10 13:55:55 +02:00
Edward Firmo
f25ca0934c Embedded climate (#917)
* Performance improvements

The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)

* Draft embedded climate

This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.

Solves #646
Solves #263

* Update ReleaseNotes.md

* Fix climate slider

Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature

* Moving home page to ESPHome

In progress...

* Fix translations - Dutch

* Embedded chip 3

Home page - Chip 3 will be controlled locally when embedded climate is enable.

* Fixed buttons bar

Fixed buttons bar managed on ESPHome when embedded climate is visible.
2023-07-08 09:34:09 +02:00
Edward Firmo
64659f3794 Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)

Solves #910
2023-07-03 08:14:32 +02:00