HomeKit support for virtual contact sensor with switch custom driver

Ref
open-close-a-virtual-contact-from-a-switch/68716

I installed the driver and it works fine for Alexa. Thank you to all involved. I cannot however get the virtual switch to show up in HomeKit. How can this be done?

More code needed or a setting I have wrong.

Thank you to any who can help in advance!

Go into the HomeKit Integration app. You can change how it is exported from Hubitat to HomeKit. Have it exported as a switch rather than a sensor.

Still a Noob but learning. Thank you very much for the timely reply. I will give that a go.

image
the main door sensor its a virtual device to be able to be seen in alexa, but not on homekit for some reason....

image
and for some other reason they all show up on temperature on homekit, but just the patio door and window show on homekit as contact sensor....

What device driver are you using for all of these devices? When I export a contact sensor, it initially gets placed into the same room as the Hubitat in Apple Home. I need to click into the Room as the contact sensor is not available on the main page.

As for the Main Door Sensor, if you cannot find it in the room, click the "switch" button. That would export the Main Door Sensor as a switch rather than sensor.

As for all the other devices, my suggestion would be to click all those "-" categories in the Extras section. This way, only the main device would be sent to Homekit rather than the main function and its associated readings.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.