hap-controller-node
hap-controller-node copied to clipboard
Getting M4 errors randomly
Describe the bug
Randomly I'm getting M4 errors, namely
Error: M4: Empty TLV at PairingProtocol.parsePairVerifyM4
And
HomekitControllerError: M4: Error: 2 at PairingProtocol.parsePairVerifyM4
To Reproduce
These errors happen at a random frequency and with different devices. I'm controlling Tado radiator valves with it, normally it works.
I'm running a nodejs script on my Raspi and call it from openhab. It's just executing a commandline, as if I'd do it myself though the terminal.
Is there any possible workaround for this, except catching the exception any retrying of course?