bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

ZNZB-06P not working correctly on Beta 12.1.1 #538

Open LeeKirrage opened 4 months ago

LeeKirrage commented 4 months ago
### What issue do you have? Please be as thorough and explicit as possible. I have set up a ZNZB-06P using the Beta version 12.1.1 and although the logs on homebridge show the change of occupancy, the sensor in accesories does not change state, it remains at Occupancy Detected = 0. This is the log from Homebridge when I left the room and came back in: [16/02/2024, 17:36:11] [eWeLink] [SNZB-06P] receiving update {"human":0,"trigTime":"1708104970000","online":true,"updateSource":"WS"}. [16/02/2024, 17:36:20] [eWeLink] [SNZB-06P] receiving update {"human":1,"trigTime":"1708104978000","online":true,"updateSource":"WS"}. Image showing sensor in Homebridge Accessory still showinging Occupancy Detected = 0: ![image](https://github.com/bwp91/homebridge-ewelink/assets/160266714/6c91e099-c793-4e2f-8b27-b8e046b5ff42) ### Details of your setup. * Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS? Homebridge UI-X OS | Debian GNU/Linux Bookworm (12) -- | -- 192.168.1.212 fdbc:eb7b:4e97:bedd:94d6:f6aa:ac6b:305a homebridge leekirrage v20.11.1 /opt/homebridge/bin /var/lib/homebridge /var/lib/homebridge/config.json /var/lib/homebridge/node_modules GMT+0000 * Which version of Homebridge/HOOBS do you have? [Homebridge v1.7.0] · [UI v4.55.1] * Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known. Rasberry Pi 4B 4GB - Node Version 20.11.1 * Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version? v12.1.1-beta.4 - Upgraded to this to get functionaility of the ZNZB-06P All other devices are working fine * Which eWeLink devices do you have that are causing issues? Please include product models if applicable. ZNZB-06P ### Please paste any relevant logs below.