Monstergerm wrote:I have a similar problem using the I/O linc garage door kit. I have a magnetic sensor that reports in Indigo device UI that the garage door is closed when it is indeed closed. The older HomeKitBridge plugin transferred this correctly to the Home app.
However, HomeKitLink Siri at first reports the status of the door to the Home app as OPEN although the door is closed. Once I go through a cycle of open and close the states are reported correctly in the Home app. Great!
But, here is the problem, as soon as I restart the HKL-S plugin or add a new device, things become reversed again (the closed door reports as open). So it looks like HKL-S plugin does not get the status of the open/close sensor of the I/O linc at startup.
Hi
What you are describing is somewhat different - and likely relates to the I/O linc garage door kit support.
The I/O Linc is a very odd & very old indigo device - until this plugin I didn’t realise it existed. Apparently there was plans to remove and convert it into one of the standard relay like devices - which are far more uniform in their support.
HKLS support of such - may have a issue as you describe, will relate to the ‘getter’ side of the code. I’ll check and update. Support was added blind as no example I/O linc devices are available - and as noted it will be a device that gets removed, still supported but converted to one of the more standard devices in the future it would seem.
Meanwhile or otherwise - could try converting/masquerading your current device as something more standard - relay for example and then add this relay-device as a garage door to HLKS. An extra device to smooth out this difference - and similar to what is needed if want to reverse logic. May not be possible given how unusual I/O linc is - but unsure of support across the various masquerade like plugins.
Update:
Try 0.3.14+ HKLS -- use the Green Download Code button on main pageA bit of a guess as to what you are seeing - but prioritises the binaryinput1 over the onOffState . I'm guessing the onOffState momentarily changes...
If no difference - need a debug log, with that device selected and a few on/off, open/close HK apps..