Proliphix™ Plugin Discussion

Posted on
Mon Mar 25, 2013 6:40 pm
ethanw offline

Re: Proliphix™ Plugin Discussion

2.b1 don't work for me. I get all kind of red errors :( Should I paste it here?

Posted on
Mon Mar 25, 2013 6:49 pm
berkinet offline
User avatar
Posts: 3404
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Proliphix™ Plugin Discussion

Here is v1.9.5. It should be stable.

Posted on
Mon Mar 25, 2013 8:08 pm
ethanw offline

Re: Proliphix™ Plugin Discussion

Still no go. Here is what I get:



Mar 25, 2013 9:06:34 PM
Enabling plugin "Proliphix Thermostat Control 1.9.5"
Starting plugin "Proliphix Thermostat Control 1.9.5" (pid 82514)
Started plugin "Proliphix Thermostat Control 1.9.5"
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Proliphix Thermostat Control Error readTstat: Parse error in data for Device THERM-DOWNSTAIRS... OID: OID4.1.3, Object: thermFanMode, Value: 1
Proliphix Thermostat Control Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 188, in runConcurrentThread
File "plugin.py", line 466, in readTstat
<type 'exceptions.ValueError'>: ElementWrongTypeError -- device "THERM-DOWNSTAIRS" class type indigo.device is not compatible with request for type indigo.thermostat

Proliphix Thermostat Control Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Proliphix Thermostat Control Error readTstat: Parse error in data for Device THERM-DOWNSTAIRS... OID: OID4.1.3, Object: thermFanMode, Value: 1
Proliphix Thermostat Control Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 209, in runConcurrentThread
File "plugin.py", line 466, in readTstat
<type 'exceptions.ValueError'>: ElementWrongTypeError -- device "THERM-DOWNSTAIRS" class type indigo.device is not compatible with request for type indigo.thermostat

Proliphix Thermostat Control Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Error device "THERM-DOWNSTAIRS" state key hvacOperationMode not defined (ignoring update request)
Proliphix Thermostat Control Error readTstat: Parse error in data for Device THERM-DOWNSTAIRS... OID: OID4.1.3, Object: thermFanMode, Value: 1
Proliphix Thermostat Control Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 209, in runConcurrentThread
File "plugin.py", line 466, in readTstat
<type 'exceptions.ValueError'>: ElementWrongTypeError -- device "THERM-DOWNSTAIRS" class type indigo.device is not compatible with request for type indigo.thermostat

Proliphix Thermostat Control Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Tue Mar 26, 2013 9:08 am
berkinet offline
User avatar
Posts: 3404
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Proliphix™ Plugin Discussion

It looks like you have an incompatibility between the Indigo thermostat device and the plugin version. Try deleting the thermostat device and recreating it.

Posted on
Tue Mar 26, 2013 7:42 pm
ethanw offline

Re: Proliphix™ Plugin Discussion

Nice and you're SPOT ON. Thanks MUCH mate. All is working good now. Good stuff :-)

berkinet wrote:
It looks like you have an incompatibility between the Indigo thermostat device and the plugin version. Try deleting the thermostat device and recreating it.

Posted on
Mon Jun 03, 2013 10:49 pm
ethanw offline

Re: Proliphix™ Plugin Discussion

It looks like beta 8 broke this plugin? I get a lot of this "Updating" (every second and hundreds of them) and I can't access the configuration options at all. When I try running the configuration I get the error bellow

Error (client) timeout waiting for plugin response from com.berkinet.ProliphixControl for request UiGetValues1
Error (client) timeout waiting for plugin response from com.berkinet.ProliphixControl for request CallPluginFunc
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]


Jun 3, 2013 11:45:04 PM
Enabling plugin "Proliphix Thermostat Control 1.9.5"
Starting plugin "Proliphix Thermostat Control 1.9.5" (pid 16467)
Proliphix Thermostat Control Log level preferences are set to "Normal".
Started plugin "Proliphix Thermostat Control 1.9.5"
Proliphix Thermostat Control Plugin Starting
Proliphix Thermostat Control Your plugin version, v1.9.5, is current.
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Plugin started. Polling thermostats every 5.0 minutes with a 8.0 second timeout
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-COMPUTER
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS
Proliphix Plugin Updating Proliphix Thermostat device list on device update: THERM-DOWNSTAIRS

Posted on
Tue Jun 04, 2013 7:09 am
matt (support) offline
Site Admin
User avatar
Posts: 20033
Joined: Jan 27, 2003
Location: Texas

Re: Proliphix™ Plugin Discussion

