vitello
August 5th, 2007, 12:23 AM
I was checking out the HVAC simulation in the new-pro_480x640.ccf and noticed that the sliders weren't automatically moving. The help menu mentions that value slider should slowly move to the set slider position. I took a look at the new-pro.lua and found the problem. In the HVAC.Timer function the value of zoneobj is nil so the zoneobj.value variable can't be updated. zoneobj is nil because HVAC.Timers[timerid] is nil. The only member in the HVAC.Timers table is HVAC.Timers[zoneobj.timer], which is set in the HVAC.Set funtion. zoneobj.timer is the timer returned by NetRemote.SetTimer, but it is not equal to timerid even though this is what the documentation says it should be. So it looks like something changed with NetRemote.SetTimer usage or something is wrong with the lua file that I don't see. Is the HVAC Simulation on the Temperature page working for anyone else?
Peter
Peter