ioBroker.homekit-controller icon indicating copy to clipboard operation
ioBroker.homekit-controller copied to clipboard

Aqara FP2 occupancy-detected has to be type "number" but received type "boolean"

Open jtolksdo opened this issue 8 months ago • 6 comments

Hi,

my IOBROKER log is full of the following message: State value to set for "homekit-controller.0.IP-xx:xx:xx:xx:xx:xx.1.sensor-occupancy-2688.occupancy-detected" has to be type "number" but received type "boolean"

This is the only sensor of many I installed to the ceiling and therefore only use the presence detection in general, not a zone detection like with sensors installed to the wall.

Indeed, the other sensors show "occupancy-detected" as number 0 or 1. Only this sensor shows the value as true or false.

Expected behavior
It woukd be great, if the homekit-controller would also accept true/false and does not log this as an issue.

Screenshots & Logfiles
see here Screenshot 2024-06-09 at 21 57 28 Screenshot 2024-06-09 at 21 58 27

Versions:

  • Adapter version: 0.5.10
  • JS-Controller version: 5.0.19
  • Node version: 18.17.1
  • Operating system: proxmox ubuntu

jtolksdo avatar Jun 09 '24 20:06 jtolksdo