Page 5 of 8

Re: Proliphix™ Plugin Discussion

PostPosted: Mon Mar 25, 2013 6:40 pm
by ethanw
2.b1 don't work for me. I get all kind of red errors :( Should I paste it here?

Re: Proliphix™ Plugin Discussion

PostPosted: Mon Mar 25, 2013 6:49 pm
by berkinet
Here is v1.9.5. It should be stable.

Re: Proliphix™ Plugin Discussion

PostPosted: Mon Mar 25, 2013 8:08 pm
by ethanw
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)

Re: Proliphix™ Plugin Discussion

PostPosted: Tue Mar 26, 2013 9:08 am
by berkinet
It looks like you have an incompatibility between the Indigo thermostat device and the plugin version. Try deleting the thermostat device and recreating it.

Re: Proliphix™ Plugin Discussion

PostPosted: Tue Mar 26, 2013 7:42 pm
by ethanw
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.

Re: Proliphix™ Plugin Discussion

PostPosted: Mon Jun 03, 2013 10:49 pm
by ethanw
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

Re: Proliphix™ Plugin Discussion

PostPosted: Tue Jun 04, 2013 7:09 am
by matt (support)
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.

Re: Proliphix™ Plugin Discussion

PostPosted: Tue Jun 04, 2013 10:52 am
by berkinet
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.

Re: Proliphix™ Plugin Discussion

PostPosted: Tue Jun 04, 2013 6:58 pm
by ethanw
Awesome guys. Take your time. No pressure. Plenty of time Thanks all again

Re: Proliphix™ Plugin Discussion

PostPosted: Fri Jul 12, 2013 1:12 am
by ethanw
Any news on this plugin please?

Re: Proliphix™ Plugin Discussion

PostPosted: Fri Jul 12, 2013 2:24 am
by berkinet
Sorry 'bout that :oops: Version 1.9.6 is now available on dropbox and it fixes the update problem.

Re: Proliphix™ Plugin Discussion

PostPosted: Fri Jul 12, 2013 10:38 am
by ethanw
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.

Re: Proliphix™ Plugin Discussion

PostPosted: Sat Sep 07, 2013 8:57 am
by asw24b
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...

Re: Proliphix™ Plugin Discussion

PostPosted: Sat Sep 07, 2013 9:00 am
by asw24b
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

Re: Proliphix™ Plugin Discussion

PostPosted: Sun Sep 08, 2013 9:58 am
by berkinet
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.