Commit Graph

34 Commits

Author SHA1 Message Date
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
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
0a3babfbce Clean-up page settings 2023-09-01 20:27:56 +02:00
Edward Firmo
17072c4144 Standardize close button 2023-08-31 18:48:29 +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
4748739155 Move brightness control to global var
Clean up page Home
2023-08-30 15:08:28 +02:00
Edward Firmo
ab99a48f0a Bump version to 4.0 2023-08-25 12:02:35 +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
f399d757e5 Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
2023-08-23 10:54:56 +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
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
cb0e2aaa4b Add keyb_num page 2023-08-16 13:19:41 +02:00
Edward Firmo
a4b201a2fa Create Alarm page 2023-08-15 20:48:46 +02:00
Edward Firmo
326746552a Add link to Alarm on page Home 2023-08-15 16:56:36 +02:00
Edward Firmo
186447109b Add page Alarm 2023-08-11 00:46:18 +02:00
Edward Firmo
ebe1e7243e Bump version to 4.0 dev 2023-08-10 09:33:22 +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
66e028f950 Align nspanel_us_land
Apply all changes from EU to US_Land
2023-07-19 10:11:53 +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
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
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
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
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
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
Edward Firmo
2d2b11f4fc Limit light & cover to supported settings (#896)
* Limit light to supported settings

When showing light settings, only the supported features will be shown for each light.

* Limit light to supported settings

* Limit light to supported settings

* Limit light to supported settings

* Limit light to supported settings

* Limit light to supported settings

This partially solves #635

* Limits covers to supported settings

Only show cover settings when `set_position` is supported.

This solves #635

* Limits covers to supported settings
2023-06-29 08:29:16 +02:00
Edward Firmo
2f44dd1d7c Move entity variable to home page (#889)
* Move `entity` variable to home page

This will enable future development of a fallback climate

* Move `entity` variable to home page

* Move `entity` variable to home page

* Move `entity` variable to home page

* Move `entity` variable to home page
2023-06-23 01:26:35 +02:00
Edward Firmo
c211d3f435 Remove settings_entity (#887)
* Remove `settings_entity`

- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`

* Removed `set_settings_entity` service

- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE

* Removed `settings_entity`

- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)

* Removed `settings_entity`

* Removed `settings_entity`

* Removed `settings_entity`
2023-06-22 14:16:47 +02:00
Edward Firmo
4cb8bbe72e Climate - Custom buttons - Long press (#864)
* Climate - Custom buttons - Long press

This add long press functionality to Custom buttons and also fix a bug on short press.
I believe the new custom page is ready for get user's feedback with this.

* Climate - Custom buttons - Long press

* Climate - Custom buttons - Long press

* Climate - Custom buttons - Long press
2023-06-08 14:42:54 +02:00
Edward Firmo
cc1f6999cc Climate - Custom buttons (#859)
* Climate - Custom buttons

Initial implementation of custom buttons on climate pages.

* Update nspanel_esphome.yaml

* Update tft files

* Update nspanel_eu_code

* update nspanel_us_code
2023-06-05 12:00:14 +02:00
Chris
42766724fa upd: bump to version 3.3 2023-04-19 23:50:03 +02:00
Chris
6de0c44b14 Nspanel event (#689)
* upd: hmi2txt export

* upd: sync latest dev

* upd: currentpage

* upd: lightsettings

* upd: coversettings

* upd: touchevent

* Fix error preventing long click on button pages

* upd: climate

* upd: lastclick w.o. blueprint

* Upd: Long_press - Lights

* Update: Everything else (#688)

Still a bug with confirmation message and long press button.

* Fix: Notifications

* Fix: Button long press

* Fix: Climate page

* Fix: Indoor temp when no sensor defined

* fix: open climate from homepage triggers mulitple

---------

Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
2023-04-18 21:54:04 +02:00