Is there a way to add to a LUA script for correction of temp?

2 replies [Last post]
g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011

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

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
You could use the calculator

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

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
Thanks but its more for local

So my 3 jogglers read correctly :)

Hardware Info