This is a demo source code KC868-A4 with 10pcs of DS18B20 temperature sensor and 4 relay and 4 dry contact sensor.
homekit-temp-dry_contact-4DO.zip (Size: 630.68 KB / Downloads: 1,535)
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/


. I also unhcommented void button in dev_led, this way I can control relays using the digital input but I have not the feedback in Apple Homekit. Looking into Homespan library example I found that feedback should be given using SpanButton or coding using setVal method.