New Plugin: Cynical Behaviors

Posted on
Wed Oct 19, 2016 3:21 pm
george99 offline
Posts: 224
Joined: May 27, 2015

Re: New Plugin: Cynical Behaviors

Perry, it had nothing to do with the computer.
I just installed Indigo on a Mac Mini freshly restored to factory settings. Indigo is pretty much the only 3rd party software on the computer. (Growl too).
Same issue. Absolutely no response.
Any ideas?
Thanks.

Posted on
Wed Oct 19, 2016 4:16 pm
FlyingDiver online
User avatar
Posts: 7216
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin: Cynical Behaviors

Is the state getting updated and the triggers just aren't firing? Or is the state not changing when you activate the sensors?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Oct 19, 2016 10:01 pm
george99 offline
Posts: 224
Joined: May 27, 2015

Re: New Plugin: Cynical Behaviors

Hi Joe,
In the devices screen, the state remains blank.
In the log, nothing happens other than the insteon sensor itself updating.

Posted on
Wed Oct 19, 2016 11:12 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: New Plugin: Cynical Behaviors

george99 wrote:
Hi Joe,
In the devices screen, the state remains blank.
In the log, nothing happens other than the insteon sensor itself updating.

If you haven't done it yet, open the Configure... dialog for Cynical Behaviors and check the Debug checkbox. Then reload the plugin, trigger one of your leak sensor devices, and attach here (or send me) the Indigo log from when you reloaded the plugin.

Cheers
-- perry

Posted on
Wed Oct 19, 2016 11:36 pm
george99 offline
Posts: 224
Joined: May 27, 2015

Re: New Plugin: Cynical Behaviors

Oct 20, 2016, 1:34:10 AM
Updated "Leak - Danielle Bathroom" off
Reloading plugin "Cynical Behaviors 1.0.3"
Stopping plugin "Cynical Behaviors 1.0.3" (pid 960)
Cynical Behaviors shutdown sensed
Cynical Behaviors Leak Test stopping
Cynical Behaviors Leak Watch stopping
Stopped plugin "Cynical Behaviors 1.0.3"
Starting plugin "Cynical Behaviors 1.0.3" (pid 965)
Cynical Behaviors API version 1.20
Cynical Behaviors Python version 2.6.9.final.0
Started plugin "Cynical Behaviors 1.0.3"
Cynical Behaviors mapping device "Leak Test" 673000262(leakwatch)
Cynical Behaviors Leak Test starting
Cynical Behaviors checking all leak sensors; tolerance 262800 seconds
Cynical Behaviors mapping "AC - DOWN - Water Detector" 764263504 [built-in InsteonDevice]
Cynical Behaviors AC - DOWN - Water Detector starting
Cynical Behaviors mapping "AC - Electronics - LEAK SENSOR" 640358107 [built-in InsteonDevice]
Cynical Behaviors AC - Electronics - LEAK SENSOR starting
Cynical Behaviors mapping "AC - UP - Water Detector" 830274435 [built-in InsteonDevice]
Cynical Behaviors AC - UP - Water Detector starting
Cynical Behaviors mapping "Leak - Danielle Bathroom" 762782331 [built-in InsteonDevice]
Cynical Behaviors Leak - Danielle Bathroom starting
Cynical Behaviors mapping "Leak - Guy Bathroom" 33842602 [built-in InsteonDevice]
Cynical Behaviors Leak - Guy Bathroom starting
Cynical Behaviors mapping "Leak - Hailey Bathroom" 1927235780 [built-in InsteonDevice]
Cynical Behaviors Leak - Hailey Bathroom starting
Cynical Behaviors mapping "Leak - Master Bathroom" 1729289775 [built-in InsteonDevice]
Cynical Behaviors Leak - Master Bathroom starting
Cynical Behaviors mapping "Leak Dishwasher" 1976605905 [built-in InsteonDevice]
Cynical Behaviors Leak Dishwasher starting
Cynical Behaviors mapping "Leak Downstairs Bathroom" 139789144 [built-in InsteonDevice]
Cynical Behaviors Leak Downstairs Bathroom starting
Cynical Behaviors mapping "Leak Kitchen Sink" 50184861 [built-in InsteonDevice]
Cynical Behaviors Leak Kitchen Sink starting
Cynical Behaviors mapping "Leak Laundry" 1730017185 [built-in InsteonDevice]
Cynical Behaviors Leak Laundry starting
Cynical Behaviors mapping device "Leak Watch" 1951154079(leakwatch)
Cynical Behaviors Leak Watch starting
Cynical Behaviors checking all leak sensors; tolerance 262800 seconds
Cynical Behaviors Leak Downstairs Bathroom last heartbeat Wed Oct 19 05:12:13 2016 delta 73332.829499006271
Cynical Behaviors Leak Laundry last heartbeat Wed Oct 19 07:05:28 2016 delta 66537.768949985504
Cynical Behaviors AC - UP - Water Detector last heartbeat Wed Oct 19 12:13:13 2016 delta 48072.882544994354
Cynical Behaviors Leak - Hailey Bathroom last heartbeat Wed Oct 19 07:58:40 2016 delta 63345.574902057648
Cynical Behaviors Leak - Guy Bathroom last heartbeat Wed Oct 19 04:09:50 2016 delta 77075.641252040863
Cynical Behaviors Leak - Master Bathroom last heartbeat Wed Oct 19 08:01:10 2016 delta 63195.494009017944
Cynical Behaviors AC - DOWN - Water Detector last heartbeat Wed Oct 19 10:55:33 2016 delta 52732.803801059723
Cynical Behaviors Leak Dishwasher last heartbeat Wed Oct 19 18:13:36 2016 delta 26449.110265016556
Cynical Behaviors Leak - Danielle Bathroom last heartbeat Wed Oct 19 07:40:33 2016 delta 64432.409185171127
Cynical Behaviors AC - Electronics - LEAK SENSOR last heartbeat Wed Oct 19 13:53:03 2016 delta 42082.411269187927
Cynical Behaviors Leak Kitchen Sink last heartbeat Wed Oct 19 20:54:37 2016 delta 16788.303254127502
Cynical Behaviors plugin starting asyn operation
Updated "Leak - Danielle Bathroom" on

