So I have since restarted node-red (running via Docker) and noticed when I went to collect this the message was only repeating twice. Then I tried again and it repeated 3x, then 4x, then 5x.... and it's doing it for both debug statements now, so it seems related to the node-red-contrib-homekit-bridged
status node. Homebridge is involved so there's an additional layer of complexity as well.
It's odd that the debug12 statement was not firing multiple times yesterday, though.
Here's 4 what came from debug12 when the switch was toggled once from the Home app.
{"payload":{"On":true},"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"71d60de9b5eec37a"}
{"payload":{"On":true},"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"d74c3b4c48afe774"}
{"payload":{"On":true},"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"e22e755701a6d906"}
{"payload":{"On":true},"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"eb20fa91c99b420f"}
Same form debug11
{"payload":true,"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"71d60de9b5eec37a"}
{"payload":true,"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"d74c3b4c48afe774"}
{"payload":true,"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"e22e755701a6d906"}
{"payload":true,"hap":{"session":{"sessionID":"e68c9691-6e8b-4f00-9c4c-49d0fb311ad9","username":"17835B04-2904-4928-B67D-8471EE7C95FE","remoteAddress":"::ffff:192.168.1.145","localAddress":"::ffff:192.168.1.2","httpPort":52514},"context":{},"allChars":{"Name":"NR-Kitchen Pendant","On":true},"reachable":true,"newValue":true},"name":"NR-Kitchen Pendant","_msgid":"eb20fa91c99b420f"}
The only value that changes is the _msgid