Danielhiversen / PyXiaomiGateway

PyXiaomiGateway
MIT License
153 stars 55 forks source link

Unsupported Aqara Vibration Sensor - DJT11LM #98

Closed vorostamas closed 6 years ago

vorostamas commented 6 years ago

Hi, I found an unsupported device with the following data: {'cmd': 'read_ack', 'model': 'vibration', 'sid': '158d0002a240fc', 'short_id': 45948, 'data': '{"voltage":3175}'}

It's the new Aqara Vibration Sensor with the model number DJT11LM.

bobnwk commented 6 years ago

{'sid': '158d0002a9219d', 'data': '{"voltage":3095}', 'short_id': 38595, 'model': 'vibration', 'cmd': 'read_ack'} Model number: DJT11LM

pustefix8965 commented 6 years ago

{'cmd': 'read_ack', 'model': 'vibration', 'sid': '158d0002a52381', 'short_id': 56459, 'data': '{"voltage":3085}'} DJT11LM

SelcouthGuy commented 6 years ago

Same here. {'data': '{"voltage":3105}', 'sid': '158d0002a91f9c', 'short_id': 47453, 'model': 'vibration', 'cmd': 'read_ack'}

syssi commented 6 years ago

This library already supports the vibration sensor. Just the Home Assistant support isn't merged yet:

https://github.com/home-assistant/home-assistant/pull/16422