It seems that plugin sends only one request, when there are more than one CEC device configured, but reuses the same response for all devices. Thus the status in HomeKit will be reflected incorrectly.
I've added some logging to node module: Did Send Command and Did Receive Packet are the most interesting parts in the logs below. There will be only one Did Send Command but four Did Receive Packet outputs. As you can see, that only one request was sent and then it's response was reused for all devices.
Both PS3 and PS4 were turned off.
Both Apple TV and TV were turned on.
Hi,
It seems that plugin sends only one request, when there are more than one CEC device configured, but reuses the same response for all devices. Thus the status in HomeKit will be reflected incorrectly.
I've added some logging to node module:
Did Send Command
andDid Receive Packet
are the most interesting parts in the logs below. There will be only oneDid Send Command
but fourDid Receive Packet
outputs. As you can see, that only one request was sent and then it's response was reused for all devices.Both PS3 and PS4 were turned off. Both Apple TV and TV were turned on.
Accessories:
1st try:
2nd try: