I'm trying to use an external SQLite3 DB with a lua script running under domoticz. Maybe i forget something but most of function seems to not work.
Code: Select all
db:execute("INSERT INTO temperature (date, heure, temperature) VALUES (date('now', 'localtime'), time('now', 'localtime'), '0.1')")
Code: Select all
db:exec("INSERT INTO temperature (date, heure, temperature) VALUES (date('now', 'localtime'), time('now', 'localtime'), '0.1')")
it's same for :
db:nrows
db:rows
and more. Is it a limitation of domoticz or did i miss something ?
Thanks in advance,