Bump to v4.3.1b1

This commit is contained in:
Edward Firmo
2024-03-18 23:58:56 +01:00
parent 447a07c65b
commit 4e7bbef1a0
99 changed files with 1033 additions and 432 deletions

View File

@@ -6,7 +6,7 @@ Program.s
int p=0,q=0,t=0,f=0
int is_buttonpage01=0, is_buttonpage02=0, is_buttonpage03=0, is_buttonpage04=0
int is_entitypage01=0, is_entitypage02=0, is_entitypage03=0, is_entitypage04=0
int back_page_id=0
int back_page_id=1
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_utilities=0
@@ -20,4 +20,4 @@ Program.s
{
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
}
page 8//Power on start page boot
page 0//Power on start page boot

View File

@@ -24,7 +24,12 @@ Page alarm
vis bt_bypass,0
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "alarm",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -12,11 +12,16 @@ Page boot
Events
Preinitialize Event
printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
dim=100
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"
vis unavailable,0
sendme
Page Exit Event
dim=0
@@ -27,13 +32,6 @@ Variable (int32) counter
Scope: local
Value: 0
Variable (string) aux1
Attributes
ID : 12
Scope : local
Text :
Max. Text Size: 10
Text ip_addr
Attributes
ID : 1
@@ -101,7 +99,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.3.0
Text : 4.3.1b1
Max. Text Size : 9
Text esph_version
@@ -111,8 +109,8 @@ Text esph_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 9
Text : Waiting...
Max. Text Size : 10
Text bluep_version
Attributes
@@ -121,12 +119,12 @@ Text bluep_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 9
Text : Waiting...
Max. Text Size : 10
Text baud_rate
Attributes
ID : 14
ID : 13
Scope : local
Dragging : 0
Send Component ID : on press and release
@@ -136,7 +134,7 @@ Text baud_rate
Text framework
Attributes
ID : 15
ID : 14
Scope : local
Dragging : 0
Send Component ID : on press and release
@@ -146,7 +144,7 @@ Text framework
Text unavailable
Attributes
ID : 16
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -154,6 +152,14 @@ Text unavailable
Text :
Max. Text Size : 1
Progress Bar progress
Attributes
ID : 16
Scope : global
Dragging : 0
Send Component ID: disabled
Value : 0
Dual-state Button bt_reboot
Attributes
ID : 4
@@ -173,19 +179,28 @@ Dual-state Button bt_reboot
Timer tm_esphome
Attributes
ID : 13
ID : 12
Scope : local
Period (ms): 10000
Period (ms): 1000
Enabled : yes
Events
Timer Event
if(tm_esphome.tim!=10000)
{
tm_esphome.tim=10000
}
counter.val++
if(counter.val>30)
{
rest
}
sendme
printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
printh 91
prints "display_mode",0
printh 00
@@ -197,13 +212,11 @@ Timer tm_esphome
prints charset,0
printh FF FF FF
printh 92
prints "tft_version",0
prints "boot.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)
{

View File

@@ -20,22 +20,31 @@ Page buttonpage01
vis 255,0
vis button_back,1
vis page_label,1
page_index.txt+="●"
if(is_buttonpage02==1)
sys0=is_buttonpage01+is_buttonpage02+is_buttonpage03+is_buttonpage04
if(sys0>1)
{
page_index.txt+="â—"
page_index.txt+="●"
if(is_buttonpage02==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
sendme
printh 92
prints "current_page",0
printh 00
prints "buttonpage01",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -20,22 +20,31 @@ Page buttonpage02
vis 255,0
vis button_back,1
vis page_label,1
if(is_buttonpage01==1)
sys0=is_buttonpage01+is_buttonpage02+is_buttonpage03+is_buttonpage04
if(sys0>1)
{
page_index.txt+="â—‹"
if(is_buttonpage01==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
page_index.txt+="●"
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
sendme
printh 92
prints "current_page",0
printh 00
prints "buttonpage02",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -20,22 +20,31 @@ Page buttonpage03
vis 255,0
vis button_back,1
vis page_label,1
if(is_buttonpage01==1)
sys0=is_buttonpage01+is_buttonpage02+is_buttonpage03+is_buttonpage04
if(sys0>1)
{
page_index.txt+="â—‹"
if(is_buttonpage01==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage02==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
if(is_buttonpage02==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
sendme
printh 92
prints "current_page",0
printh 00
prints "buttonpage03",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -20,22 +20,31 @@ Page buttonpage04
vis 255,0
vis button_back,1
vis page_label,1
if(is_buttonpage01==1)
sys0=is_buttonpage01+is_buttonpage02+is_buttonpage03+is_buttonpage04
if(sys0>1)
{
page_index.txt+="â—‹"
if(is_buttonpage01==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage02==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
vis page_index,1
}
if(is_buttonpage02==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
vis page_index,1
}
sendme
printh 92
prints "current_page",0
printh 00
prints "buttonpage04",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -33,7 +33,12 @@ Page climate
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
Page Exit Event
covx embedded.val,va2.txt,0,0

View File

@@ -17,7 +17,12 @@ Page confirm
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
Variable (int32) page_id
Attributes

View File

@@ -17,7 +17,12 @@ Page cover
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
Variable (string) va1
Attributes

View File

@@ -17,20 +17,32 @@ Page entitypage01
page home
}
vis unavailable,0
page_index.txt+="●"
if(is_entitypage02==1)
sys0=is_entitypage01+is_entitypage02+is_entitypage03+is_entitypage04
if(sys0>1)
{
page_index.txt+="â—"
}
if(is_entitypage03==1)
page_index.txt+="●"
if(is_entitypage02==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage03==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
}else
{
page_index.txt+="â—‹"
vis page_index,0
}
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
sendme
printh 92
prints "current_page",0
printh 00
prints "entitypage01",0
printh 00
printh FF FF FF
Text value01_label
Attributes

View File

@@ -17,20 +17,32 @@ Page entitypage02
page home
}
vis unavailable,0
if(is_entitypage01==1)
sys0=is_entitypage01+is_entitypage02+is_entitypage03+is_entitypage04
if(sys0>1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_entitypage03==1)
if(is_entitypage01==1)
{
page_index.txt+="â—"
}
page_index.txt+="●"
if(is_entitypage03==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
}else
{
page_index.txt+="â—‹"
vis page_index,0
}
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
sendme
printh 92
prints "current_page",0
printh 00
prints "entitypage02",0
printh 00
printh FF FF FF
Text value01_label
Attributes

View File

@@ -17,20 +17,32 @@ Page entitypage03
page home
}
vis unavailable,0
if(is_entitypage01==1)
sys0=is_entitypage01+is_entitypage02+is_entitypage03+is_entitypage04
if(sys0>1)
{
page_index.txt+="â—‹"
}
if(is_entitypage02==1)
if(is_entitypage01==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage02==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
}else
{
page_index.txt+="â—‹"
vis page_index,0
}
page_index.txt+="●"
if(is_entitypage04==1)
{
page_index.txt+="â—‹"
}
sendme
printh 92
prints "current_page",0
printh 00
prints "entitypage03",0
printh 00
printh FF FF FF
Text value01_label
Attributes
@@ -122,7 +134,7 @@ Text value08_label
Text :
Max. Text Size : 60
Text value01_pic
Text value01_icon
Attributes
ID : 12
Scope : local

View File

@@ -17,20 +17,32 @@ Page entitypage04
page home
}
vis unavailable,0
if(is_entitypage01==1)
sys0=is_entitypage01+is_entitypage02+is_entitypage03+is_entitypage04
if(sys0>1)
{
page_index.txt+="â—‹"
}
if(is_entitypage02==1)
if(is_entitypage01==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage02==1)
{
page_index.txt+="â—‹"
}
if(is_entitypage03==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
}else
{
page_index.txt+="â—‹"
vis page_index,0
}
if(is_entitypage03==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
sendme
printh 92
prints "current_page",0
printh 00
prints "entitypage04",0
printh 00
printh FF FF FF
Text value01_label
Attributes

View File

@@ -18,7 +18,12 @@ Page fan
}
vis unavailable,0
vis bt_oscillate,0
sendme
printh 92
prints "current_page",0
printh 00
prints "fan",0
printh 00
printh FF FF FF
Variable (string) fansetting
Attributes

View File

@@ -12,6 +12,16 @@ Page home
Events
Preinitialize Event
if(boot.progress.val<100)
{
page boot
}
printh 92
prints "current_page",0
printh 00
prints "home",0
printh 00
printh FF FF FF
back_page_id=0
if(qrcode.qrcode_value.txt=="")
{
@@ -31,7 +41,6 @@ Page home
vis right_bt_text,0
}
vis unavailable,0
sendme
Variable (string) lastclick
Attributes

View File

@@ -17,7 +17,12 @@ Page keyb_num
page page_id.val
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "keyb_num",0
printh 00
printh FF FF FF
Variable (int32) page_id
Attributes

View File

@@ -37,7 +37,12 @@ Page light
vis color_button,0
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "light",0
printh 00
printh FF FF FF
Variable (int32) rgb565
Attributes

View File

@@ -17,7 +17,12 @@ Page media_player
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "media_player",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -17,7 +17,12 @@ Page notification
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
Variable (string) lastclick
Attributes

View File

@@ -13,7 +13,12 @@ Page qrcode
Events
Preinitialize Event
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
Text qrcode_label
Attributes

View File

@@ -15,7 +15,12 @@ Page screensaver
vis text,0
dim=brightness_sleep
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
Touch Release Event
page back_page_id

View File

@@ -19,7 +19,12 @@ Page settings
vis lbl_sleep,0
vis bt_sleep,0
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "settings",0
printh 00
printh FF FF FF
Text bright_text
Attributes

View File

@@ -20,7 +20,12 @@ Page utilities
vis title_icon,1
vis title,1
vis button_back,1
sendme
printh 92
prints "current_page",0
printh 00
prints "utilities",0
printh 00
printh FF FF FF
Variable (int32) line_main_d
Attributes
@@ -111,7 +116,7 @@ Text home_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Home
Text :
Max. Text Size : 10
Text home
@@ -151,7 +156,7 @@ Text grid_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Grid
Text :
Max. Text Size : 10
Text grid
@@ -191,7 +196,7 @@ Text group01_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group01
@@ -231,7 +236,7 @@ Text group02_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group02
@@ -271,7 +276,7 @@ Text group03_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group03
@@ -311,7 +316,7 @@ Text group04_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group04
@@ -351,7 +356,7 @@ Text group05_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group05
@@ -391,7 +396,7 @@ Text group06_label
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Label
Text :
Max. Text Size : 10
Text group06

View File

@@ -17,7 +17,12 @@ Page weather01
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
Text day
Attributes

View File

@@ -17,7 +17,12 @@ Page weather02
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
Text day
Attributes

View File

@@ -17,7 +17,12 @@ Page weather03
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
Text day
Attributes

View File

@@ -17,7 +17,12 @@ Page weather04
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
Text day
Attributes

View File

@@ -17,7 +17,12 @@ Page weather05
page home
}
vis unavailable,0
sendme
printh 92
prints "current_page",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
Text day
Attributes