Initial Message of hysteresis node

Hi there,

I am using Node-RED version 2.0.5 and Node.JS version 16.6.1 and the node-red-contrib-hysteresis module.

I want the hysteresis node to output its initial state, but that does not work with the flow below. Does someone know how to fix this?

Thanks in advance!

[{"id":"71e047b03ca6f5dd","type":"hysteresis","z":"59d8ae0ece11ee4d","name":"","ThresholdType":"fixed","ThresholdRising":"19.9","ThresholdFalling":"19","TopicThreshold":"","TopicCurrent":"","ThresholdDeltaRising":"","ThresholdDeltaFalling":"","InitialMessage":true,"OutRisingType":"num","OutRisingValue":"1","OutFallingType":"num","OutFallingValue":"0","OutTopicType":"top","OutTopicValue":"","DynRaiseError":false,"x":460,"y":220,"wires":[["8996d796550bf474"]]}]

Tried to take a look at this but you only posted the hysteresis node in your code block, so can't see the full flow. Happy to check it out once the flow is complete :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.