mirko3000 / MMM-xiaomi

Xiaomi smarthome plugin for the magic mirror
26 stars 3 forks source link

Xiaomi Aqara Window Door Sensor : not ok #10

Closed smotx closed 5 years ago

smotx commented 5 years ago

Hi,

it seems that these window sensors are not compatible.

Xiaomi Aqara Window Door Sensor

I added them to the config module and no return on MM.

When i launch

miio discover

it found

Device ID: 158d0001ab1f9c Model info: lumi.magnet.aq2

but when i launch npm start, MMM-xiaomi say

Found device with ID 158d0001ab1f9c of type generic

and no

Found device with ID 158d0001ab1f9c of type magnet

mirko3000 commented 5 years ago

Yes the new aquara devices were not supported so far. I implemented a basic support with the latest version, please rerun "npm install" on your module folder. Let me know if it works.

smotx commented 5 years ago

ohhh, it's OK !

Beautiful 'star' when i open the door !

Thanks a lot