is it possible to collect the temperature data from different temp sensors and store / show them in a custom sensor?
i have 3 temp sensors which shows temperature data from my Nas (CPU / HDD1 & HDD2).
my goal is to present this data in one sensor. Main reason is to save space on screen

I'm not a programmer.. found a little script and was trying a bit. With no luck..
anyone with some tips?

Code: Select all
return {
on = {
timer = {
'every 1 minutes'
},
},
execute = function(domoticz, device, timer)
local tempnas = domoticz.devices('NAS - Temp')
local temphd1 = domoticz.devices('NAS - Temp hd1')
local temphd2 = = domoticz.devices('NAS - Temp hd2')
local Temptest = domoticz.devices('NAS - TEMP test')
Temptest.updateCustomSensor(tempnas, temphd1, temphd2)
end
}