It looks like this plugin also need to have its usage of deviceUpdated() modified. In general plugins should use deviceStartComm() and deviceStopComm() and not deviceUpdated(), and if deviceUpdated() is called it should always call the parent/base class implementation.

Image

Posted on
Tue Jun 04, 2013 10:52 am
berkinet offline
User avatar
Posts: 3404
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Proliphix™ Plugin Discussion

matt (support) wrote:
It looks like this plugin also need to have its usage of deviceUpdated() modified. In general plugins should use deviceStartComm() and deviceStopComm() and not deviceUpdated(), and if deviceUpdated() is called it should always call the parent/base class implementation.


Thanks Matt. I will get these changes out this weekend.

Posted on
Tue Jun 04, 2013 6:58 pm
ethanw offline

Re: Proliphix™ Plugin Discussion

Awesome guys. Take your time. No pressure. Plenty of time Thanks all again

Posted on
Fri Jul 12, 2013 1:12 am
ethanw offline

Re: Proliphix™ Plugin Discussion

Any news on this plugin please?

Posted on
Fri Jul 12, 2013 2:24 am
berkinet offline
User avatar
Posts: 3404
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Proliphix™ Plugin Discussion

Sorry 'bout that :oops: Version 1.9.6 is now available on dropbox and it fixes the update problem.

Posted on
Fri Jul 12, 2013 10:38 am
ethanw offline

Re: Proliphix™ Plugin Discussion

Awesome and thanks much Sir. It works perfect. Many thanks


berkinet wrote:
Sorry 'bout that :oops: Version 1.9.6 is now available on dropbox and it fixes the update problem.

Posted on
Sat Sep 07, 2013 8:57 am
asw24b offline
Posts: 222
Joined: Dec 30, 2007
Location: Los Altos Hills, CA

Re: Proliphix™ Plugin Discussion

berkinet wrote:
Sorry 'bout that :oops: Version 1.9.6 is now available on dropbox and it fixes the update problem.



I am getting 2 errors when I create a new device:



Proliphix Thermostat Control Error Error in plugin execution ServerAddedElem:

Traceback (most recent call last):
File "plugin.py", line 514, in deviceCreated
<type 'exceptions.KeyError'>: key NumHumidityInputs not found in dict





followed by:


Error (client) illegal state key hvacHeaterIsOn defined by plugin -- native state keys cannot be overriden (ignoring)
Error (client) illegal state key hvacCoolerIsOn defined by plugin -- native state keys cannot be overriden (ignoring)




I should mention that I have set humidity inputs to 0. I have a 350W; Maybe that needs to be set to 1...

Posted on
Sat Sep 07, 2013 9:00 am
asw24b offline
Posts: 222
Joined: Dec 30, 2007
Location: Los Altos Hills, CA

Re: Proliphix™ Plugin Discussion

asw24b wrote:
berkinet wrote:
Sorry 'bout that :oops: Version 1.9.6 is now available on dropbox and it fixes the update problem.



I am getting 2 errors when I create a new device:



Proliphix Thermostat Control Error Error in plugin execution ServerAddedElem:

Traceback (most recent call last):
File "plugin.py", line 514, in deviceCreated
<type 'exceptions.KeyError'>: key NumHumidityInputs not found in dict





followed by:


Error (client) illegal state key hvacHeaterIsOn defined by plugin -- native state keys cannot be overriden (ignoring)
Error (client) illegal state key hvacCoolerIsOn defined by plugin -- native state keys cannot be overriden (ignoring)




I should mention that I have set humidity inputs to 0. I have a 350W; Maybe that needs to be set to 1...



If I set the humidity input number to 1, I get these errors:


Error device "Thermostat - IMT350W" state key humidityInput1 not defined (ignoring update request)
Error device "Thermostat - IMT350W" state key humidityInputsAll not defined (ignoring update request)
Error device "Thermostat - IMT350W" state key humidityInput1 not defined (ignoring update request)



But, the UI does show the correct humidity...


Mike

Posted on
Sun Sep 08, 2013 9:58 am
berkinet offline
User avatar
Posts: 3404
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Proliphix™ Plugin Discussion

There is something odd going on... I've posted a topic on the Extending Indigo with Plugins and Python board to see if Matt or Jay have some ideas. In the meantime, I found that if you restart the plugin, open the Device, click Edit Device Settings..., click Save and close the problem will clear. You may have to repeat this procedure twice.

Let me know if this gets things going for you.

Who is online

Users browsing this forum: No registered users and 1 guest