# Output on Connect do not work after restart of Home Assistant

**URL:** <https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289>\
**Category:** General\
**Created:** [21 November 2020 13:47 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289 "2020-11-21T13:47:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThisisIO](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@ThisisIO](https://discourse.nodered.org/u/ThisisIO)\
**Post date:** [21 November 2020 13:47 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289/1 "2020-11-21T13:47:42Z")

</div>

# Problem/Motivation, Expected behavior, Actual behavior, Steps to reproduce

Hello  
I used Event Node with any input boolean to detect that HA or Node-Red or both were restarted

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/434ecd70b1d4fa1a0944d9300e2d98057478b262.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/5/b5cc8d1b928fefaaf30acd9509fa2c0935ff66b6.png)  
on connect i get message, send me a telegram and make a lot of actions after restart.  
I know for sure that it works till 114 HA and this NR (currently i have working raspberry with this version and it works there)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b15aff2164b555dc1a50ddb1f4ee401438d96a8a.png)

Now i made new install HA 118 and NR 7.2.10 on new Rapsberry and it do not work.  
It works only if i make FULL Deloy. On restart i get yellow CONNECTING and then RUNNING with no further message  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9a5433d25fc7328975d4aca695e8cc6ba3ea0e0d.png)

Code  
`[{"id":"6580c804.984c68","type":"server-state-changed","z":"93133afd.ad6e88","name":"Fake Node","server":"f39df34a.e72b7","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.fake","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"for":"","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":1180,"y":1000,"wires":[[]]},{"id":"f39df34a.e72b7","type":"server","name":"Home Assistant Websocket","legacy":false,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]`

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 November 2020 14:02 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289/2 "2020-11-21T14:02:31Z")

</div>

That's not a node I recognise in common usage - you may need to contact the author directly to ask about it.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [21 November 2020 14:03 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289/3 "2020-11-21T14:03:25Z")

</div>

This is a HA version of Node-red, probably best to ask on the HA forum

> **[Node-RED](https://community.home-assistant.io/c/third-party/node-red/31)**
>
> The place for Node-RED integrations.

---

<div class="post-metadata">

**Author:** ![ThisisIO](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@ThisisIO](https://discourse.nodered.org/u/ThisisIO)\
**Post date:** [21 November 2020 14:17 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289/4 "2020-11-21T14:17:07Z")

</div>

> [@dceejay](#):
>
> That's not a node I recognise in common usage - you may need to contact the author directly to ask about it.

Maybe clould you give a contact of him? Or some place where i can find it?

Thanks!

---

<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:** [20 January 2021 14:17 UTC](https://discourse.nodered.org/t/output-on-connect-do-not-work-after-restart-of-home-assistant/36289/5 "2021-01-20T14:17:07Z")

</div>

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