pibeacon error looping in the indigo event window.

Posted on
Mon Jul 24, 2017 8:30 pm
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

pibeacon error looping in the indigo event window.

I just installed my Rpi 3 today with the latest plug in while running indigo 6. This error keeps looping. I cannot find any reference to this in the forum. Is this normal?

Thank you
Kevin

piBeacon in Line '10577' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'

Posted on
Mon Jul 24, 2017 8:59 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

As I don't have indigo 7 I can't test this. This is the line where the plugin tries to update the device state. ... it should work. Cold you switch debug on ? It's going to be a lot. I just need the lines before and after that error message.


Sent from my iPhone using Tapatalk

Posted on
Mon Jul 24, 2017 9:14 pm
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

Re: pibeacon error looping in the indigo event window.

Thank you,


I turned on all logging. Here is the last error of many looping with everything until the error again.

Code: Select all
2017-07-24 20:11:02.365   piBeacon   in Line '10577' has error='Python argument types in
    Device.updateStateOnServer(Device, dict)
did not match C++ signature:
    updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'
2017-07-24 20:11:09.721   piBeacon   variable changed-----------------------------------
 description :
folderId : 1236140848
globalProps : MetaProps : (dict)
id : 960619410
name : pi_IN_0
pluginProps : com.karlwachs.piBeacon : (dict)
readOnly : False
remoteDisplay : True
value : {"msgs":[["4A:F2:4F:9F:1F:90",1,"0-0-0",-85.0,0.0,82,"",11],["D0:03:4B:0B:AC:0A",1,"0-0-0",-44.7,0.0,81,"",11],["88:C6:26:8A:06:83",1,"0-0-0",-97.2,18.0,19,"",27],["3F:66:70:43:74:E7",1,"0-0-0",-77.9,63.0,81,"",15],["D0:03:4B:40:E3:31",1,"0-0-0",-87.1,0.0,82,"",11],["24:4B:03:22:D8:F7",1,"0-0-0",-98.0,0.0,3,"",31],["B8:78:2E:23:44:3A",1,"0-0-0",-78.7,62.0,83,"",15],["67:DC:1D:1B:67:65",1,"ff4c000c0e00e2487c2b1837de24-34766-50872",-98.0,-42.0,1,"",23],["1B:55:A2:4F:57:48",1,"0-0-0",-87.2,2.0,88,"",15],["08:66:98:F1:F3:A9",1,"0-0-0",-77.7,0.0,84,"",11],["3A:83:FF:EE:C5:22",1,"0-0-0",-44.7,60.0,85,"",15],["64:51:7E:77:02:76",1,"0-0-0",-75.6,0.0,94,"",11],["A0:99:9B:14:8A:BE",1,"0-0-0",-99.0,0.0,2,"",11],["7B:27:F3:F2:59:F7",1,"0-0-0",-64.2,0.0,64,"",11],["2C:B4:3A:1E:38:B2",1,"0-0-0",-91.6,61.0,51,"",15]],"ts":"1500952269=PDT","secsCol":"18","mac":"B8:27:EB:99:08:73","program":"beaconloop","pi":"0","ipAddress":"10.0.1.10"}
2017-07-24 20:11:09.733   piBeacon   in Line '10577' has error='Python argument types in
    Device.updateStateOnServer(Device, dict)
did not match C++ signature:
    updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'

Posted on
Mon Jul 24, 2017 9:16 pm
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

Re: pibeacon error looping in the indigo event window.

2017-07-24 20:11:02.365 piBeacon in Line '10577' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'
2017-07-24 20:11:09.721 piBeacon variable changed-----------------------------------
description :
folderId : 1236140848
globalProps : MetaProps : (dict)
id : 960619410
name : pi_IN_0
pluginProps : com.karlwachs.piBeacon : (dict)
readOnly : False
remoteDisplay : True
value : {"msgs":[["4A:F2:4F:9F:1F:90",1,"0-0-0",-85.0,0.0,82,"",11],["D0:03:4B:0B:AC:0A",1,"0-0-0",-44.7,0.0,81,"",11],["88:C6:26:8A:06:83",1,"0-0-0",-97.2,18.0,19,"",27],["3F:66:70:43:74:E7",1,"0-0-0",-77.9,63.0,81,"",15],["D0:03:4B:40:E3:31",1,"0-0-0",-87.1,0.0,82,"",11],["24:4B:03:22:D8:F7",1,"0-0-0",-98.0,0.0,3,"",31],["B8:78:2E:23:44:3A",1,"0-0-0",-78.7,62.0,83,"",15],["67:DC:1D:1B:67:65",1,"ff4c000c0e00e2487c2b1837de24-34766-50872",-98.0,-42.0,1,"",23],["1B:55:A2:4F:57:48",1,"0-0-0",-87.2,2.0,88,"",15],["08:66:98:F1:F3:A9",1,"0-0-0",-77.7,0.0,84,"",11],["3A:83:FF:EE:C5:22",1,"0-0-0",-44.7,60.0,85,"",15],["64:51:7E:77:02:76",1,"0-0-0",-75.6,0.0,94,"",11],["A0:99:9B:14:8A:BE",1,"0-0-0",-99.0,0.0,2,"",11],["7B:27:F3:F2:59:F7",1,"0-0-0",-64.2,0.0,64,"",11],["2C:B4:3A:1E:38:B2",1,"0-0-0",-91.6,61.0,51,"",15]],"ts":"1500952269=PDT","secsCol":"18","mac":"B8:27:EB:99:08:73","program":"beaconloop","pi":"0","ipAddress":"10.0.1.10"}
2017-07-24 20:11:09.733 piBeacon in Line '10577' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'

