Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add converter for xiaomi.sensor_occupy.03 on old firmwares #1506

Open
realtvop opened this issue Dec 2, 2024 · 0 comments
Open

Add converter for xiaomi.sensor_occupy.03 on old firmwares #1506

realtvop opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@realtvop
Copy link

realtvop commented Dec 2, 2024

image
The values of every sensor are Unknown although they're still being updated from time to time.

Gateway: Xiaomi Multimode Gateway (CN) (lumi.gateway.mgl03)
Firmware ver.: 1.5.0_0026
XiaomiGateway3 ver.: v4.0.7

Related Log

2024-12-03 00:49:30.803 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":1911601349,"method":"_sync.ble_query_dev","params":{"mac":"40:30:59:**:**:**","pdid":18051}}'}
2024-12-03 00:49:31.054 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report_ack', 'data': b'{"id":1911601349,"result":{"beaconkey":"ab9fe48cf8d16e9ee76d8c86d0636725","car_iot":0,"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","operation":"query_dev","pdid":18051,"spec_supported":1,"token":"****","ttl":1800}}'}
2024-12-03 01:02:11.913 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":211655436,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":22038,"edata":"05"}],"frmCnt":47,"gwts":1733158931}}'}
2024-12-03 01:05:03.292 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":1485427457,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":18437,"edata":"00c01e44"}],"frmCnt":48,"gwts":1733159102}}'}
2024-12-03 01:05:07.371 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":443180458,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":18510,"edata":"02"}],"frmCnt":50,"gwts":1733159106}}'}
2024-12-03 01:05:12.471 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":1079971461,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":18510,"edata":"01"}],"frmCnt":53,"gwts":1733159112}}'}
2024-12-03 01:05:13.494 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":1149570462,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":18513,"edata":"0000"}],"frmCnt":54,"gwts":1733159113}}'}
2024-12-03 01:05:15.021 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.50.133] {'topic': 'miio/report', 'data': b'{"id":2102005463,"method":"_async.ble_event","params":{"dev":{"did":"blt.3.1itpbr0dgkc00","mac":"40:30:59:**:**:**","pdid":18051},"evt":[{"eid":18510,"edata":"02"}],"frmCnt":55,"gwts":1733159114}}'}
@realtvop realtvop changed the title Can't get the sensor data from Xiaomi Human Presence Sensor (xiaomi.sensor_occupy.03) Can't obtain the sensor data from Xiaomi Human Presence Sensor (xiaomi.sensor_occupy.03) Dec 2, 2024
@AlexxIT AlexxIT added the bug Something isn't working label Dec 2, 2024
@AlexxIT AlexxIT self-assigned this Dec 2, 2024
@AlexxIT AlexxIT changed the title Can't obtain the sensor data from Xiaomi Human Presence Sensor (xiaomi.sensor_occupy.03) Add converter for xiaomi.sensor_occupy.03 on old firmwares Dec 25, 2024
@AlexxIT AlexxIT added enhancement New feature or request and removed bug Something isn't working labels Dec 25, 2024
@AlexxIT AlexxIT added this to the v4.0.8 milestone Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants