# Initial Message of hysteresis node

**URL:** <https://discourse.nodered.org/t/initial-message-of-hysteresis-node/49832>\
**Category:** General\
**Created:** [17 August 2021 10:41 UTC](https://discourse.nodered.org/t/initial-message-of-hysteresis-node/49832 "2021-08-17T10:41:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petuur](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Petuur](https://discourse.nodered.org/u/Petuur)\
**Post date:** [17 August 2021 10:41 UTC](https://discourse.nodered.org/t/initial-message-of-hysteresis-node/49832/1 "2021-08-17T10:41:01Z")

</div>

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!

```auto
[{"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"]]}]

```

---

<div class="post-metadata">

**Author:** ![faranhor](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faranhor/32/46347_2.png) [@faranhor](https://discourse.nodered.org/u/faranhor)\
**Post date:** [17 August 2021 12:39 UTC](https://discourse.nodered.org/t/initial-message-of-hysteresis-node/49832/2 "2021-08-17T12:39:00Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 October 2021 12:39 UTC](https://discourse.nodered.org/t/initial-message-of-hysteresis-node/49832/3 "2021-10-16T12:39:58Z")

</div>

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