Posted on
Mon Jul 24, 2017 10:10 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

could you download the latest 7-63-125..
Added a debug statement exactly for that error -- with that one you don't need to set any debug level

Posted on
Mon Jul 24, 2017 10:41 pm
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

Re: pibeacon error looping in the indigo event window.

Much appreciated. I think this is the part of the log you want.


piBeacon in Line '10649' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'
piBeacon chList: [{'value': 'up', 'key': u'status'}, {'value': 'up', 'key': u'online'}]
piBeacon in Line '10649' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'
piBeacon chList: [{'value': u'up', 'key': u'status'}, {'value': 'pi0', 'key': 'closestRPIText'}, {'value': '2017-07-24 21:38:58', 'key': u'Pi_0_Time'}, {'value': -85, 'key': u'Pi_0_Signal'}, {'decimalPlaces': 1, 'value': 54127.873563218396, 'key': u'Pi_0_Distance'}, {'value': 11, 'key': u'pkLen'}]
piBeacon in Line '10649' has error='Python argument types in
Device.updateStateOnServer(Device, dict)
did not match C++ signature:
updateStateOnServer(CDeviceBase {lvalue}, CCString key, boost::python::api::object value, int decimalPlaces=-1, bool triggerEvents=True, bool clearErrorState=True, boost::python::api::object uiValue=None)'

Posted on
Mon Jul 24, 2017 11:02 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

Ok I should be able to fix this. Want indigo version exactly are you using?
The state update Methode changed some time ago. Need to dum it down to very basic.


Sent from my iPhone using Tapatalk

Posted on
Tue Jul 25, 2017 6:29 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

please try v .7-63-126. Not tested, but should work for I6.

Karl

Posted on
Tue Jul 25, 2017 8:22 am
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

Re: pibeacon error looping in the indigo event window.

Thank you, I am running version 6.1.11.

With pibeacon 7.63.126 the original error went away.

New error is:

piBeacon in Line '7335' has error='empty string for float()'


On a side note I cannot believe how many beacons are near my house.

Kevin

Posted on
Tue Jul 25, 2017 9:30 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

a) could you edit the RPI and set "sync time MAC to RPi:" to something, " do not sync" is fine that should fix it . Will add a check for that one = exist but empty.
or download this one, added check on property =empty
https://www.dropbox.com/s/8hn7lm119v11yiq/piBeacon-v-7-63-127.zip?dl=1

b) # of ibeacons: almost every car has an ibeacon (and many cars also drive by with wifi-hotspost on)


Karl

Posted on
Tue Jul 25, 2017 9:48 am
kevinb67 offline
Posts: 9
Joined: Jul 24, 2017

Re: pibeacon error looping in the indigo event window.

Thank you again.

The sync time MAC to RPi: was set to -select an item- I changed it to do not sync and it looks like that fixed it.
Later tonight I will download the new version to verify that fixed it as well.

Thank you so much for pibeacon and fingscan


K

Posted on
Tue Jul 25, 2017 11:28 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: pibeacon error looping in the indigo event window.

still suggest to upgrade to I7..

sqldatabase writes for pibeacon plugin are down factor by a really large factor

i6: if you have 5 states you like to update: 5 SQL writes with 20 states (all states are re-written)(*)
i7: ONE SQL write with 5 states updated.

karl

(*) as I have 10 beacon RPI and each sends a message every 60 secs updating >1* 5 vs 5*20 states for each reachable iBeacon (20) that really adds up.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests