Not able to create sensors.

Posted on
Wed Jan 16, 2019 8:03 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Not able to create sensors.

I was able to create door sensors but when I bring up the sensors window nothing shows in the drop down box. I had selected to use pibeacon for plugin.
I am also getting some errors in the log

Attached errors

Thanks
Attachments
FDEB813C-2B12-4302-9E69-A78C2F97E3B1.png
FDEB813C-2B12-4302-9E69-A78C2F97E3B1.png (434.9 KiB) Viewed 2968 times

Posted on
Wed Jan 16, 2019 11:35 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Not able to create sensors.

1. config is not important to start (debug, name of events / folders ...)
2. in menu: define plugin to be used: select eg pibeacon/ fingscan.. ( if this is not done, you can not go to step 3. also "BC" (broadcast) has to be enabled in eg piBeacon (in config of THAT plugin)
3 define on/off devices, should be self plaining, you should see all qualifying devices from #2
4. define door type devices, you should see a LONG list, anything that is on/off 0/1 ...
5. create a TRIGGER event, select home away, select one of the many options eg one device must be home ( start slowly with just ONE on/off device, then add a door,)
Then fill out the trigger/event form:
-you can skip the veto part, that is icing on the cake. = additional condition, eg variable vacation must be false , if true nothing will happen
-fill out the timing info eg time between 2 trigger = 5 minutes, delay after sensors trigger can be 0 for eg beacons, since they already have a delay / expiration build in. here you can just add to that time
-fill out the bottom: ie select device defined in # 3

once that works add a door in # 5.

The error message comes from an ill-defined trigger/event= not all props filled out, likely "minTimeTriggerBeforeRepeat"

will add a check for that .

hope that helps


Karl

Posted on
Thu Jan 17, 2019 10:31 am
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: Not able to create sensors.

Thanks

I still see this error

homeAway Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 681, in filterExistingDevices
KeyError: key id 470916034 not found in database

Posted on
Thu Jan 17, 2019 10:33 am
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: Not able to create sensors.

This is the step I have the problem with and generates the error above

3 define on/off devices, should be self plaining, you should see all qualifying devices from #2

It shows nothing in the list to create

Posted on
Thu Jan 17, 2019 10:41 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Not able to create sensors.

did you enable BC in pibeacon? and enable plugins ?
Attachments
Screen Shot 2019-01-17 at 10.40.30.png
Screen Shot 2019-01-17 at 10.40.30.png (88.63 KiB) Viewed 2900 times
Screen Shot 2019-01-17 at 10.39.09.png
Screen Shot 2019-01-17 at 10.39.09.png (6.98 KiB) Viewed 2900 times

Posted on
Thu Jan 17, 2019 11:04 am
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: Not able to create sensors.

Yes I did. I have a feeling it may be related to a prior sensor that I had setup the first time I was trying it. Deleted that sensor and perhaps this time around whee I am trying it again there are some old entries it is looking for
Reloading plugin "homeAway 7.2.8"
Stopping plugin "homeAway 7.2.8" (pid 51042)
homeAway stopping plugin due to: ::::: restart / self.stop requested :::::
Stopped plugin "homeAway 7.2.8"
Starting plugin "homeAway 7.2.8" (pid 53071)
homeAway setting parameters for indigo version: >>2<<
Started plugin "homeAway 7.2.8"
homeAway initializing ... variables, directories, ...
homeAway startup my pluginid: com.karlwachs.homeAway
homeAway logfile handling: regular indigo logfile
homeAway getDebugSettings: []
homeAway initialized
homeAway getDEVICEstates in Line '1137' has error='invalid literal for int() with base 10: '''
{u'1515313852:::status': {u'used': False, u'name': u'new-10-80:A5:89:E1:63:8A', u'up': {u'lastChange': 1547742853.175795, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u':::': {u'used': False, u'name': u'', u'up': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': u'', u'state': u''}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': u'', u'state': u''}, u'pluginId': u'', u'valueForON': u''}, u'1008733253:::status': {u'used': False, u'name': u'new-10-F0:03:8C:13:38:EA', u'up': {u'lastChange': 1547743183.732127, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547743183.732131, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'70465322:::closestRPI': {u'used': False, u'name': u'beacon_Truck Keys', u'pluginId': u'com.karlwachs.piBeacon', u'up': {u'lastChange': 1545541624.0, u'delayTime': 120.0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1545541624.0, u'delayTime': 120.0, u'signalReceived': True, u'state': u''}, u'state': u'closestRPI', u'valueForON': u''}, u'772702897:::status': {u'used': False, u'name': u'new-8-44:73:D6:0A:D4:35', u'up': {u'lastChange': 1547743543.659365, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547743543.65937, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'543231297:::status': {u'used': False, u'name': u'new-10-24:92:0E:94:75:88', u'up': {u'lastChange': 1547743603.179846, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547743603.179851, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'470916034:::status': {u'used': True, u'name': u'Duilio iPhone BLE in Garage', u'up': {u'lastChange': 1547695576.37524, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547695576.375244, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.piBeacon', u'valueForON': u'up'}, u'289922445:::status': {u'used': False, u'name': u'new-10-C4:84:66:26:28:38', u'up': {u'lastChange': 1547742853.175795, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'1410026871:::status': {u'used': False, u'name': u'new-10-B4:7C:9C:45:AD:40', u'up': {u'lastChange': 1547743483.322227, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547743483.32223, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'16909455:::status': {u'used': False, u'name': u'new-2-D4:A3:3D:D7:6E:3A', u'up': {u'lastChange': 1547742853.175795, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'286392411:::status': {u'used': False, u'name': u'new-9-F8:6F:C1:9B:AA:2B', u'up': {u'lastChange': 1547742853.175795, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'110677262:::status': {u'used': False, u'name': u'new-10-1C:23:2C:1A:83:DD', u'up': {u'lastChange': 1547744545.224871, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1547744545.224874, u'delayTime': 0, u'signalReceived': True, u'state': u'away'}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'404490244:::status': {u'used': False, u'name': u'new-10-A4:F1:E8:3A:2E:98', u'up': {u'lastChange': 1547742853.175795, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 0, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'1090278647:::status': {u'used': False, u'name': u'new-10-E0:B5:2D:B6:31:AC', u'up': {u'lastChange': 1547744545.224871, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1547744545.224874, u'delayTime': 0, u'signalReceived': True, u'state': u'away'}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'1890626506:::status': {u'used': False, u'name': u'new-10-00:04:20:F2:E2:78', u'up': {u'lastChange': 1547743483.379747, u'delayTime': 0, u'signalReceived': True, u'state': u'home'}, u'down': {u'lastChange': 1547743483.37975, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'pluginId': u'com.karlwachs.fingscan', u'valueForON': u'up'}, u'814785286:::status': {u'used': False, u'name': u'beacon_7A:07:AD:9E:B4:0D', u'up': {u'lastChange': 1547744545.224871, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1547744545.224874, u'delayTime': 0, u'signalReceived': True, u'state': u'away'}, u'pluginId': u'com.karlwachs.piBeacon', u'valueForON': u'up'}, u'641721908:::closestRPI': {u'used': False, u'name': u'beacon_Car Keys', u'pluginId': u'com.karlwachs.piBeacon', u'up': {u'lastChange': 1545541624.0, u'delayTime': 120.0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1545541624.0, u'delayTime': 120.0, u'signalReceived': True, u'state': u''}, u'state': u'closestRPI', u'valueForON': u''}, u'1347483530:::status': {u'used': False, u'name': u'beacon_6B:88:07:95:41:86', u'up': {u'lastChange': 1547744545.224871, u'delayTime': 0, u'signalReceived': False, u'state': u''}, u'down': {u'lastChange': 1547744545.224874, u'delayTime': 0, u'signalReceived': True, u'state': u'away'}, u'pluginId': u'com.karlwachs.piBeacon', u'valueForON': u'up'}}
homeAway Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 681, in filterExistingDevices
ValueError: invalid literal for int() with base 10: ''

Posted on
Thu Jan 17, 2019 11:14 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Not able to create sensors.

I am out til later today. Will. Check this evening.


Sent from my iPhone using Tapatalk

Posted on
Thu Jan 17, 2019 11:35 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Not able to create sensors.

there is one dev u':::': {u'used': Fa....
that has no id / state defined
should be like:
1515313852:::status

could you stop the plugin and delete ~/indigo/homeAway/SENSORS

then restart the plugin

Posted on
Thu Jan 17, 2019 12:14 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Not able to create sensors.

did a quick fix that should get rid of these bad devices.
https://www.dropbox.com/s/l5z3vuo1kzezsgu/homeAway.indigoPlugin.zip?dl=1

Posted on
Thu Jan 17, 2019 6:12 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: Not able to create sensors.

Thanks, deleting that sensors file fixed it

thanks so much

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest