Is there a way to add to a LUA script for correction of temp?
20 October, 2012 - 18:18
need to add about 20degrees onto a temp sensor due to inability to locate it exactly where i want too (place i put it reads apx 20degrees lower)?
excerpt from script here:--
local jeemon={
port="/dev/ttyUSB0",
baud=57600,
stop=1,
databits=8,
parity="none",
flow="none"
}
-- Keyed by NODE ID
local nodes = {
[2] = RoomNode{base="dbzoo.livebox.jeenode:pond", endpoints={light=1,temp=1,lobat=1}, ttl=1800},
}
function init()
monitor(jeemon, nodes)
end
You could use the calculator app in open.sen.se which allows you to adjust automatically e.g. Add 30% to the feed would be...
feed[1]*1.30
you can the use the adjusted feed in other apps/graphs etc