I could use some help here as well. I replaced my Trane theromstat with a new CT30 Radio Thermostat. The CT30 is working correctly from HomeSeer and the ZWave Thermostatus Status page.
However, from my script which monitors the current temperature, it fails on the line with "pi.GetTemp". The error is "Error in HSPI.GetTemp, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer"
Here is the snippet of the script:
Dim thermostatNumber As Integer = 1
Dim pi As Object = hs.Plugin("ZWave Thermostats")
Dim curTemp As Integer = pi.GetTemp(thermostatNumber)
As per Rupp's postings, I have disabled the Thermostat Plugin, shut down HomeSeer and then rebooted the server. I have also tried reimporting the and rescanning the ZWave devices. Neither has solve the problem.
On side note: On my iPad, the Trane theromstat was working correctly before I replaced it. Now with the CT30, it does not work and shows N/A for the status. I have installed the iTouch server 1.0.0.56. I need to do that to get the weather working.
Any suggestions on how to get "pi.GetTemp" working again?
EDIT: I just noticed that the old Trane thermostat used to update the value of the device (in my case Q5) with the current temperature. The CT30 does not do that. The current value is always 0. Is there a mismatch in the plugs and HomeSeer version? I'm running HSPro 2.5.0.52 and the Thermostat plugin version 1.3.0.8.
Announcement
Collapse
No announcement yet.
Plugins out of sync. Restart Homeseer
Collapse
This topic is closed.
X
X
-
Guest repliedI get the same errors
I have been getting the same errors as reported above since moving to 25.5.0.20. I have been running scripts that loop around and set/get various properties of the thermostats. I never had any problems until x.x.x.20. I have tried all the suggestions in the above thread and nothing has worked. Thinking of going back to x.x.x.5...
My startup shows no errors, but if i run a script to -- say for instance, to set all thermostats to AUTO (now that it is springtime) -- I get the same object errors as others have reported in this thread.
Any ideas?
Leave a comment:
-
Guest repliedI've traced my startup errors to some events that run scripts to populate device values for MainLobby. They are attempting to read values from the thermostats before they have fully initialized and this has caused the errors I'm seeing at startup.
Rupp, thank you for your assistance on the boards. You've been a big help to me and a lot of other HS users!
Leave a comment:
-
Originally posted by dinki View PostHere it is:
Code:Sub Main(ByVal parms as Object) Dim pi As Object Dim currentCoolSetPoint as Double [B]Dim currentTemperature as Double[/B] Const failSafe as double = 70 pi = hs.Plugin("ZWave Thermostats") [B]currentTemperature = pi.getTemp(1)[/B] currentCoolSetPoint = pi.getCoolSet(1,1) currentCoolSetPoint = currentCoolSetPoint -1 hs.writelog( "Info", currentCoolSetPoint) if currentCoolSetPoint > failSafe then pi.cmdSetCool(1, currentCoolSetPoint) End Sub
Leave a comment:
-
Here it is:
Code:Sub Main(ByVal parms as Object) Dim pi As Object Dim currentCoolSetPoint as Double Const failSafe as double = 70 pi = hs.Plugin("ZWave Thermostats") currentCoolSetPoint = pi.getCoolSet(1,1) currentCoolSetPoint = currentCoolSetPoint -1 hs.writelog( "Info", currentCoolSetPoint) if currentCoolSetPoint > failSafe then pi.cmdSetCool(1, currentCoolSetPoint) End Sub
Leave a comment:
-
Originally posted by dinki View PostApparently my problems are not over:
Code:4/18/2011 10:00:00 PM Event Event Trigger "Set Temp Sleep Cool" 4/18/2011 10:00:00 PM ZWave Thermostats Setting Z-Wave Thermostat 2 Cool setpoint to 73 4/18/2011 10:00:00 PM ZWave Thermostats Aborting poll of this thermostat due to an error retrieving the temperature. Z-Wave Thermostat 2 Node: 2
What does your script look like?
Leave a comment:
-
Apparently my problems are not over:
Code:4/18/2011 10:00:00 PM Event Event Trigger "Set Temp Sleep Cool" 4/18/2011 10:00:00 PM ZWave Thermostats Setting Z-Wave Thermostat 2 Cool setpoint to 73 4/18/2011 10:00:00 PM ZWave Thermostats Aborting poll of this thermostat due to an error retrieving the temperature. Z-Wave Thermostat 2 Node: 2
Leave a comment:
-
Originally posted by stevencroll View PostI am running HS as a stand alone program. It is not a service.
Even with the plugin Disabled I continue to see the 'ZWave Thermostats Status' Page with all the Thermostats listed. I am able to turn my systems on and off. Every indication is that the plugin is actually Enabled and working.
When I toggled the plugin on to off (Enable, Save and then Disable) the version changes to 1.3.0.8. HS must be restarted to get the Plugin Interface to revert back to version 2.5.0.20.
I found the HSPI_ZWAVETHERM.dll in my HS2 directory and it is version 1.3.0.8. I removed the dll and restarted the computer. Even with the plugin Disabled the startup error messages appear. The Thermostats continue to work correctly and the interface version now reads N/A.
I seem to remeber that the ZWave Thermostats are now part of the HS build? Perhaps I have other old files causing this strange behavior that need to be deleted?
What are the specs on your PC , CPU , memory and firmware on the Z-Stick? Did this ever work for you error free or did it just start?
Leave a comment:
-
Guest repliedI am running HS as a stand alone program. It is not a service.
Even with the plugin Disabled I continue to see the 'ZWave Thermostats Status' Page with all the Thermostats listed. I am able to turn my systems on and off. Every indication is that the plugin is actually Enabled and working.
When I toggled the plugin on to off (Enable, Save and then Disable) the version changes to 1.3.0.8. HS must be restarted to get the Plugin Interface to revert back to version 2.5.0.20.
I found the HSPI_ZWAVETHERM.dll in my HS2 directory and it is version 1.3.0.8. I removed the dll and restarted the computer. Even with the plugin Disabled the startup error messages appear. The Thermostats continue to work correctly and the interface version now reads N/A.
I seem to remeber that the ZWave Thermostats are now part of the HS build? Perhaps I have other old files causing this strange behavior that need to be deleted?
Leave a comment:
-
Seems most of my problems have been solved, but I did notice a strange side effect from all my twiddling: my tstat temp is now showing up in Celcius on my status page and I have no idea how to fix it! Everything is in Fahrenheit when I go to the Zwave Thermostats Status page. Any ideas on what caused this or how to fix it?
*EDIT* Grr.. Found it on the setup page. I'm still not sure why this changed but it also changed my log settings as well.Last edited by dinki; April 18, 2011, 08:44 AM.
Leave a comment:
-
Guest repliedYes, I've tried restarting the server with the plug-in disabled and changed various settings of the thermostats. The error continues to persist and I'm not sure if it is anything to worry about. Everything seems to work correctly, but I don't understand the errors. Here is the log file that is shown at start-up.
4/18/2011 12:18:10 AM - ZWave Thermostats - Devices Updated for thermostat: Living Thermostat
4/18/2011 12:18:11 AM - ZWave Thermostats - Error in HSPI.GetModeSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:11 AM - ZWave Thermostats - Error in HSPI.GetCoolSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:11 AM - ZWave Thermostats - Error in HSPI.GetHeatSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:11 AM - ZWave Thermostats - Error in HSPI.GetFanMode, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:11 AM - ZWave Thermostats - Error in HSPI.GetTemp, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:12 AM - ZWave Thermostats - Error in HSPI.GetModeSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:12 AM - ZWave Thermostats - Error in HSPI.GetCoolSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:12 AM - ZWave Thermostats - Error in HSPI.GetHeatSet, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:12 AM - ZWave Thermostats - Error in HSPI.GetFanMode, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:12 AM - ZWave Thermostats - Error in HSPI.GetTemp, Object reference not set to an instance of an object. Plugins may be out of sync, restart HomeSeer
4/18/2011 12:18:18 AM - ZWave Thermostats - Devices Updated for thermostat: Master Thermostat
4/18/2011 12:18:24 AM - ZWave Thermostats - Devices Updated for thermostat: Playroom Thermostat
4/18/2011 12:18:25 AM - ZWave Thermostats - 3 Thermostats converted Successfully.
Leave a comment:
-
Originally posted by stevencroll View PostI am experiencng the same issue while using 2.5.0.20. However, a restart and disabling the plugin will not clear the error messages. I have three themostats and see the same errors on each restart. Any other possible causes? I find it strange that I'm seeing errors at startup even with the plugin disabled.
Leave a comment:
Leave a comment: