Fallback to 115200bps permanently and faster when no connection from ESPHome

Solves #1667
Solves #1674
This commit is contained in:
Edward Firmo
2024-01-18 00:36:45 +01:00
parent 8849afbbb0
commit bb46aa9722
19 changed files with 43 additions and 24 deletions

View File

@@ -404,6 +404,25 @@ For support, feedback, or detailed information about this update,
visit our [GitHub repository](https://github.com/Blackymas/NSPanel_HA_Blueprint)
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
## Patch v4.2.4
We highly recommend all users update their components to this latest version for an optimized and enhanced user experience.
While this update is compatible with existing v4.2 components, fully updating ensures the best performance and usability.
**Overview of Changes:**
<!-- markdownlint-disable MD013 MD033 -->
| Change | Criticality | Affected Components |
| :-- | :--: | :--: |
| Nextion is not connected for too long time on boot (#1667 & #1674) | Critical | `TFT` |
<!-- markdownlint-enable MD013 MD033 -->
**Key Improvements:**
- **Fix for Panel Long Boot Process**: Resolved an issue with the panel getting very long time on the Boot page ("Initializing...").
For support, feedback, or detailed information about this update,
visit our [GitHub repository](https://github.com/Blackymas/NSPanel_HA_Blueprint)
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
## What's Next?
Discover what's next and what we are working on right now in our [Milestones](https://github.com/Blackymas/NSPanel_HA_Blueprint/milestones?direction=asc&sort=title&state=open).

Binary file not shown.

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Text esph_version
@@ -166,13 +166,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -198,7 +198,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Events
@@ -173,13 +173,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -205,7 +205,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Text esph_version
@@ -166,13 +166,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -198,7 +198,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Text esph_version
@@ -166,13 +166,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -198,7 +198,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Events
@@ -173,13 +173,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -205,7 +205,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Text esph_version
@@ -166,13 +166,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -198,7 +198,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"

Binary file not shown.

Binary file not shown.

Binary file not shown.