# Send NodeRed status to HomeAssistant

**URL:** https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201
**Category:** General
**Created:** [7 March 2021 13:57 UTC](https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201 "2021-03-07T13:57:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![terminus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/terminus/32/38378_2.png) [@terminus](https://discourse.nodered.org/u/terminus)
#### Post date: [7 March 2021 13:57 UTC](https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201/1 "2021-03-07T13:57:50Z")

</div>

Hi folks!  
What I'm trying to do, is an WAN-Connection check. So I'm doing a ping to Google DNS, and if this ping fails, I want an binary\_sensor entity in Homeassistant to show, that there's no Internet connection available. I'm experimenting with the "Entity-Node", got the websocket extension via HACS installed, but have no clue how to get the rest done.

I want the binary sensor to show false if the Ping msg. is false, and true if the Ping node msg is anything other than "False". Can you help me to configure the node correctly?

Regards

 ![Bildschirmfoto 2021-03-07 um 14.56.53](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18aa9b3d01292ace989e98e52a81b428cc8dfb2c.png)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [7 March 2021 15:09 UTC](https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201/2 "2021-03-07T15:09:54Z")

</div>

If the problem you have is with doing the ping then we can help, but if it is with the HA side then you would probably be better on an HA forum as not many here use HA.

---

<div class="post-metadata">

### Author: ![terminus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/terminus/32/38378_2.png) [@terminus](https://discourse.nodered.org/u/terminus)
#### Post date: [7 March 2021 17:04 UTC](https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201/3 "2021-03-07T17:04:41Z")

</div>

I see, thank you :-). It's indeed more a Homeassistant related problem i guess

---

<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: [6 May 2021 17:05 UTC](https://discourse.nodered.org/t/send-nodered-status-to-homeassistant/42201/4 "2021-05-06T17:05:00Z")

</div>

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