Search found 2 matches

by jagroeneveld
Tuesday 26 June 2018 18:40
Forum: Suggestions
Topic: Request: Lua script can read settings
Replies: 1
Views: 1195

Request: Lua script can read settings

I'd like to be able to read the settings using lua. Especially the location settings are of interest to me. I know I could use json, but since I protected my Domotic, I have to use a userid/password in the script which I don't like for some reason. Nice to have: location = settings['location'] (as a ...
by jagroeneveld
Tuesday 19 June 2018 17:36
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 117509

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

In order to see if the results are successfully logged to Domoticz, I added the following lines #err1 = response1.read() #print "response = " + str(err1) just after #Voor debug => print voorbeeld van de JSON aanroep en/of de counter #print "JSON call = "+ str(url1) #print "Watermeter Counter ...