-
Hello folk, working on tasmota 14.5.0.2 LVGL when I issue a command like: the object is created on page 1 rather than on page 10 print(p10b5.text) while print(p1b5.text) Of course, creating a "pages.jsonl" with only on line like the following works fine My suspect is haspmota.parse() is not well managing the "page" attribute OR I'm doing something wrong. Any Idea to share ? Paolo print(p1b5.text) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Short answer: Longer answer: The safest way is to prefix with |
Beta Was this translation helpful? Give feedback.
-
Thanks guys, I was adding my notes when I saw sfromis message. s-hadinger is this your commit ? Tnx |
Beta Was this translation helpful? Give feedback.
-
Hello s-hadinger, simply upgraded full libesp32_lvgl on 14.5.0.2 LVGL with the last you commit . {"page":0,"comment":"---------- Version 2.0 ----------"} Paolo |
Beta Was this translation helpful? Give feedback.
-
Hey s-hadinger, that was only an example how the page attribute is used on my project. My pages.jsonl file is 30KB with a lot of other objects and 7 pages Tnx for the quick reply. Paolo |
Beta Was this translation helpful? Give feedback.
-
1st test : I used the latest tasmota32-lvgl.bin deployed . tasmota32-lvgl.bin | http://ota.tasmota.com/tasmota32/tasmota32-lvgl.bin | 2528k | 20250511 11:19 with this bin, everything works as expected - I can confirm the fix . Instead of spending time understanding why new libesp32_lvgl seems struggling to work on my built based on 14.5.0.2 LVGL, I will migrate my personal built to the latest 14.6.0.2 and let you know if there's any combination of extra defines I used that is affecting the behavior. Tnx |
Beta Was this translation helpful? Give feedback.
1st test : I used the latest tasmota32-lvgl.bin deployed .
tasmota32-lvgl.bin | http://ota.tasmota.com/tasmota32/tasmota32-lvgl.bin | 2528k | 20250511 11:19
with this bin, everything works as expected - I can confirm the fix .
NOTE: I have not changed a bit of my pages.jsonl
Instead of spending time understanding why new libesp32_lvgl seems struggling to work on my built based on 14.5.0.2 LVGL, I will migrate my personal built to the latest 14.6.0.2 and let you know if there's any combination of extra defines I used that is affecting the behavior.
Tnx