# Homeyduino - notify on lost connection

**URL:** <https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374>\
**Category:** Apps\
**Created:** [August 30, 2023, 9:36am UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374 "2023-08-30T09:36:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sigmundo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sigmundo/32/47979_2.png) [@Sigmundo](https://community.homey.app/u/Sigmundo)\
**Post date:** [August 30, 2023, 9:36am UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/1 "2023-08-30T09:36:24Z")

</div>

I have an esp8266 that drops out now and then. Is it possible to get a notification from Homey when this happens?

Followup question: Does Homey track active device connections, or just operate on sensor readings? I’m asking cause I wonder what the condition is for the red triangle to show up for a given device. Is it after a given time since the device was connected? Or a given time after e.g. last sensor update via setCapabilityValue?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 30, 2023, 12:38pm UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/2 "2023-08-30T12:38:11Z")

</div>

when you send a command to your device, then in advanced flows, you can check if the device is responding by viewing the response on the lower nipple of the action card.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0ff7aac3d15abab335f5eccce67a1e8b2bdb944c.png)

---

<div class="post-metadata">

**Author:** ![Sigmundo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sigmundo/32/47979_2.png) [@Sigmundo](https://community.homey.app/u/Sigmundo)\
**Post date:** [August 30, 2023, 1:21pm UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/3 "2023-08-30T13:21:15Z")

</div>

Interesting, I’ll try. My device has no inputs/actions at the moment, but I can change that.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 30, 2023, 1:42pm UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/4 "2023-08-30T13:42:41Z")

</div>

This can come in handy as well

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/13):
>
> Sensor (or any device) Connection Check. Sometimes, you’ll discover a sensor or other device doesn’t report it’s status or value anymore, but it does NOT notify you of being offline… Well, this flow checks the, most recent update time of your sensors. You can run the flow every day, twice a day, just add or remove a time triggercard. The ‘inactive time’ can be edited as well (24hrs as default) and you can choose to not send notifications when all sensors did report inside the ‘inactive time…

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [August 31, 2023, 5:32am UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/5 "2023-08-31T05:32:12Z")

</div>

As the Homeyduino relies on WiFi you may use the Smart Presence app for its IP address (must be static in router or locked to the MAC address).

---

<div class="post-metadata">

**Author:** ![Sigmundo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sigmundo/32/47979_2.png) [@Sigmundo](https://community.homey.app/u/Sigmundo)\
**Post date:** [August 31, 2023, 7:34am UTC](https://community.homey.app/t/homeyduino-notify-on-lost-connection/88374/6 "2023-08-31T07:34:32Z")

</div>

These are all good options, thanks guys!

I did a round of debugging and found that the problem is not just the homeyduino device. It is on the edge of my router range, and drops out occasionally, sure. I never see the red triangle though. The main problem is that the ESP-now mesh it’s connected to is also flaky. The sensor is 3 stories below me, and there are 2 mesh nodes that relay sensor values. When the mesh disconnects, the homeyduino device may be online, but no new sensor readings are reported.

In addition to the update timer, I think I have to add some logic that compares previous value(s) to current, and notifies me if say temperature is static at 18.1C.

Edit: strike that last bit. The update timer should take care of this if I understand this flow correctly.
