Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python Beacon positioning and animation with Raspberry pi matplotlib
Post: RE: Python Beacon positioning and animation with R...

++ I would be grateful if you could help.
joefreedy General Coding Help 1 2,830 Feb-14-2019, 08:47 PM
    Thread: Python Beacon positioning and animation with Raspberry pi matplotlib
Post: Python Beacon positioning and animation with Raspb...

import blescan import bluetooth._bluetooth as bluez def calculate_accuracy(txpower, rssi): if rssi == 0 or txpower == 0: return -1 else: ratio = rssi/txpower if ratio...
joefreedy General Coding Help 1 2,830 Feb-14-2019, 09:19 AM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

(Feb-12-2019, 03:00 PM)buran Wrote: You have extra calculate_accuracy on that line I want to get some support. I cannot find the distance with the code I wrote in Python and print it on the screen.
joefreedy General Coding Help 13 6,070 Feb-12-2019, 08:52 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

@buran Thank you very much, but this only eliminates the error. I can't list the distance and ibeacon. output: pi@raspberrypi:~/Desktop/bluetooth_indoor_localization $ sudo python indoor.py ble th...
joefreedy General Coding Help 13 6,070 Feb-12-2019, 05:14 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

https://github.com/switchdoclabs/iBeacon-Scanner- I'm sorry I'm tired of you. but there is an example of the code. No problem when I scan here, but I have a problem with my code.
joefreedy General Coding Help 13 6,070 Feb-12-2019, 04:56 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

(Feb-12-2019, 04:33 PM)buran Wrote: I really cannot help moreokay but why ?
joefreedy General Coding Help 13 6,070 Feb-12-2019, 04:37 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

@buran I apologize, but I can't find the ibeacon this time. so I could not access the files that solved the problem. pi@raspberrypi:~/Desktop/bluetooth_indoor_localization $ python indoor.py ble t...
joefreedy General Coding Help 13 6,070 Feb-12-2019, 04:31 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

I guess that's why I'm using the dorm Internet. I think there's restriction. @buran I have now installed the internet from my phone. Now I have this problem. Traceback (most recent call last): Fil...
joefreedy General Coding Help 13 6,070 Feb-12-2019, 03:37 PM
    Thread: python ibeacon rasp pi localization
Post: RE: python ibeacon rasp pi localization

(Feb-12-2019, 03:00 PM)buran Wrote: You have extra calculate_accuracy on that lineI've solved this problem, but now I'm suffering from a bluepy installation. Error:pi@raspberrypi:~ $ sudo pip instal...
joefreedy General Coding Help 13 6,070 Feb-12-2019, 03:12 PM
    Thread: python ibeacon rasp pi localization
Post: python ibeacon rasp pi localization

Hello, I'm trying to find the distance of ibeacon with raspberry pi and when I run the python code I get the following error; File "indoor.py", line 29 if 0<= calculate_accuracy(txpower, rssi)...
joefreedy General Coding Help 13 6,070 Feb-12-2019, 02:58 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020