Page 1 of 1

Storing data on sqlite

Posted: Friday 07 April 2017 22:21
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.