Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
Hi
Do you have a documentation to LM internal object database?
I need to do a few bulk changes like change of icons, classes etc.
Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
I've > 100 visualisation windows and I need to do some changes in every of these 100 windows and I don't want to spend 3 days by monkey work. In case the structure is not accessible. Could you please send me commands which:
1. Change every custom name from "lignt - grightness" to "light"
2. Change every default icon from "weather-night-A0F007-010101.svg" to "my_weather_icon.svg"
2. Change every Additional icon from "bulb-A0F007-010101.svg" to "my_lights_on_icon.svg"
Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
Thank you. It works perfectly!
It would be great to know a complete database structure but I understand reasons why you don't want to make it public.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 7774
Threads: 42
Joined: Jun 2015
Reputation:
447
Database is in SQLite format, you can extract it from the backup archive and view the whole structure and data.
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
Do you know admin or other user if there is a command for showing main structure(to check it without using other program)?
I know such programs but checking the structure with LUA would be very useful
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
Perfect, thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259