224 lines
5.7 KiB
Plaintext
224 lines
5.7 KiB
Plaintext
Page boot
|
|
Attributes
|
|
ID : 0
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Locked : no
|
|
Swide up page ID : disabled
|
|
Swide down page ID : disabled
|
|
Swide left page ID : disabled
|
|
Swide right page ID: disabled
|
|
|
|
Events
|
|
Preinitialize Event
|
|
dim=100
|
|
covx baud,baud_rate.txt,0,0
|
|
baud_rate.txt+=" bps"
|
|
vis unavailable,0
|
|
|
|
Postinitialize Event
|
|
sendme
|
|
|
|
Page Exit Event
|
|
dim=0
|
|
|
|
Variable (int32) counter
|
|
Attributes
|
|
ID : 11
|
|
Scope: local
|
|
Value: 0
|
|
|
|
Variable (string) aux1
|
|
Attributes
|
|
ID : 12
|
|
Scope : local
|
|
Text :
|
|
Max. Text Size: 10
|
|
|
|
Text ip_addr
|
|
Attributes
|
|
ID : 1
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : Initializing...
|
|
Max. Text Size : 15
|
|
|
|
Text t0
|
|
Attributes
|
|
ID : 2
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : Please wait...
|
|
Max. Text Size : 15
|
|
|
|
Text t1
|
|
Attributes
|
|
ID : 3
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : The process can take\r\nseveral seconds!
|
|
Max. Text Size : 50
|
|
|
|
Text tft_label
|
|
Attributes
|
|
ID : 5
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : TFT:
|
|
Max. Text Size : 4
|
|
|
|
Text esph_label
|
|
Attributes
|
|
ID : 6
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : ESPHome:
|
|
Max. Text Size : 8
|
|
|
|
Text bluep_label
|
|
Attributes
|
|
ID : 7
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : Blueprint:
|
|
Max. Text Size : 10
|
|
|
|
Text tft_version
|
|
Attributes
|
|
ID : 8
|
|
Scope : global
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text : 4.2.6dev
|
|
Max. Text Size : 9
|
|
|
|
Events
|
|
Touch Release Event
|
|
if(api==0)
|
|
{
|
|
rest
|
|
}
|
|
|
|
Text esph_version
|
|
Attributes
|
|
ID : 9
|
|
Scope : global
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 9
|
|
|
|
Text bluep_version
|
|
Attributes
|
|
ID : 10
|
|
Scope : global
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 9
|
|
|
|
Text baud_rate
|
|
Attributes
|
|
ID : 14
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 10
|
|
|
|
Text framework
|
|
Attributes
|
|
ID : 15
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : on press and release
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 10
|
|
|
|
Text unavailable
|
|
Attributes
|
|
ID : 16
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 1
|
|
|
|
Dual-state Button bt_reboot
|
|
Attributes
|
|
ID : 4
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID: on press and release
|
|
State : unpressed
|
|
Text : Reboot
|
|
Max. Text Size : 6
|
|
|
|
Events
|
|
Touch Release Event
|
|
if(api==0)
|
|
{
|
|
rest
|
|
}
|
|
|
|
Timer tm_esphome
|
|
Attributes
|
|
ID : 13
|
|
Scope : local
|
|
Period (ms): 10000
|
|
Enabled : yes
|
|
|
|
Events
|
|
Timer Event
|
|
counter.val++
|
|
if(counter.val>30)
|
|
{
|
|
rest
|
|
}
|
|
sendme
|
|
printh 91
|
|
prints "display_mode",0
|
|
printh 00
|
|
prints display_mode,0
|
|
printh FF FF FF
|
|
printh 91
|
|
prints "charset",0
|
|
printh 00
|
|
prints charset,0
|
|
printh FF FF FF
|
|
printh 92
|
|
prints "tft_version",0
|
|
printh 00
|
|
prints tft_version.txt,0
|
|
printh 00
|
|
printh FF FF FF
|
|
covx counter.val,aux1.txt,0,0
|
|
esph_version.txt="Retry #"+aux1.txt
|
|
sys0=counter.val%10
|
|
if(sys0==0)
|
|
{
|
|
bauds=115200
|
|
}
|
|
covx baud,baud_rate.txt,0,0
|
|
baud_rate.txt+=" bps"
|
|
|