Hi,
I would like to enter data from a number of sensors directly into a SQLite database - something seperately from the Domoticz SQLite DB. Searching this forum for sqlite and lua did not show a result, skimming the wiki neither.
Any ideas how to realise it ? I know that there is an interface between lua and sqlite, but how would I make it available to lua inside Domoticz ?
Any suggestions, recommendations etc are most welcome.
TIA
Josh
Direct access of SQLite DB from lua script - how to ?
Moderator: leecollings
-
- Posts: 7
- Joined: Saturday 23 July 2016 11:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Direct access of SQLite DB from lua script - how to ?
Hello Josh,
Did you find a way to use SqLite database directly from LUA scripts ?
I'm looking for an example as I would like to add user attributes to devices.
Thanks
Kind regards
Michel
Did you find a way to use SqLite database directly from LUA scripts ?
I'm looking for an example as I would like to add user attributes to devices.
Thanks
Kind regards
Michel
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Direct access of SQLite DB from lua script - how to ?
Use php, basic stuff there for reading/writing databases
Who is online
Users browsing this forum: No registered users and 1 guest