Commit Graph

924 Commits

Author SHA1 Message Date
Edward Firmo
96b3a375b0 Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
2023-08-10 11:27:58 +02:00
Edward Firmo
028a8c4a6f Create customization.md
This will reduce the need for:
- #920
- #662
- #833
2023-08-10 11:26:16 +02:00
Edward Firmo
ebe1e7243e Bump version to 4.0 dev 2023-08-10 09:33:22 +02:00
Edward Firmo
1965bedf3a Standardize HA service calls 2023-08-10 00:08:45 +02:00
Edward Firmo
e98ca4c8d4 Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.

Solves #975
2023-08-09 23:53:36 +02:00
Edward Firmo
62bdb576ab Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-08-09 23:22:50 +02:00
Edward Firmo
9556262880 Fixed link to addon climate docs 2023-08-09 23:14:05 +02:00
Edward Firmo
f1456dba3a Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
2023-08-09 19:00:09 +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
21822dae37 Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
2023-08-03 23:53:06 +02:00
Edward Firmo
f7fb050e1d Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
2023-08-03 22:46:10 +02:00
Edward Firmo
7ad95a66d8 Call a fan.turn_off when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
2023-08-03 22:36:03 +02:00
Edward Firmo
669ead9e79 Fix fan.turn_off call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
2023-08-02 10:27:39 +02:00
Edward Firmo
dc787c5b0d Fix set_temperature for climate
Solves #957
2023-08-02 10:02:25 +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
6ed378b8e0 Default embedded climate to relay_0 2023-07-19 13:08:08 +02:00
Edward Firmo
d329d92713 Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
2023-07-19 12:50:06 +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
66e028f950 Align nspanel_us_land
Apply all changes from EU to US_Land
2023-07-19 10:11:53 +02:00
Edward Firmo
637b7b0477 US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.

Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
2023-07-19 10:01:10 +02:00
Edward Firmo
7d607f9936 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2023-07-19 09:49:20 +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
cbf00fec5e Update nspanel_esphome.yaml 2023-07-15 00:26:13 +02:00
Edward Firmo
a118536f4a support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.

This can be breaking change for users with custom/advanced wifi settings.

Solves #906
2023-07-15 00:22:47 +02:00
Edward Firmo
c2ab8caeff Update ReleaseNotes.md 2023-07-10 14:03:51 +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
9c3ae7a4f5 Update ReleaseNotes.md 2023-07-08 10:33:16 +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
Edward Firmo
58a4575ab9 Prevents boot sequence in other pages 2023-07-03 07:15:05 +02:00
Edward Firmo
661e51671a Fixed Fan page rounding 2023-07-03 01:45:36 +02:00
Edward Firmo
d1c1dc018b Fix fan page button_on
Fixing rounding on that button.
2023-07-03 01:43:47 +02:00
Edward Firmo
ba8257e958 Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
2023-07-03 01:16:28 +02:00
Edward Firmo
3a95d5916e Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
2023-07-02 23:55:08 +02:00
Edward Firmo
1287ff69ac Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.

Solves #907
2023-07-02 22:44:02 +02:00
Edward Firmo
157472ee67 Time engine on ESPHome 2023-07-01 14:09:45 +02:00
Edward Firmo
ec99b83817 Time engine on ESPHome 2023-07-01 14:04:42 +02:00
Edward Firmo
8f81311203 Fix validation issue 2023-07-01 10:53:11 +02:00
Edward Firmo
2f6463b30a Exclude Nextion2Text
Exclude Nextion2Text
2023-07-01 09:17:52 +02:00
Edward Firmo
491472a364 "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
2023-07-01 09:14:35 +02:00
Edward Firmo
3aca4c64d2 Panel offline mode (#900)
* Panel offline mode

Introduces "offline mode" for the panel, which will be used later with a fallback climate.

Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.

* Panel offline mode

* Panel offline mode

* Panel offline mode

* Panel offline mode
2023-06-30 12:24:25 +02:00
Edward Firmo
ec48fbd335 Adding vertical bars pics 2023-06-30 11:20:26 +02:00
Edward Firmo
3b5fefe9fc Update ReleaseNotes.md 2023-06-30 02:45:28 +02:00
Edward Firmo
d018756673 Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
2023-06-30 01:09:10 +02:00
Edward Firmo
ef7f3f1fa8 Select wake-up page (#898)
* Select wake-up page

Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.

Solves #576 
Solves #612 
Solves #801 
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670

* Select wake-up page
2023-06-30 01:07:44 +02:00
Edward Firmo
fe3c1ebda1 Fix name on confirmation page
Fix the entity name on the confirmation page.

The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`

Solves #501
2023-06-29 17:20:16 +02:00
Edward Firmo
f483a52242 Add Fan speed settings page (#897)
* Add Fan speed settings page

Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.

Solves #404 
Solves #791 
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106

* Add Fan speed settings page

* Add Fan speed settings page

* Add Fan speed settings page

* Add Fan speed settings page

* Add Fan speed settings page
2023-06-29 17:11:49 +02:00