Storing data on sqlite

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ameni
Posts: 1
Joined: Friday 07 April 2017 21:09
Target OS: Linux
Domoticz version:
Contact:

Storing data on sqlite

Post by ameni »

Hi,
I am new to domoticz world.
My question is the following:
Every web page in domoticz contains one .html file and one .js file. Let's take the example that we are configuring some parameters on setup page for instance the EmailFrom parameter. We can get this data from SetupController.js using the following code line:
var EmailTo=encodeURIComponent($("#emailtable #EmailTo").val());
what I cannot understand is how this EmailTo data is then stored in preferences database table. I can't find the code that does this task.

I wanna be grateful if someone can explain that for me.
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest