Thermostat Enhancement Plugin

Posted on
Thu Mar 20, 2014 5:29 pm
brentb offline
Posts: 29
Joined: Jan 20, 2014

Re: Thermostat Enhancement Plugin

After some use now, my control page is showing a Daily Heat on Duration that keeps going up and up, and does not get reset. Its currently showing 3575 minutes of use today, and of course theres only 1440 minutes in a day. Is there something else I need to edit.

thanks
Brent

Posted on
Mon May 05, 2014 12:33 pm
Catsailor offline
Posts: 6
Joined: Sep 25, 2012

Re: Thermostat Enhancement Plugin

I have been running version 1.11 without any issue then it stopped working and when I reload I find this info in the log. I tried the 1.31 version and had the same error. I'm not clear if the issue is with the plugin or something else, any advice would be appreciated.

May 5, 2014 10:57:38 AM
Thermostat Enhancement Add-On Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 61, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Thermostat.indigoPlugin/Contents/Server Plugin/versioncheck.py", line 26, in VersionCheck
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 124, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 387, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 498, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 425, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 506, in http_error_default
<class 'urllib2.HTTPError'>: HTTP Error 500: Internal Server Error

Thermostat Enhancement Add-On Error exception in deviceStartComm(thremo mon): 'Plugin' object has no attribute 'thermo_index'

Posted on
Sat May 31, 2014 9:37 pm
Catsailor offline
Posts: 6
Joined: Sep 25, 2012

Re: Thermostat Enhancement Plugin

I was not able to determine the root cause but did find that removing the update checking functionality in the plugin.py file that I was able to get thermostat enhancement to work again.

Posted on
Fri Jun 13, 2014 1:16 pm
CraigM offline
Posts: 505
Joined: Oct 28, 2007

Re: Thermostat Enhancement Plugin

Is this Plugin still being supported?

My v1.11 broke somewhere in Indigo 6.x
Installed v1.31, still doesn't work.

Code: Select all
Jun 13, 2014 11:57:18 AM
  Thermostat Enhancement Add-On Error Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 64, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Thermostat.indigoPlugin/Contents/Server Plugin/versioncheck.py", line 26, in VersionCheck
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 124, in urlopen
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 387, in open
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 498, in http_response
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 425, in error
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 506, in http_error_default
<class 'urllib2.HTTPError'>: HTTP Error 500: Internal Server Error

  Thermostat Enhancement Add-On Error exception in deviceStartComm(HVAC Thermostat Enhancement [casita]): 'Plugin' object has no attribute 'thermo_index'
  Thermostat Enhancement Add-On Error exception in deviceStartComm(HVAC Thermostat Enhancement [house]): 'Plugin' object has no attribute 'thermo_index'


Why is the path to the /Indigo 5/ directory?

OS 10.8.4
Indigo 6.0.11
2441V Adapters
Venstar T1800's

Posted on
Mon Jun 16, 2014 9:09 am
Catsailor offline
Posts: 6
Joined: Sep 25, 2012

Re: Thermostat Enhancement Plugin

Not sure how it may be broke for you compared to what I had with v5 on 10.5 but you might try removing the update check like I ended up doing. Not elegant but seem to work for now.


Sent from my iPhone using Tapatalk

Posted on
Mon Jun 16, 2014 11:16 am
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

CraigM wrote:
Is this Plugin still being supported?


I just realized that when Matt & Jay revised the web site, it broke my feedly links.

Yes, it is supported.

CraigM wrote:
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Thermostat.indigoPlugin/Contents/Server Plugin/versioncheck.py", line 26, in VersionCheck


I'm not sure why that would be happening, but it maybe the version check code.

Try https://dl.dropboxusercontent.com/u/241 ... 0v1.32.zip and let me know if that works better.

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Mon Jun 16, 2014 11:18 am
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

brentb wrote:
After some use now, my control page is showing a Daily Heat on Duration that keeps going up and up, and does not get reset. Its currently showing 3575 minutes of use today, and of course theres only 1440 minutes in a day. Is there something else I need to edit.


Brett, can your log around midnight? The plugin should on the next thermostat event after midnight, reset the counts.

Can you check to see if there is a error around that time?

This is one plugin which is next on my rewrite list, mainly to add some additional features (e.g. data reporting features).

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Mon Jun 16, 2014 3:51 pm
CraigM offline
Posts: 505
Joined: Oct 28, 2007

Re: Thermostat Enhancement Plugin

bschollnick2 wrote:

Try https://dl.dropboxusercontent.com/u/241 ... 0v1.32.zip and let me know if that works better.

- Ben

Installed 1.32

I get this at ever temp broadcast
Code: Select all
Jun 16, 2014 2:40:38 PM
  Received INSTEON                "HVAC Thermostat [casita]" temperature changed to 87.0
  Thermostat Enhancement Add-On   HVAC Thermostat [casita] does not have a Thermostat Enhancement Monitor assigned to it.


This at disable
Code: Select all
Disabling plugin "Thermostat Enhancement Add-On 1.32"
  Stopping plugin "Thermostat Enhancement Add-On 1.32" (pid 7881)
  Thermostat Enhancement Add-On Error exception in deviceStopComm(HVAC Thermostat Enhancement [casita]): 'pop(): dictionary is empty'
  Thermostat Enhancement Add-On Error exception in deviceStopComm(HVAC Thermostat Enhancement [house]): 'pop(): dictionary is empty'
  Stopped plugin "Thermostat Enhancement Add-On 1.32"


And this at enable
Code: Select all
Enabling plugin "Thermostat Enhancement Add-On 1.32"
  Starting plugin "Thermostat Enhancement Add-On 1.32" (pid 7905)
  Started plugin "Thermostat Enhancement Add-On 1.32"


All states report 0



EDIT #1:

Ok, so the Disable/Enable seems to have kicked it into gear :)

- Log looks normal [single broadcasts w/ no error]
- Normal "system ran for xx" log entries
- Indigo device UI is not displaying:
CurrentCoolingSetpoint =0
CurrentHeatSetpoint =0

- I'm getting correct UI readings for:
CurrentTemperature
LastUpdated
Everything AC related

EDIT #2:
Now getting CurrentCoolingSetpoint reading [plugin doesn't read until there is a setpoint change]

So far all is good :D I'll see if it resets in 24 hrs.

Thanks

Posted on
Wed Jun 18, 2014 12:43 pm
CraigM offline
Posts: 505
Joined: Oct 28, 2007

Re: Thermostat Enhancement Plugin

Unfortunately, it is not resetting or calculating the data.

I have two Venstars and each logs the same error at the time of 'new day reset' [first use of equipment the next day]

Code: Select all
Thermostat Enhancement Add-On Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 273, in deviceUpdated
  File "plugin.py", line 181, in test_state
<type 'exceptions.KeyError'>: key Last7Daysac not found in dict


Here is an example of todays first run:

Code: Select all
Jun 18, 2014 11:00:00 AM
  Received INSTEON                "HVAC Thermostat [casita]" cool setpoint changed to 88.0
  Received INSTEON                "HVAC Thermostat [casita]" on (button 1)
  Thermostat Enhancement Add-On   Clearing Last Daily Runtime for ac.
  Thermostat Enhancement Add-On   The ac Daily Runtime for Tue Jun 17 21:33:52 2014 was 1052 minutes.
  Thermostat Enhancement Add-On   1052
  Thermostat Enhancement Add-On Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 273, in deviceUpdated
  File "plugin.py", line 181, in test_state
<type 'exceptions.KeyError'>: key Last7Daysac not found in dict



Jun 18, 2014 11:10:04 AM
  Received INSTEON                "HVAC Thermostat [casita]" off (button 1)
  Thermostat Enhancement Add-On   The ac System ran for 819 minutes (Hours: 13.0)

As you can see the actual runtime was 10 minutes, but calculated as 819 minutes

The daily run [as displayed on my CP] started at 1052, which is grossly off, and is now 1871 [1052+819]

The next runs are as follows:
Code: Select all
Jun 18, 2014 11:18:46 AM
  Received INSTEON                "HVAC Thermostat [casita]" on (button 1)

Jun 18, 2014 11:24:07 AM
  Received INSTEON                "HVAC Thermostat [casita]" off (button 1)
  Thermostat Enhancement Add-On   The ac System ran for 5 minutes (Hours: 0.0)

Jun 18, 2014 11:33:24 AM
  Received INSTEON                "HVAC Thermostat [casita]" on (button 1)

Jun 18, 2014 11:38:30 AM
  Received INSTEON                "HVAC Thermostat [casita]" off (button 1)
  Thermostat Enhancement Add-On   The ac System ran for 5 minutes (Hours: 0.0)

Posted on
Wed Jun 18, 2014 4:27 pm
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

CraigM wrote:
Unfortunately, it is not resetting or calculating the data.

I have two Venstars and each logs the same error at the time of 'new day reset' [first use of equipment the next day]

Code: Select all
Thermostat Enhancement Add-On Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 273, in deviceUpdated
  File "plugin.py", line 181, in test_state
<type 'exceptions.KeyError'>: key Last7Daysac not found in dict


Here is an example of todays first run:

Code: Select all
Jun 18, 2014 11:00:00 AM
  Received INSTEON                "HVAC Thermostat [casita]" cool setpoint changed to 88.0
  Received INSTEON                "HVAC Thermostat [casita]" on (button 1)
  Thermostat Enhancement Add-On   Clearing Last Daily Runtime for ac.
  Thermostat Enhancement Add-On   The ac Daily Runtime for Tue Jun 17 21:33:52 2014 was 1052 minutes.
  Thermostat Enhancement Add-On   1052
  Thermostat Enhancement Add-On Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 273, in deviceUpdated
  File "plugin.py", line 181, in test_state
<type 'exceptions.KeyError'>: key Last7Daysac not found in dict


Okay, I will take a look, and see what I can find regarding this.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Jun 18, 2014 10:34 pm
kw123 offline
User avatar
Posts: 5464
Joined: May 12, 2013
Location: Dallas, TX

Re: Thermostat Enhancement Plugin

By the way with indigoplotD you can get a plot of the number of minutes "on":

select the thermostat , state: AC and measurement: "Count" - not average-- that will count the number of minutes "on" per Day and per Hour and per 5minute interval and make a plot out of it!


Karl.

Posted on
Thu Jun 19, 2014 6:27 am
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

bschollnick2 wrote:
CraigM wrote:
Thermostat Enhancement Add-On Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 273, in deviceUpdated
File "plugin.py", line 181, in test_state
<type 'exceptions.KeyError'>: key Last7Daysac not found in dict
[/code]


Okay, I will take a look, and see what I can find regarding this.


Craig,

This error doesn't make sense.

The code in question is attempting to update the Last7Daysac state in the Thermostat Enhancement plugin.

Can you please check to see if that state exists in your TE plugin monitor. (You do have a monitor defined?)

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jun 19, 2014 12:17 pm
CraigM offline
Posts: 505
Joined: Oct 28, 2007

Re: Thermostat Enhancement Plugin

bschollnick2 wrote:

Craig,

This error doesn't make sense.

The code in question is attempting to update the Last7Daysac state in the Thermostat Enhancement plugin.

Can you please check to see if that state exists in your TE plugin monitor. (You do have a monitor defined?)

- Benjamin


I have:
2 thermostats
2 TE devices, each targeting a thermostat, all TE prefs are un-checked
house.png
house.png (77.74 KiB) Viewed 2902 times

casita.png
casita.png (76.6 KiB) Viewed 2902 times


Is there any significance to the error Last7Daysac and the TE Last7DaysAC ?

Posted on
Thu Jun 19, 2014 1:00 pm
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

CraigM wrote:
bschollnick2 wrote:
Is there any significance to the error Last7Daysac and the TE Last7DaysAC ?


Quite frankly. Yes, being a dictionary, it is case sensitive, but I don't see why I wouldn't be seeing that on my version.

I will be testing this later today, and seeing what might need to be done.

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 20, 2014 9:24 pm
bschollnick2 offline
Posts: 1297
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Thermostat Enhancement Plugin

bschollnick2 wrote:
CraigM wrote:
bschollnick2 wrote:
Is there any significance to the error Last7Daysac and the TE Last7DaysAC ?


Quite frankly. Yes, being a dictionary, it is case sensitive, but I don't see why I wouldn't be seeing that on my version.

I will be testing this later today, and seeing what might need to be done.


Drop me a line at Benjamin DOT schollnick DOT net. I have a version for testing, that should resolve this issue.

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Who is online

Users browsing this forum: No registered users and 1 guest