ble_monitor
ble_monitor copied to clipboard
[New Sensor]: Smartlife Plant Sensor SGS01
Sensor Description
Tuya SGS01 BLE Sensor that measures soil moisture and temperature
Additional information
Tuya BLE Sensor that measures soil moisture and temperature (https://de.aliexpress.com/item/1005005237033834.html?spm=a2g0o.order_list.order_list_main.67.40415c5fKMbYQ7&gatewayAdapt=glo2deu)
BLE advertisements
2023-04-18 21:01:43.088 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:46.125 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:47.126 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:48.137 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:50.166 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:53.175 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:54.189 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:55.192 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:01:58.220 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:00.249 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:01.256 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:02.258 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:03.266 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:04.268 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:05.281 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:06.291 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:07.295 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:11.339 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:12.341 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:13.365 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:15.402 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:16.414 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None
2023-04-18 21:02:17.422 INFO (Thread-4) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f328137: service data: [b'\x0c\x16\x01\xa2\x00k\xef\x04\x99\xe9<l|']manufacturer specific data: []local name: UUID16: 418,UUID128: None

Hi @stefanPilz,
From what I have found out about this device so far, is that it doesn't change its freely broadcast advertisement data at all, so very likely not containing the temperature and humidity it this data.
So unless you found differently or it might be a case of only broadcasting this information in the advertisement data once de-provisioned from the native app, it might not be possible to include in ble-monitor or similar advertisement data decoding solutions.
Yep, I agree with the conclusion of @DigiH. Some sensors start broadcasting passive data when added in the app, but more likely it will require reading characteristics from the device, for which a connection has to be set up. This is out of the scope of BLE monitor. Let me know when you find changing data.
Hi, such a layman's question: is it possible to communicate with it in some way if you have data from tuya API, in which there is a key to the device? The same method worked for the LocalTuya plugin but I don't know if this is enough information to download data from this sensor. I attach a screenshot from Tuya API:
{ "result": { "active_time": 1684265828, "category": "zwjcy", "category_name": "Plant monitor", "create_time": 1684265828, "gateway_id": "", "icon": "smart/icon/ay1501578980436KOuNc/9151fd730721c21ca1b410eda1a54236.png", "id": "bff600fkxvj8rilo", "ip": "", "lat": "51.2800", "local_key": "HT?N4b@g|?#aKyd-", "lon": "22.6000", "model": "", "name": "SGS01", "online": false, "owner_id": "40471000", "product_id": "gvygg3m8", "product_name": "SGS01", "sub": false, "time_zone": "+02:00", "update_time": 1684265830, "uuid": "9baeacd83d5ecdc9" }, "success": true, "t": 1684266148615, "tid": "ca60cd3cf42111ed9b213e97a7ff9260" }
MAC address previously read in the TuyaSmart application.
Hi,
This is what I see in my logs for this sensor: the data seems to change:
2023-09-06 06:53:42.422 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa6\n\x81\x16\xb6\x0bd\xfa\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:53:54.930 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n\x85\x16\xb6\x0bd\xfb\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:53:57.428 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n\x85\x16\xb6\x0bd\xfb\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:04.927 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa6\n\x7f\x16\xb6\x0bd\xfc\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:09.924 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa6\n\x7f\x16\xb6\x0bd\xfc\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:12.427 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n~\x16\xb6\x0bd\xfd\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:19.932 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n~\x16\xb6\x0bd\xfd\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:24.934 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa4\n\x82\x16\xb6\x0bd\xfe\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:39.942 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa4\n\x87\x16\xb6\x0bd\xff\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:42.440 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n}\x16\xb6\x0bd\x00\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:49.941 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa5\n}\x16\xb6\x0bd\x00\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:54:57.444 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa6\n\x84\x16\xb6\x0bd\x01\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
2023-09-06 06:55:02.445 INFO (Thread-2) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID a4c1389db57d: service data: [b'\x12\x16\x1a\x18}\xb5\x9d8\xc1\xa4\xa6\n\x89\x16\xb6\x0bd\x02\x04']manufacturer specific data: []local name: UUID16: None,UUID128: None
So maybe, there is hope?
This is the device inside. Is it feasible to swap out the Bluetooth module with an ESP32-C3-MINI, ESP12 or nRF52840?
Interestingly, I get both service-specific data and manufacturer-specific data in my BLE messages. Does this help at all?
logs from esphome look like:
[20:24:40][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB1
[20:24:41][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB7
[20:24:45][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB1
[20:24:45][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB1
[20:24:46][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBAF
[20:24:47][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:24:49][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB2
[20:24:50][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:24:52][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E2802010000874A5E4F23DC1C020106030201A20C1601A2006776796767336D380000000000000000B1
[20:24:52][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB8
[20:24:53][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB7
[20:24:54][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB2
[20:24:56][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB2
[20:24:56][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:24:57][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB2
[20:24:57][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:24:58][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:24:59][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB7
[20:24:59][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB0
[20:25:00][D][ble_gateway:063]: [DC:23:4F:5E:4A:87] Packet 043E4602010000874A5E4F23DC3A020106030201A20C1601A2006776796767336D3800000000000000000309545919FFD0070003000001000C06188E69B909875C41A91815C22BDBB7
Logs from homeassistant look like:
home-assistant | 2023-11-28 21:24:40.609 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:41.248 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:45.403 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:45.744 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:46.378 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:47.348 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:49.580 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:50.214 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:52.441 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: []local name: UUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:52.774 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:53.745 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:54.377 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:56.304 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:56.924 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:57.272 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:57.905 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:58.841 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:59.474 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
home-assistant | 2023-11-28 21:24:59.819 INFO (MainThread) [custom_components.ble_monitor.ble_parser] BLE advertisement received from MAC/UUID dc234f5e4a87: service data: [b'\x0c\x16\x01\xa2\x00gvygg3m8']manufacturer specific data: [b'\x19\xff\xd0\x07\x00\x03\x00\x00\x01\x00\x0c\x06\x18\x8ei\xb9\t\x87\\A\xa9\x18\x15\xc2+\xdb']local name: TYUUID16: 418,UUID128: None
any update? I have same sensor and I would like to add to HA :(
any update? btw: i have problem to add this device directly via esphome - btproxy.... how can I do it? at this moment I use tuya
https://github.com/make-all/tuya-local/pull/1693/commits/594dcf2eaca1582ff1bf74fc22eac403979d4b2a
I have a SGS01 myself and I am trying to use it locally with my HA over Bluetooth LE (esphome bluetooth proxy).
As @DigiH and @Ernst79 pointed out, SGS01 devices are probably not advertising their data directly, concluding that this feature request can't be implemented in ble_monitor.
@nakermann1973: how did you preconfigure your devices to get advertisements with altering data?
There is another approach to integrate Tuya BLE devices directly: https://community.home-assistant.io/t/tuya-ble-integration-includes-fingerbot/562888/87 (https://github.com/PlusPlus-ua/ha_tuya_ble). This is currently available via Home Assistant Community Store (HACS) and as far I can tell incompatible with current HASS 2024.3.*. Still I think this information may be useful to those interested in this issue.
Just leaving this here: if anyone wants to proceed with SGS01 (here or on another module than ble_monitor), I would be happy to share a bluetooth trace (readable in Wireshark Protocol Analyzer) for the handshake and value read of an SGS01.
This is the device inside. Is it feasible to swap out the Bluetooth module with an ESP32-C3-MINI, ESP12 or nRF52840?
Just like xiaomi devices tlsr.
Maybe pvvx or someone can change firmware
Similar situation. SGS01 is integrated into HA. So far via the cloud.
But the data in HA is updated only when Smart Life is launched. Without this, the sensor transmits constant non-updated data.
I think this implies that Smart Life is the only consumer of data and if the program is not running, measurements can not be taken.
Can anyone analyze the data exchange, find the "perform measurement" command and modify the HA plugin to periodically issue this command?
Or has someone already solved this problem?
@DanilinSA It is possible to update sensor values by forcefully setting the temperature unit of measurement. https://github.com/make-all/tuya-local/pull/1696#issuecomment-2214453260
Using the tuya_ble fork from https://github.com/markusg1234/ha_tuya_ble, I have this device working using local-only BLE communication (cloud was needed for initial setup)
I can't link. In Tuya íot it always appears offline and I have tried all the data in the configuration and there is no way
the problem with this sensor is that it does not send anything unless it receives a request, many people create an atumatization that changes from fahrenheit to celsius every x time, this forces it to send the data it has stored, but with the 'integration_name_BLE' integrations it is not exposing the ºF to ºC selector.
@Bereware after that, the battery drain so fast, about 1% per day 😒
The sensor polling should be done on schedule. And not every 15 minutes. For example, during the day - polling every hour. And at night - 3 hours. Why measure every 15 minutes at night? What interesting things can be measured there?
@DanilinSA As can be seen from the image above, I have the polling set to once a day, and after that, the battery drains by 1%.
