Commit Graph

1419 Commits

Author SHA1 Message Date
Edward Firmo
bc93bc523f Change send_command_value params 2023-11-07 21:23:28 +01:00
Edward Firmo
85ca25069d Code clean-up 2023-11-07 16:10:30 +01:00
Edward Firmo
24d2ff71b2 web_server replaced by json
It takes less memory and provides the libraries needed for this project.
2023-11-07 14:15:47 +01:00
Edward Firmo
c838216c1f Fix for esp-idf types 2023-11-07 13:10:34 +01:00
Edward Firmo
eb03d33edd Support to idf v5 2023-11-07 12:35:06 +01:00
Edward Firmo
3dea13c354 Add test for idf v5 2023-11-07 09:28:28 +01:00
Edward Firmo
e9ba75b967 Add test for idf v5 2023-11-07 09:26:38 +01:00
Edward Firmo
9d32e0d027 Delay to send brightness to ESPHome
Solves #1229
2023-11-06 21:04:37 +01:00
Edward Firmo
31560787e3 Default code_arm_required is true
A per default: https://developers.home-assistant.io/docs/core/entity/alarm-control-panel/

Solves #1193
2023-11-06 20:38:53 +01:00
Edward Firmo
6b9a6dc97f Add framework info to TFT 2023-11-06 20:33:13 +01:00
Edward Firmo
5060947d16 Change idf validation to climate cool 2023-11-06 08:58:38 +01:00
Edward Firmo
e434667ad3 Fix link to idf file 2023-11-06 08:49:53 +01:00
Edward Firmo
e3a6368efa Improved name of esp-idf & bluetooth test 2023-11-06 08:21:47 +01:00
Edward Firmo
f85f87f3e6 Add bluetooth proxy to esp-idf test 2023-11-06 08:19:58 +01:00
Edward Firmo
ce814af3d3 Change framework back to default
As users should flash with serial to change framework
2023-11-06 08:16:45 +01:00
Edward Firmo
039e5e56b7 Add "Actions" 2023-11-06 01:00:12 +01:00
Edward Firmo
b679693203 Clean up names 2023-11-06 00:35:11 +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
0a26861444 Code clean-up 2023-11-03 21:10:42 +01:00
Edward Firmo
fdc8b81fd0 Exit reparse on boot 2023-11-03 19:40:57 +01:00
Edward Firmo
94db496d30 Bring back exit reparse button
Tests failed
2023-11-03 18:12:40 +01:00
Edward Firmo
5a782bbe45 Retry when Upload TFT fails 2023-11-03 18:05:43 +01:00
Edward Firmo
a80a2b7985 Add checkout to each action 2023-11-03 17:48:28 +01:00
Edward Firmo
53e4dd7b81 Fix dependencies on build_advanced 2023-11-03 17:45:35 +01:00
Edward Firmo
955a7fbd8b Remove "Exit reparse" button
It's functionality is now embedded in the Upload TFT calls.
2023-11-03 17:43:06 +01:00
Edward Firmo
9fa172ef36 Advanced validation of ESPHome 2023-11-03 17:40:43 +01:00
Edward Firmo
ffce653d16 Fix reference to external components 2023-11-03 17:14:20 +01:00
Edward Firmo
852ba63038 Use pr5667 for Nextion 2023-11-03 15:26:00 +01:00
Edward Firmo
58132cb189 Fix reference to tft_size_
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1213#issuecomment-1791035711
2023-11-02 17:55:42 +01:00
Edward Firmo
e96329f976 Handle https error nicely 2023-11-02 12:03:16 +01:00
Edward Firmo
88cf4af2a7 Add validation with arduino framework
Just to make sure we don't break support to that framework, as we might want to migrate back in the future or some user might wanna use that.
2023-11-01 22:03:21 +01:00
Edward Firmo
fce2c5e4be Set framework esp-idf by default 2023-11-01 21:29:06 +01:00
Edward Firmo
b105d83b12 Persistent http client 2023-11-01 21:22:58 +01:00
Edward Firmo
25cf9f1bb9 Update nspanel_esphome_addon_upload_tft.yaml 2023-11-01 13:31:41 +01:00
Edward Firmo
88f287aa0d Upload TFT ESP-IDF - Cleaning logs 2023-11-01 10:04:42 +01:00
Edward Firmo
34142c510f Upload TFT for ESP-IDF
Still pending some clean-up, but I would say this is a working version.
2023-11-01 09:35:51 +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
09275f1414 esp-idf upload tft
Still a bit buggy, but this is probably the first working version of an esp-idf upload TFT to be published.
I will work more on this, but wanna have this commit as a reference.
2023-10-31 22:48:36 +01:00
Edward Firmo
bfc18fd307 Reduce number of unnecessary executions
Currently, many triggers will start the automation and then later if a condition is not true (like a page is not visible) the automation won't be doing anything. However, each of those "false" executions will generate an entry at Logbook, which might get spammed for large systems.

Probably solves #1205
Probably helps with #1203

This also reduce the date update from every minute to every hour and handle the situation where multiple panels are updated simultaneously in a event of an automation reload, which could cause performance issues for large systems.
2023-10-31 09:12:46 +01:00
Edward Firmo
92d7fd429a Reverted back icon size 48
The removal of this font reduced the file size with impact to the UI. The reduced file size didn't made a significant impact to the TFT Upload, so reverting this.
2023-10-21 20:22:34 +02:00
Edward Firmo
007a25bb94 Split set_brightness 2023-10-21 20:12:35 +02:00
Edward Firmo
d27dc1eb4f Send embedded climate friendly_name on boot
Solves #1171
2023-10-20 10:19:09 +02:00
Edward Firmo
661e2ba8c5 Long press to open settings regardless of supported_features
Solves #1142
2023-10-20 09:17:05 +02:00
Edward Firmo
5fcb1e0785 Fix incorrect preset when addon climate cool 2023-10-19 15:57:27 +02:00
Edward Firmo
2a526f3cea Moving docs to the Wiki area 2023-10-19 15:51:40 +02:00
Edward Firmo
ff917d663e Improved split of addon climate files
To make it easier to maintain
2023-10-19 15:44:06 +02:00
Edward Firmo
8bf2b9e4cc Fix indoor temp icon when embedded temperature is used
Solves #1179
2023-10-18 14:38:02 +02:00
Edward Firmo
5446400eee Round target temp limits based on step
Solves #1150
2023-10-18 14:10:10 +02:00