I have a Gladys installation running on a Raspberry Pi 4, mainly with Zigbee devices.
I recently bought some Aqara motion sensors. They show up without any problem in Gladys, however they do not show up in my HomeKit, even though all the other accessories are present.
Very hard to say — originally it’s @bertrandda who maintains this integration but I haven’t seen him on the forum since this summer Anyway, anyone can contribute, it’s open-source…
Create a feature request to keep a record of the request!
Thanks @cicoub13, what you did looks good to me. However, the PR already in progress optimizes the HomeKit process quite a bit and integrating new devices is much easier (1 line in the buildService file, 1 line in the sendState file + device mapping). What I can propose is that we try to merge the first PR and then you take care of adding the motion sensor in the new way. Otherwise you can merge your PR — I’ll rebase mine and make the changes to that sensor accordingly, whichever you prefer.
Hi @cicoub13, the PR has been merged — you can take care of the motion sensor. If you need help, don’t hesitate; I can explain the changes that took place.
Hello everyone. Maybe a silly question, but what should I do if I want to test this image?
Do I start a new Docker container?
Is there a risk it will conflict with the other Zigbee containers already in place?
Or is it better to try it on a new SD card?
Okay, I tested and it doesn’t work
I tried converting the last_value to Boolean, inverting it, nothing helps.
On the iPad, no change is propagated (whereas on Gladys and in the logs, it is).
I put console.log everywhere and I don’t see where the problem is coming from
Is your sensor visible on the HomeKit network? Is it just the value that isn’t changing?
This weekend I’ll pick up your PR and test with virtual devices to help you