piBeacon: presence monitoring plugin discussions
Re: piBeacon: presence monitoring plugin discussions
There a literally beacons driving by your house ( in cars ) and the pi is picking them up.
Now the error message is a problem. I am out of town until Tuesday next week. But will try to check remotely.
Sent from my iPhone using Tapatalk
Now the error message is a problem. I am out of town until Tuesday next week. But will try to check remotely.
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Thanks for the reply! There's no rush at my end as first beacon hasn't arrived yet. If there is anything you need from me let me know.
Re: piBeacon: presence monitoring plugin discussions
Question to Matt and or Jay.
in Line '1316' has error=''key address not found in dict''
how can a device of a plugin not have the key "address" i.e.:
created by:
any advice welcome!
Karl
in Line '1316' has error=''key address not found in dict''
how can a device of a plugin not have the key "address" i.e.:
Code: Select all
for dev in indigo.devices.iter("com.karlwachs.piBeacon"):
props= dev.pluginProps
if props["address"] == piMACSend: ##< throws an error
Code: Select all
indigo.device.create(
protocol=indigo.kProtocol.Plugin,
address=piMACSend,
name="Pi-"+piMACSend,
description="Pi-"+piNReceived,
pluginId="com.karlwachs.piBeacon",
deviceTypeId="rPI",
folder=self.piFolderId)
Karl
Re: piBeacon: presence monitoring plugin discussions
kw123 wrote:The iphone does not send ibeacon signals ...
Actually... There are apps that can function as a beacon. Whether it is useful to leave these functions running is questionable. Battery usage could easily be an issue.
In any case, here are a couple of apps that may be worth exploring. I am sure there are more
- Locate from Radius Networks
- Estimote from Estimote
Re: piBeacon: presence monitoring plugin discussions
I wrote:...Also, here is an article on How to Configure your iPhone as an iBeacon Transmitter (requires Xcode).
It works, with one small change. In GemTotSDK.xcodeproj/project.pbxproj I had to change
- PRODUCT_BUNDLE_IDENTIFIER = com.gemtot.iBeacon
- PRODUCT_BUNDLE_IDENTIFIER = com.berkinet.iBeacon
I now have GemTotforiOS on my phone.
BTW, the project is also available from: https://github.com/gemtot/iBeacon
It is not clear if they plan on updating this for iOS 9, but it seems to run just fine.
CAVEAT: I have not tried this with anything. YMMV significantly.
And, vielen Dank Karl for your work on this and a plethora of other great contributions.
Re: piBeacon: presence monitoring plugin discussions
That's pretty cool! Will try it when I am not back home.
Just one question regarding viruses - I never compiled / developed anything for the iPhone : is this kosher ? I am somewhat suspicious about programs / drivers from China and Russia etc. is this the complete source code or are there any pre compiled program snippets ?
Sent from my iPhone using Tapatalk
Just one question regarding viruses - I never compiled / developed anything for the iPhone : is this kosher ? I am somewhat suspicious about programs / drivers from China and Russia etc. is this the complete source code or are there any pre compiled program snippets ?
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
That would indeed be very interesting! But I share Karl's skepticism.
Håvard
Re: piBeacon: presence monitoring plugin discussions
Just to clarify. I am a glass is half empty guy. Did not want to put it down. I will definitely try it. I always wanted to get into iPhone programming may this is a good starting point.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Karl,
I woke up this morning to this popping up in the log this morning. It wasn't happening when I went to bed last night.
For now I've disabled the plugin. Re-enabling it puts it back in the same state so I've left it disabled for now. Is there a way to nuke the existing plugin configuration and start over from scratch? I can try that unless you'd like me to leave it in this state to help you debug.
I woke up this morning to this popping up in the log this morning. It wasn't happening when I went to bed last night.
Code: Select all
piBeacon Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 979, in runConcurrentThread
File "plugin.py", line 966, in initCuncurrentThread
<type 'exceptions.KeyError'>: key address not found in dictRe: piBeacon: presence monitoring plugin discussions
To reset it:
Disable plugin
Delete folder ~/documents/pibeacon
Delete pibeacon devices created
That should do it.
But yes I would like to understand why this problem occurs in the first place.
Could you give me a day? I want to add some debug statements around that line of code.
Sent from my iPhone using Tapatalk
Disable plugin
Delete folder ~/documents/pibeacon
Delete pibeacon devices created
That should do it.
But yes I would like to understand why this problem occurs in the first place.
Could you give me a day? I want to add some debug statements around that line of code.
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
No problem at all. There is not rush at my end. I'm happy to help you investigate what's happening.
Re: piBeacon: presence monitoring plugin discussions
Is there anyone that have experienced if it is possible to use a pebble or a Fitbit as beacon? These are detectable ble devices so...?
Håvard
Re: piBeacon: presence monitoring plugin discussions
ac4lt:
could you try this version. the only addition is a debug statement: https://www.dropbox.com/s/f87qjkextaxnx ... 2.zip?dl=1 (debug will be removed in a formal release)
and post the log file output
Thanks for your help.
Karl
could you try this version. the only addition is a debug statement: https://www.dropbox.com/s/f87qjkextaxnx ... 2.zip?dl=1 (debug will be removed in a formal release)
and post the log file output
Thanks for your help.
Karl
Re: piBeacon: presence monitoring plugin discussions
berkinet:
Karl
looking at the posted swift code: it seems as if there is no attached library with compile code. looks like it is all open source code..Just one question regarding viruses - I never compiled / developed anything for the iPhone : is this kosher ? I am somewhat suspicious about programs / drivers from China and Russia etc. is this the complete source code or are there any pre compiled program snippets ?
Karl
Re: piBeacon: presence monitoring plugin discussions
Karl,
I grabbed your updated plugin but all I'm getting is this (same as it was when I woke up this morning):
I grabbed your updated plugin but all I'm getting is this (same as it was when I woke up this morning):
Code: Select all
piBeacon Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 979, in runConcurrentThread
File "plugin.py", line 966, in initCuncurrentThread
<type 'exceptions.KeyError'>: key address not found in dict
piBeacon Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)