26.01.2021, 09:59
(25.01.2021, 18:07)Thomas Wrote:After one day it looks OK.(04.01.2021, 21:04)cedricdw Wrote: Hi,
Thanks for this update: it's always promising to see new features emerging .
I noticed that since I upgraded to this version, the "scene.tagset" function (available through the genohm-scada library) is now broken. The error is also present when using the tagenable and tagdisable function. The error I get is "bad argument #1 to 'ipairs' (table expected, got string).
I've tried specifying the tagname as a table to no avail: scene.tagset({'tagname'},true) instead of scene.tagset('tagname',true).
It seems like my scenes are all still there as they were before the update, tags and all.
Any idea on how I could solve this?
Thanks in advance!
Hi, can I use this code as a workaround?
function ecl_enable_all_scenes_workaround(ai)
-- ai must be 0 - inactivate 1 - activate
db:update('scenes', {
active = ai
})
end
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259