Posted on
Mon Oct 24, 2016 9:47 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: New Plugin: Cynical Behaviors

George, I don't quite know what to tell you. The log is normal, and when I try this with one of my eight leak sensors, it goes off like it should. What are the states of the leak monitor device after you shorted the sensor?

Cheers
-- perry

Posted on
Mon Oct 24, 2016 10:01 pm
george99 offline
Posts: 224
Joined: May 27, 2015

Re: New Plugin: Cynical Behaviors

They show blank. State is not being changed/updated.
However, I didn't actually short the sensor. I just changed the state from Indigo. This works for other triggers. But I'll go try to actually short it, and post an update here

Posted on
Mon Oct 24, 2016 10:17 pm
george99 offline
Posts: 224
Joined: May 27, 2015

Re: New Plugin: Cynical Behaviors

That was it!
It works when I actually short out a sensor as opposed to just turning it on from Indigo.
Thanks for the help!

Posted on
Tue Nov 15, 2016 10:03 am
davvi offline
User avatar
Posts: 110
Joined: Sep 27, 2011
Location: Austin, TX

Re: New Plugin: Cynical Behaviors

Anyone else getting an error from Cynical Behaviors (Garage Door) after upgrading to Indigo 7?

Code: Select all
   Cynical Behaviors Error         ignoring unrecognized standard action <indigo.DeviceAction object at 0x1130bcb18>

Posted on
Wed Nov 16, 2016 2:01 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: New Plugin: Cynical Behaviors

[quote="davvi"]Anyone else getting an error from Cynical Behaviors (Garage Door) after upgrading to Indigo 7?

Make sure you have the latest version (1.0.3 or later) of the plugin. Earlier ones won't work with Indigo 7.

Cheers
-- perry

Posted on
Wed Nov 16, 2016 6:46 pm
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: New Plugin: Cynical Behaviors

I started getting an error on both Behaviors and Cache plugins and they seem similar here is both. The Cache Plugin seems to be working fine but I get the error when I try to open the config



Nov 16, 2016, 7:39:25 PM
Stopping plugin Cynical Behaviors (pid 804)
Stopped plugin Cynical Behaviors
Upgrading plugin Cynical Behaviors to newer version 1.0.3 (previous version moved to trash)
Loading plugin "Cynical Behaviors 1.0.3"
Starting plugin "Cynical Behaviors 1.0.3" (pid 11815)
Cynical Behaviors API version 2.0
Cynical Behaviors Python version 2.7.10.final.0
Started plugin "Cynical Behaviors 1.0.3"
Error (client) getXmlFromPlugin() caught exception: incorrect type returned (expected XML string)
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Cynical Behaviors Error in getPrefsConfigUiXml:
File ".../Server Plugin/cyin/plug.py", line 302, in getPrefsConfigUiXml
return self._ui._xml(indigo.PluginBase.getPrefsConfigUiXml(self), "plugin")
File ".../Server Plugin/cyin/configui.py", line 94, in _xml
uixml = ElementTree.XML(xml.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 314: ordinal not in range(128)


Nov 16, 2016, 7:45:47 PM
Reloading plugin "Cynical Caché 1.7.0"
Stopping plugin "Cynical Caché 1.7.0" (pid 11827)
Stopped plugin "Cynical Caché 1.7.0"
Starting plugin "Cynical Caché 1.7.0" (pid 11891)
Cynical Caché API version 2.0
Cynical Caché Python version 2.7.10.final.0
Started plugin "Cynical Caché 1.7.0"
Error (client) getXmlFromPlugin() caught exception: incorrect type returned (expected XML string)
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Cynical Caché Error in getPrefsConfigUiXml:
File ".../Server Plugin/cyin/plug.py", line 297, in getPrefsConfigUiXml
return self._ui._xml(indigo.PluginBase.getPrefsConfigUiXml(self), "plugin")
File ".../Server Plugin/cyin/configui.py", line 94, in _xml
uixml = ElementTree.XML(xml.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 103: ordinal not in range(128)

Posted on
Wed Nov 16, 2016 7:25 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: New Plugin: Cynical Behaviors

Yeah, that. :-)

I had the final updates all staged up, and then I went on a nice trip to the other coast while Indigo 7 actually dropped... and those updates didn't make it out until five minutes ago.

So... fetch updates, should be better now. Sorry 'bout that.

Cheers
-- perry

Posted on
Tue Nov 22, 2016 8:20 pm
davvi offline
User avatar
Posts: 110
Joined: Sep 27, 2011
Location: Austin, TX

Re: New Plugin: Cynical Behaviors

Updated to 1.0.5, all is well. Thank you. Now I can continue using THIS thing to control the garage door.
Attachments
ioLincGarage.jpg
ioLincGarage.jpg (320.54 KiB) Viewed 4475 times

Posted on
Wed Nov 23, 2016 6:37 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: New Plugin: Cynical Behaviors

davvi wrote:
Updated to 1.0.5, all is well. Thank you. Now I can continue using THIS thing to control the garage door.

That looks... familiar. (When I rebuilt the house, I switched to using a bog-standard INSTEON door sensor and a Global Caché contact relay, but before that, mine looked a lot like this, only less tidy. :-))

Cheers
-- perry

Who is online

Users browsing this forum: No registered users and 5 guests