Bluetooth Beacon Presence issue

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Bluetooth Beacon Presence issue

Post by alarm_guy1 »

Hi guys,

I was running a Beta of Domoticz, and had been for many versions and had Bluetooth Beacon Presence running for a good while and it was working brilliantly.
I had an own fault system crash and since then Bluetooth Beacon Presence wont detect my devices, I have since setup a brand new installation on a Pi4 running 2020.1
This is my log:

Code: Select all

2020-04-16 11:17:24.552 (Bluetooth Beacon Presence) Pushing 'onHeartbeatCallback' on to queue
2020-04-16 11:17:24.564 (Bluetooth Beacon Presence) Processing 'onHeartbeatCallback' message
2020-04-16 11:17:24.564 (Bluetooth Beacon Presence) Calling message handler 'onHeartbeat'.
2020-04-16 11:17:26.552 (Bluetooth Beacon Presence) Pushing 'onHeartbeatCallback' on to queue
2020-04-16 11:17:26.568 (Bluetooth Beacon Presence) Processing 'onHeartbeatCallback' message
2020-04-16 11:17:26.568 (Bluetooth Beacon Presence) Calling message handler 'onHeartbeat'.
2020-04-16 11:17:28.553 (Bluetooth Beacon Presence) Pushing 'onHeartbeatCallback' on to queue
2020-04-16 11:17:28.572 (Bluetooth Beacon Presence) Processing 'onHeartbeatCallback' message
2020-04-16 11:17:28.572 (Bluetooth Beacon Presence) Calling message handler 'onHeartbeat'.
2020-04-16 11:17:30.553 (Bluetooth Beacon Presence) Pushing 'onHeartbeatCallback' on to queue
2020-04-16 11:17:30.576 (Bluetooth Beacon Presence) Processing 'onHeartbeatCallback' message
2020-04-16 11:17:30.576 (Bluetooth Beacon Presence) Calling message handler 'onHeartbeat'.
My config.ini is setup like this

Code: Select all

[Settings]
; Use different scanner_name if you have several instances for better debugging
scanner_name=Living room
; By default hci0 in RPI3, but you can check with "hciconfig" command
bt_interface=hci0
; Domoticz IP and UDP port where plugin runs
server_ip=xxx.xxx.xxx.xxx
server_port=2221
; Check battery if signal strength >= setting
; Connection will not be established if signal is very low
battery_check_rssi_threshold=-75
; Time to check battery. 24h. Interval check_time + 30min
battery_check_time=03:00
; Attempts to check in time interval when beacon available
battery_check_attempts=2

; Beacon MAC address
[FF:FF:40:01:83:7E]
; For better debug
label=key tag
; Supports battery check for nut3 and miband2
; Can be empty (battery check disabled)
;battery_service_type=nut3
; Signal strength threshold,
; When signal lower the setting -> beacon info will not send to the plugin
; Can be empty (threshold disabled)
rssi_threshold=

[FF:FF:F0:01:2A:CD]
label=Van Nut2
battery_service_type=
rssi_threshold=

[FF:FF:80:02:F3:1E]
label=Pug Nut2
battery_service_type=
rssi_threshold=

[FF:FF:40:01:83:7E]
label=Jo Nut2
battery_service_type=
rssi_threshold=
Image attached of my plugin setup.
I followed the instructions and when installing (I think :-( )
attached is my hcitool scan too

I have tried
sudo hciconfig hci0 down
sudo hciconfig hci0 up

I have no idea where to go from here, any help appreciated, it has got to be something silly i bet

Cheers
Attachments
hcitool.jpg
hcitool.jpg (110.64 KiB) Viewed 487 times
bluetooth.png
bluetooth.png (75.57 KiB) Viewed 487 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest