Replies: 2 comments 13 replies
-
The part that is missing is a parser that translate the data to something HA can understand. In the folder However, a smarter approach imho would be to use BTHome format for your data. BTHome is an open format that you can use to forward your data, Data send in this format should be automatically recognized with a corresponding (binary) sensor entity or event. When using BTHome, you have two options
Regarding BTHome, you could use the button event (0x3A) to send button clicks (events) to HA. Or you could use a binary sensor (0x0F) Note that BLE monitor does not support events. I would go for the native HA integration therefore. |
Beta Was this translation helpful? Give feedback.
-
It might be interference of WiFi, try to put your dongle on an extension cable as far away from any other wifi or Bluetooth radio and from USB3 devices. These are known to interfere with Bluetooth, as they use the 2.4 GHz band. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I got myselfe some sparkfun NanoBeacon board in100 for retrofitting wallswitches. The Beacon is sending out it's GPIO status as a hex numer using the "Manufacturer Specific Data". For that part everything works fine.
Then I took an esp32 and set it up das an BLE gateway following that description. That works fine as well.
As I understand that part of the code written to the esp32 is sending the advertised date to HA by triggering an event in HA:
In HA I install the ble_monitor integration and add that automation:
Now the BLE_monitor should be parsing the the BLE advertising - as far as I understood. But my beacon is not within the list of supported devices for the ble_monitor, I thougt of parsing the data myselfe. But are a bit lost there and don't really know wicht approach I should follow:
0x<GPIO 1byte 0 0><VCC 1byte 0 0>
Thanks a lot,
Markus
Beta Was this translation helpful? Give feedback.
All reactions