Search found 6 matches

by nillix
Sunday 23 October 2016 17:54
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

Hi jmleglise, thanks for your feedback. I tried to define that function before in a similar way but without success. Now with your code provided it worked. I think that was the trick and it should then be ok now. The user variables are set correctly and I can go ahead and play with some nice scenes ...
by nillix
Saturday 22 October 2016 21:19
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

Update:

I just did a test on my laptop where I not get this error.
I don't yet know why, but maybe it has something to to with the different version of python or something...
My domoticz Installation where the script shall run on is a raspberry pi (Model B)

....
by nillix
Saturday 22 October 2016 19:52
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

Hi, I orderes two of the nut minis and I think they are working better. But there is a problem with the script now: When I run it, it detects the first beacon (I have two) and it updates the uservariable for that beacon. After a few seconds the script runs in an error: pi@raspberrypi:~$ sudo python ...
by nillix
Thursday 20 October 2016 14:19
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

Hi sbisbilo,

that sounds good. Unfortunately my tries to have a stable connection with the NUT2 went all wrong... :(
I will give the NUT 3 a try!
Could you explain what you did? Which were the steps you took to get it working.

Thanks!
Nils
by nillix
Tuesday 18 October 2016 10:45
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

I will try this later at home (already tried parts of it, but not did the trusting at the end): Start the bluetoothctl interactive command. Enter "help" to get a list of available commands. Turn the power to the controller on by entering "power on". It is off by default. Enter "devices" to get the ...
by nillix
Tuesday 18 October 2016 9:16
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82176

Re: How to check presence of Beacon ?

Hi there, I ordered two of these NUT beacons + BLE USB Stick. They are working fine with the app on Iphone etc. But there is one thing I miss in the wiki article (https://www.domoticz.com/wiki/Presence_detection_(Bluetooth_4.0_Low_energy_Beacon)) and the discussion here. As far as I know, you have ...