Bluetooth presence detection using Happy Bubbles

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!
Post Reply
DieterKoblenz
Posts: 17
Joined: Tuesday 07 July 2015 18:16
Target OS: NAS (Synology & others)
Domoticz version: 2.2619
Contact:

Bluetooth presence detection using Happy Bubbles

Post by DieterKoblenz » Sunday 20 August 2017 11:22

Dear all,

After some googling I've found the following site (https://www.happybubbles.tech/presence/detector) which offers SoCs with Bluetooth and Wifi to offer (easy?) presence detection with the use of BLE devices. Is anyone already using this icm with Domoticz? I've seen compatible plugins for Home Automation and VoxCommand but couldn't find Domoticz in the loop yet.

I know bluetooth tracking is already possible in Domoticz but it requires some scripting and does not easily support room tracking.

User avatar
Westcott
Posts: 547
Joined: Tuesday 09 December 2014 18:04
Target OS: Raspberry Pi
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Bluetooth presence detection using Happy Bubbles

Post by Westcott » Sunday 20 August 2017 13:14

Looks like it's basically an ESP32 with a few extra bits.
I'm just starting an Arduino sketch to get this same functionality.
Zwave - Sigma Z+ stick, Fibaro 2x FGSD002, FGMS001
Horstmann - 2x HRT4, 2x C-stat-11, 4x ASR-ZW, TKB 2x TZ56, 2x TZ68E
Max-EQ Cube, Valve, Neo 2x door
RFXtrx433E, RFlink - 1byone driveway, doorbell, Oregon and BangGood temp
Wifi - YeeLight RGB, 3x ESP8266

Bikey
Posts: 424
Joined: Sunday 22 February 2015 13:19
Target OS: Raspberry Pi
Domoticz version: 3.xxx
Location: Netherlands
Contact:

Re: Bluetooth presence detection using Happy Bubbles

Post by Bikey » Monday 21 August 2017 11:31

That's right. As far as I can see you can also buy ESP32 modules with BLTE hardware included, so I'm wondering why they created their own hardware.
I also found some software that actually seems to do the same as the "Happy Bubbles": posting the BLTE-notifications on an MQTT-topic:
https://github.com/barnybug/ESP32BleMQTT

User avatar
Westcott
Posts: 547
Joined: Tuesday 09 December 2014 18:04
Target OS: Raspberry Pi
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Bluetooth presence detection using Happy Bubbles

Post by Westcott » Monday 21 August 2017 14:46

Thanks for the link!
I've already got a simple BLE scanner working on my ESP32.
Next add a JSON send to Domoticz.
IMO much easier than that MQTT malarkey.
Zwave - Sigma Z+ stick, Fibaro 2x FGSD002, FGMS001
Horstmann - 2x HRT4, 2x C-stat-11, 4x ASR-ZW, TKB 2x TZ56, 2x TZ68E
Max-EQ Cube, Valve, Neo 2x door
RFXtrx433E, RFlink - 1byone driveway, doorbell, Oregon and BangGood temp
Wifi - YeeLight RGB, 3x ESP8266

brian
Posts: 6
Joined: Saturday 04 April 2015 18:04
Target OS: Linux
Domoticz version: beta
Location: Italy
Contact:

Re: Bluetooth presence detection using Happy Bubbles

Post by brian » Thursday 24 August 2017 10:52

DieterKoblenz wrote:
Sunday 20 August 2017 11:22
Is anyone already using this icm with Domoticz?
I am, with a simple node-red flow to update presence in domoticz and arm/disarm accordingly. Up since a couple of days, pretty satisfied with the detection speed and range.

happybubbles
Posts: 1
Joined: Thursday 24 August 2017 16:44
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Bluetooth presence detection using Happy Bubbles

Post by happybubbles » Thursday 24 August 2017 16:51

Hi everyone, I'm Nemik, the maker of the Happy Bubbles thing. Sorry I'm not too familiar with Domoticz but would be happy to answer any questions and help with integration of the Happy Bubbles system to Domoticz. I primarily use Node-Red for home automation.

To answer your questions about the hardware, it's actually based on the ESP8266, not ESP32. It was created prior to the ESP32 coming out. I've worked on trying to get the ESP32 working with the detector, but had very poor results. The problem is that the ESP32 has only a single radio/antenna for both Wifi and BLE and so can only use one at a time. As a result, it would frequently skip detecting most BLE advertisements. During my tests on an ESP32-based sketch forwarding BLE advertisements to MQTT, it would only detect about 1/10 or so the packets that the Happy Bubbles detectors did.

The ESP32 is great if you're making just a generic BLE device to talk to phone for example, but for reliable BLE scanning it's not a great use-case yet.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests