Commit Graph

93 Commits

Author SHA1 Message Date
Edward Firmo
629bf0aad1 Replace page announcement
Using "sendme" in replace to text sensor "currentpage".
2023-11-27 20:34:40 +01:00
Edward Firmo
819ba1fe04 Bump version to 4.1.2 2023-11-26 14:58:17 +01:00
Edward Firmo
c4543a73af Send component ID on page home
This will be used later with new touch detection routine
2023-11-26 10:32:01 +01:00
Edward Firmo
37e7ff8498 Bump TFT version to 4.1.1 2023-11-17 08:05:29 +01:00
Edward Firmo
bab945b242 Bump version to 4.1
Ready for release
2023-11-12 09:35:36 +01:00
Edward Firmo
ba2df603c3 Bump version to 4.1b1
For beta testing
2023-11-11 11:24:09 +01:00
Edward Firmo
eb3a643f76 New blank tft 2023-11-10 12:05:59 +01:00
Edward Firmo
da37740ef3 Change baud_rate without restart 2023-11-10 11:31:08 +01:00
Edward Firmo
9d32e0d027 Delay to send brightness to ESPHome
Solves #1229
2023-11-06 21:04:37 +01:00
Edward Firmo
6b9a6dc97f Add framework info to TFT 2023-11-06 20:33:13 +01:00
Edward Firmo
c45ce32742 Allows change to the baud rate 2023-11-06 00:28:24 +01:00
Edward Firmo
8f128ac6b5 Wait for TFT version on boot sequence
This should be reviewed after https://github.com/esphome/esphome/pull/5673 is released.
2023-11-05 20:16:10 +01:00
Edward Firmo
8184ada7a1 Improved boot sequence
Restart with hw button 10s hold - Helps with #1224
Restart Nextion if not connected to ESPHome after 30s - Helps with #1224
Prepare for future support to 921600bps
2023-11-05 09:32:22 +01:00
Edward Firmo
4701885a59 Increase QRcode length to 75 chars
Solves #1210
Solves #303
2023-11-01 08:02:03 +01:00
Edward Firmo
83fccfe83b Rebuilt currentpage engine 2023-10-02 14:45:34 +02:00
Edward Firmo
201428da47 Rebuilt upload_tft and replaced fonts 2023-10-01 15:05:36 +02:00
Edward Firmo
4830b58b13 Bump v4.0.3dev 2023-09-30 16:05:16 +02:00
Edward Firmo
112e52f3d4 v4.0.2 patch release 2023-09-27 11:39:38 +02:00
Edward Firmo
a424c8c17b v4.0.1 patch release 2023-09-25 13:27:20 +02:00
Edward Firmo
91a1cca29c v4.0.1beta 2023-09-24 15:09:04 +02:00
Edward Firmo
b3c0fe3dd0 Bump version to 4.0.1dev 2023-09-23 23:03:19 +02:00
Edward Firmo
12f6bd75b5 Fix mute volume not working
Solves #1079 items 2 and 3
2023-09-23 22:11:06 +02:00
Edward Firmo
a42feafa8c v4.0 release 2023-09-20 16:33:48 +02:00
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