I have Domoticz on my DS115J Synology server
I have buy a Denkovi print, really great stuff.
You put your print on your local net and it works .
Relays ands digital inputs that works fine.

But i can not read my analoge input in the script.
I lookt several scripts, but i can get the real code.
I have buy some LM35 sensors (very cheap)
This one give 10mV/C

It's 20,5 C


Code: Select all
return {
active = true,
logging = {'AI1'},
on = {timer = { 'every minute' }
},
execute = function(dz, item)
-- local AI1 = dz.devices(66) ......try this don't work
--domoticz.log('temperatuur = '.. AI1, domoticz.LOG_DEBUG) ......try this don't work
--TempAI1= AI1/10 ......try this don't work
local temperatuur = dz.devices("AI1").DAENETIP4
print (temperatuur)
end
}

Can you help me
