Commit Graph

70 Commits

Author SHA1 Message Date
Edward Firmo
c375a93d8e Bump version to 4.0b2 2023-09-20 10:08:03 +02:00
Edward Firmo
1a4cb27e01 Change version to 4.0dev
To differentiate from beta.
2023-09-18 18:01:42 +02:00
Edward Firmo
a653d47e3c Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
2023-09-18 17:51:47 +02:00
Edward Firmo
ee5ccd0bff Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
2023-09-18 16:39:22 +02:00
Edward Firmo
8362447dac Add touchevents to page climate
Possibly solves #995
2023-09-17 20:20:19 +02:00
Edward Firmo
60c47ff82c Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
2023-09-17 12:43:18 +02:00
Edward Firmo
189cbdd645 Media player roll back font 9 and timer 1s 2023-09-17 11:47:37 +02:00
Edward Firmo
c279dd7932 Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
2023-09-17 07:09:05 +02:00
Edward Firmo
f705401896 add touchevents to pages media_player and confirm
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
2023-09-16 14:28:05 +02:00
Edward Firmo
00d888817f Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.

Solves #1039
2023-09-16 14:05:22 +02:00
Edward Firmo
21fb3fc395 Replace confirm var on buttons pages
Simpler and saves some memory.
2023-09-15 14:29:22 +02:00
Edward Firmo
76a9520557 Fix empty page climate 2023-09-15 09:46:27 +02:00
Edward Firmo
21e099bb5f New sleep flow 2023-09-14 23:59:27 +02:00
Edward Firmo
29f9b24592 Prototyping power page
Thanks @Floppe for doing the design
#838
2023-09-14 02:18:19 +02:00
Edward Firmo
d1638863a4 Remove entity info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.

This enabled the return to global for some components, so it probably solves #1031
2023-09-13 23:36:24 +02:00
Edward Firmo
db86e701e4 Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
2023-09-13 00:01:43 +02:00
Edward Firmo
81d16343a7 Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
2023-09-12 20:06:58 +02:00
Edward Firmo
e1a078fea5 Media player first buttons actions 2023-09-11 23:21:57 +02:00
Edward Firmo
7452dfd2bb Simplify touchevent engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
2023-09-11 12:17:10 +02:00
Edward Firmo
591c7aa69b Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
  - Moved wake-up select from Blueprint to ESPHome component
  - Removed `switch.xxxxx_confirmation_message`
2023-09-10 22:37:36 +02:00
Edward Firmo
6e65ea3d03 New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
2023-09-10 02:48:28 +02:00
Edward Firmo
b5bb42c68d Fix entity info when calling detailed pages
Solves #1022
2023-09-09 02:58:23 +02:00
Edward Firmo
5ed58d8f24 Adjustments to settings page 2023-09-08 20:29:08 +02:00
Edward Firmo
4fe8633978 version 4.0 ready for release 2023-09-07 17:22:52 +02:00
Edward Firmo
fec2824464 Minor adjustments on settings page 2023-09-07 17:10:16 +02:00
Edward Firmo
3a2da38c6f Word-wrap for Alarm page 2023-09-06 01:29:56 +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
1c1cf8e959 Notification word-wrap
For EU and US_LAND only, for now.
2023-09-05 00:40:10 +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
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
646152d3e1 Exported pics 2023-08-30 20:48:27 +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
ad8e7e09c3 Alarm page UI
Fixed close button
Disabled buttons are darker
2023-08-17 10:36: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
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
680a5439ff Add Alarm page buttons pics 2023-08-15 15:23:55 +02:00
Edward Firmo
eddba39d4a Create Alarm page 2023-08-11 00:30:34 +02:00