Closed untergeek closed 1 month ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is there any way to make this easier? I am going to hook up a Python BLE client to the device to get the data directly. I may end up making a PR at some point.
The listener is bery simple as you have found by editing it. I would happily merge a PR that adds checking for FR:I
as well if you make one :pray:
Hey there @jeffeb3, mind taking a look at this issue as it has been labeled with an integration (radon_eye_ble
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Hello. I am having same exact problem but my device start with FR:H
Which version of ESPHome has the issue? 2024.9.1
What type of installation are you using? HomeAssist OS
Which version of Home Assistant has the issue? 2024.9.2
What platform are you using? ESP32-IDF
Board: esp32_s3
Component causing the issue radon_eye_ble
I opened a Pull Request for that, i've added the "FR:I" and "FR:H" variant as possible Radon Eye devices. https://github.com/baldisos/esphome/blob/radon_eye_ble/esphome/components/radon_eye_ble/radon_eye_listener.cpp
Feel free to test it with your device by adding the external component to your config:
external_components:
- source: github://baldisos/esphome@radon_eye_ble
components: [ radon_eye_ble ]`
I tried this, and it's doing something more, but perhaps not everything expected:
[15:33:54][W][radon_eye_rd200:141]: Connection in progress
[15:35:36][D][esp32_ble_tracker:270]: Starting scan...
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4991866) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x8
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4991876) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x8
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4991879) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x8
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4991881) BT_APPL: gattc_conn_cb: if=6 st=0 id=6 rsn=0x8
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4991884) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x8
[15:38:45][D][esp32_ble_client:172]: [3] [08:D1:F9:3B:D2:5A] ESP_GATTC_DISCONNECT_EVT, reason 8
[15:38:45][W][radon_eye_rd200:021]: Disconnected!
[15:38:45][D][esp32_ble_client:110]: [3] [08:D1:F9:3B:D2:5A] ESP_GATTC_CLOSE_EVT
[15:38:45][D][esp32_ble_client:110]: [3] [08:D1:F9:3B:D2:5A] Found device
[15:38:45][D][esp32_ble_tracker:671]: Found device 08:D1:F9:3B:D2:5A RSSI=-51
[15:38:45][D][esp32_ble_tracker:692]: Address Type: PUBLIC
[15:38:45][D][esp32_ble_tracker:694]: Name: 'FR:IB06RE000109'
[15:38:45][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[15:38:45][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[15:38:45][D][esp-idf:000][BTU_TASK]: E (4992060) BT_BTM: BTM_BleScan scan not active
[15:38:45][D][esp-idf:000][BTU_TASK]: W (4992064) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
[15:38:45][I][esp32_ble_client:067]: [3] [08:D1:F9:3B:D2:5A] 0x00 Attempting BLE connection
[15:38:46][D][esp32_ble_client:110]: [3] [08:D1:F9:3B:D2:5A] ESP_GATTC_CONNECT_EVT
[15:38:46][D][esp32_ble_client:110]: [3] [08:D1:F9:3B:D2:5A] ESP_GATTC_OPEN_EVT
[15:38:46][I][radon_eye_rd200:015]: Connected successfully!
[15:38:46][D][esp32_ble_tracker:270]: Starting scan...
[15:38:46][D][esp32_ble_client:110]: [3] [08:D1:F9:3B:D2:5A] ESP_GATTC_SEARCH_CMPL_EVT
[15:38:46][I][esp32_ble_client:227]: [3] [08:D1:F9:3B:D2:5A] Connected
[15:38:46][W][radon_eye_rd200:030]: No sensor read characteristic found at service 00001523-1212-EFDE-1523-785FEABCD123 char 00001525-1212-EFDE-1523-785FEABCD123
[15:38:46][D][esp32_ble_client:188]: [3] [08:D1:F9:3B:D2:5A] cfg_mtu status 0, mtu 517
Better than it was, but I also see the [04:07:27][W][radon_eye_rd200:030]: No sensor read characteristic found at service 00001523-1212-EFDE-1523-785FEABCD123 char 00001525-1212-EFDE-1523-785FEABCD123
I can get a good data dump from my RD200V3 (fw 3.0.1) using https://github.com/sormy/radoneye-reader and it seems that different service and characteristic UUIDs are in use: radoneye-dumper.py
That's a problem within the radon_eye_rd200 component tho. I only fixed the search for the prefixes within the _radon_eyeble component. With the general problem of not being able to read data, i'm stuck myself at the moment.
The problem
In
radon_eye_listener.cpp
it only listens for devices that start withFR:R
. However, my brand new Radon Eye (firmware 3.0.1) has a device ID that starts withFR:I
.I edited
radon_eye_listener.cpp
to look forFR:I
and my device was found easily.Which version of ESPHome has the issue?
2024.3.1
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
nodemcu-32s
Component causing the issue
radon_eye_ble
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response