NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
416 stars 52 forks source link

[Bug]: Output of TV service repeated every time nodered is deployed #509

Closed roswennen closed 3 months ago

roswennen commented 1 year ago

NRCHKB Plugin Version

1.5

Node JS Version

?

NPM Version

?

Node-RED Version

v3.0.2

Operating System

Docker

What happened?

Every time one hits deploy on the NodeRed (after changing anything, not necessarily related to TV services) the number of output messages for every press in the Home app or in the Remote app on the IOS device is replicated.

The TV service NodeRed node spits out multiple replicas of the expected output message.

How to reproduce?

Add debug node to output of TV service. Press on or off or a remote control key. Make a change in NodeRed and hit deploy Now hit same on off of TV service in home app or do same in remote control app in ios and one will get multiple output messages. Repeat and the number of output messages will continue to increase with every deploy Start and stop docker container of node red, now the number of output messages per ios action (tv on/off or remote control) is again 1 as expected

Expected behavior:

The node would always send out the same predictable amount of messages, i.e. 1

The only solution is stopping the nodered docker container and restarting it.

Additional comments?

Additional comments here, if any.

Relevant log output

No response

caitken-com commented 1 year ago

Hi @roswennen!

  1. Have you disabled pass through on your NRCHKB config node?
  2. When clicking deploy changes, have it set to modified nodes only.
  3. Might be an install issue with your node red, have you rebooted it to see if the issue persists?
Shaquu commented 3 months ago

Closing as no response from author.