victronenergy / node-red-contrib-victron

MIT License
94 stars 18 forks source link

[BUG] Relay node changes don't output with changed values only #161

Closed dirkjanfaber closed 1 year ago

dirkjanfaber commented 1 year ago

Describe the bug With the 'only changes' option, the relay does not broadcast on change.

To Reproduce Steps to reproduce the behavior:

  1. Using nodes input-relay and output-relay
  2. Inject a change into the output-relay.
  3. See no output on the input-relay appear in the debug node.

Expected behavior Expected output.

Screenshots See https://community.victronenergy.com/questions/187176/venus-os-v3007-available-for-testing.html#answer-187282 for more info.

Flow If applicable, add a flow to help explain your problem.

Hardware (please complete the following information):

Software (please complete the following information):

Additional context Add any other context about the problem here.

dirkjanfaber commented 1 year ago

Merged with master.

dirkjanfaber commented 1 year ago

Now it also seems to emits non-changing data. So this needs a better fix. Today that is non reproducable.