I would like to average the temperature in 2-3 rooms. I’m considering the TZ45 since it accepts 2 remote sensors (model RS15). However this thermostat with 2 remote sensors is quite expensive. Could I get cheaper hardware and do the averaging in the Vera box instead? If so, what sensors would you recommend?
If you use the 3M-50 Wi-Fi thermostat (< $99), you can use any Vera supported temperature sensor as the remote temperature input to the thermostat.
If you wanted to use the average of several sensors, right now, you’d have to write a little Lua code to do the averaging and push the average temperature to the thermostat. Ideally, someone could (should?) create a virtual temperature device plugin that could take the average (or use some other algorithm like min/max) of several sensors and make it appear to be a single sensor in Vera. (so that it could be used by the 3M-50 directly)
If you want to use multiple temperature sensors to control a single thermostat, you may also want to consider using more than a simple averaging function. For example, when heating, you could program Vera to run the heater until at least one of the sensors reaches your setpoint. Then, have Vera turn off the heater but run the circulation fan until all the sensors reach the setpoint, or if one of the sensors drops below the setpoint again, turn on the heater. Just some food for thought…
Hmmm, now that I think about it, maybe multiple sensor support would be a nice feature to build into the next version of the 3M-50 plugin. ( Radio Thermostat Wi-Fi Plugin ) If you’re interested, let me know, and I’ll put something together.
Hugh
I don’t average temperatures like that, but I do have a z-wave thermostat downstairs and a z-wave temp sensor upstairs. Unfortunate my 2 story home is just one zone. I have LUUP code that runs every fifteen minutes and compares the temps. If they are off by more than 3 degrees, it runs the fan to circulate the air. And I have virtual switches to stop it, or vacation mode, etc.
Since I started doing that, it’s much more equal through the house. Luckily the two sensors seem to read the same temperature when they are next to each other. If they don’t, you can adjust the LUUP code to account for that.
[quote=“hugheaves, post:2, topic:171350”]Hmmm, now that I think about it, maybe multiple sensor support would be a nice feature to build into the next version of the 3M-50 plugin. ( Radio Thermostat Wi-Fi Plugin ) If you’re interested, let me know, and I’ll put something together.
Hugh[/quote]
Please do!
[quote=“jmueske, post:1, topic:171350”]the TZ45 …accepts 2 remote sensors (model RS15)[/quote]Along with the RCS TZ43.
Currently not supported by Vera.
http://bugs.micasaverde.com/view.php?id=2064
JOD, is it mcv or the TZ45? Does the TZ45 expose the internal and the two remote sensor values to Z-Wave?
When I connected one remote sensor the TZ45 it used the remote and ignored the internal. Vera read the remote not the internal. When I connected two remote sensors the TZ45 used an average of the two and Vera read the average. Maybe I should test it again, but I came to the conclusion the TZ45 only provides one temperature value to Z-Wave.
The Multiwave from intermatic has three temperature sensors, Pool, OSA, and Solar, and they only have the pool available on Z-Wave.
I’ll answer that by saying three child devices are created in the GUI when included via a competitors controller.
Hugh,
Great ideas, this would work well in our commercial business building. I’m very interested in these features for the 3M-50 plugin. I’ll pick up a 3M-50 at Home Depot soon, then look for some sensors later. I’ll keep an eye on your plugin page for updates. Please let me know if I can help somehow.
Thanks,
John
PurdueGuy,
Our home is built the same way (upstairs/downstairs same zone). My Vera Lite is on the way…so I’m not yet intimately familiar with the LUUN code. I might be able to figure it out myself…if not, would you be willing to share this code?
Thanks,
John
[quote=“jmueske, post:9, topic:171350”]PurdueGuy,
Our home is built the same way (upstairs/downstairs same zone). My Vera Lite is on the way…so I’m not yet intimately familiar with the LUUN code. I might be able to figure it out myself…if not, would you be willing to share this code?
Thanks,
John[/quote]
Oh sure…it’s not too much. I have a scene that tuns every 15 minutes, just to execute the following code.
local homeStatus
local vacationStatus
local tempCheckStatus
-- get status of 'Home' & 'Vacation' switches (virtual)
homeStatus = luup.variable_get("urn:upnp-org:serviceId:VSwitch1","Status",35)
vacationStatus = luup.variable_get("urn:upnp-org:serviceId:VSwitch1","Status",49)
tempCheckStatus = luup.variable_get("urn:upnp-org:serviceId:VSwitch1","Status",99)
-- if tempCheck switch is off, stop
if (tonumber(tempCheckStatus) == 0) then
luup.log("TEMPCHECK: canceled - switch off")
return false
end
-- if vacation mode is on, stop
if (tonumber(vacationStatus) == 1) then
luup.log("TEMPCHECK: canceled - vacation mode")
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='36',Data='68 1 0'},1)
return false
end
-- if not home, stop
if (tonumber(homeStatus) == 0) then
luup.log("TEMPCHECK: canceled - not home")
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='36',Data='68 1 0'},1)
return false
end
local upTemp = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1","CurrentTemperature", 43)
local downTemp =luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1","CurrentTemperature", 46)
local absDelta = math.abs(tonumber(upTemp) - tonumber(downTemp))
luup.log("TEMPCHECK: upTemp = " .. upTemp)
luup.log("TEMPCHECK: downTemp = " .. downTemp)
luup.log("TEMPCHECK: absDelta = " .. absDelta)
if (absDelta > 2) then
-- set fan to ON
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='36',Data='68 1 1'},1)
luup.log("TEMPCHECK: Fan set to ON")
else
-- set fan to AUTO
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='36',Data='68 1 0'},1)
luup.log("TEMPCHECK: Fan set to AUTO")
end
How about a LUUP code that I could use to trigger a virtual switch that when turned ‘on’ triggers the ‘heat on’ scene (and vice versa)? That virtual switch is controlled by a LUUP code that takes the average of three temp sensors. Can someone help me with the code I need for this function?
Thanks,
M
Check this post out… works well
http://forum.micasaverde.com/index.php/topic,10585.msg73539.html#msg73539
[quote=“resq93, post:12, topic:171350”]Check this post out… works well
http://forum.micasaverde.com/index.php/topic,10585.msg73539.html#msg73539[/quote]
Well, maybe not so well >:( - (The 3M-50 Wi-Fi Plugin will not include itself in the average because once you set the remote sensor to the virtual device, that becomes the local temp too) Still very useful for other things. Maybe @hugheaves will support multiple remotes with averages in the future.
[quote=“resq93, post:13, topic:171350”][quote=“resq93, post:12, topic:171350”]Check this post out… works well
http://forum.micasaverde.com/index.php/topic,10585.msg73539.html#msg73539[/quote]
Well, maybe not so well >:( - (The 3M-50 Wi-Fi Plugin will not include itself in the average because once you set the remote sensor to the virtual device, that becomes the local temp too) Still very useful for other things. Maybe @hugheaves will support multiple remotes with averages in the future.[/quote]
Yep, this is actually still in the works. Rather than build the functionality into the 3M-50, Im working on a separate plugin that will support these functions (and some others) with any Vera thermostat device. It’s probably going to be a week or two before I have something to show for it.
Hugh