* Create `nspanel_us_land.tft' Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel. Hides the hardware buttons labels, as Nextion cannot support rotated text. * Created `nspanel_us_land.tft` * Created `nspanel_us_land.tft` solves #390 solves #432 solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716 * Created `nspanel_us_land.tft` * Created `nspanel_us_land.tft`
123 lines
3.5 KiB
Plaintext
123 lines
3.5 KiB
Plaintext
Page boot
|
|
Attributes
|
|
ID : 0
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
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
|
|
printh 92
|
|
prints "nspanelevent",0
|
|
printh 00
|
|
prints "{\"page\": \"boot\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
|
|
printh 00
|
|
printh FF FF FF
|
|
|
|
Text ip_addr
|
|
Attributes
|
|
ID : 1
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : Initializing...
|
|
Max. Text Size : 15
|
|
|
|
Text t0
|
|
Attributes
|
|
ID : 2
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : Please wait...
|
|
Max. Text Size : 15
|
|
|
|
Text t1
|
|
Attributes
|
|
ID : 3
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : The process can take several seconds!
|
|
Max. Text Size : 50
|
|
|
|
Text tft_label
|
|
Attributes
|
|
ID : 5
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : TFT:
|
|
Max. Text Size : 4
|
|
|
|
Text esph_label
|
|
Attributes
|
|
ID : 6
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : ESPHome:
|
|
Max. Text Size : 8
|
|
|
|
Text bluep_label
|
|
Attributes
|
|
ID : 7
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : Blueprint:
|
|
Max. Text Size : 10
|
|
|
|
Text tft_version
|
|
Attributes
|
|
ID : 8
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text : 3.5_dev
|
|
Max. Text Size : 8
|
|
|
|
Text esph_version
|
|
Attributes
|
|
ID : 9
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 8
|
|
|
|
Text bluep_version
|
|
Attributes
|
|
ID : 10
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID : disabled
|
|
Associated Keyboard: none
|
|
Text :
|
|
Max. Text Size : 8
|
|
|
|
Dual-state Button a01
|
|
Attributes
|
|
ID : 4
|
|
Scope : local
|
|
Dragging : 0
|
|
Send Component ID: on press and release
|
|
State : unpressed
|
|
Text : Reboot
|
|
Max. Text Size : 6
|
|
|