How to check presence of Beacon ?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Busmeikel
Posts: 8
Joined: Monday 19 December 2016 9:48
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Germany - Münsterland
Contact:

RSSI instead of HOME

Post by Busmeikel » Wednesday 05 December 2018 9:29

Hi,
it was my fault, if you can read that is sometimes a benefit ;-)

In REPEAT-Mode the script writes the RSSI into the user-variable if the tag is present,
in SWITCH-Mode the script writes HOME into the user-variable if the tag is present.

Only for the protocol.

Meikel

User avatar
EddyG
Posts: 327
Joined: Monday 02 November 2015 6:54
Target OS: Raspberry Pi
Domoticz version: 4.9999
Location: Rhenen, Netherlands
Contact:

Re: How to check presence of Beacon ?

Post by EddyG » Friday 07 December 2018 12:17

I have the following problem.

The script(s) worked fine on my previous hardware Raspberry Pi 3B.
Now I switched to a Raspberry Pi 3B+ on Berryboot Linux domoticzslave 4.14.83v7-aufs #1 SMP Wed Nov 28 22:52:43 CET 2018 armv7l GNU/Linux

The only way I can have the test_beacon.py have normal output is to open a second putty window and issue an sudo bluetoothctl
with the commands "power on' and 'scan on'
After the 'scan on' the output on the first window is normal, but as soon as I stop the bluetoothctl by 'quit' the output on the first window stops.

Anyone any ideas???
Regards,
Eddy

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests