# Help with 'device has not reported back for x time period'

**URL:** <https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924>\
**Category:** Questions & Help\
**Created:** [October 21, 2022, 7:41am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924 "2022-10-21T07:41:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [October 21, 2022, 7:41am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/1 "2022-10-21T07:41:40Z")

</div>

I have several Fibaro motion sensors and the way they display their battery percentage is not really user friendly. Sometimes at 55% they stop working. So, to know they have stopped working I have created this flow, which I thought should work.

Today I saw one motion sensor being offline, already for 19 days. So, apparently the flow doesn’t work. Am I missing something?

Just to be clear; all my motion sensors have the name ‘bewegingssensor’ in it and testing the flow with a made up name works perfectly.

Thanks.

 ![Schermafbeelding 2022-10-21 om 09.33.54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6bd54f94bc0cc7c53907f15f827d8d3631d9bc09.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 21, 2022, 7:58am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/2 "2022-10-21T07:58:55Z")

</div>

That trigger will only work for devices that reach the 1-day “not reported” limit while the flow is active. If you just created the flow and you have devices that have not reported for longer than 1 day, it will not trigger for those.

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [October 21, 2022, 8:00am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/3 "2022-10-21T08:00:46Z")

</div>

Thanks! The flow has been active for about a month now, so it should have worked if all is set correctly.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 21, 2022, 8:06am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/4 "2022-10-21T08:06:55Z")

</div>

Hmm yes, you’d expect so 🤔

Have you tried running it without the “And” condition?

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [October 21, 2022, 8:09am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/5 "2022-10-21T08:09:39Z")

</div>

I can try that, yes. Just to test it out, since that would mean that any device that doesn’t respond for one day (also the ones that aren’t supposed to) triggers a notification.

---

<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:** [October 21, 2022, 8:35am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/6 "2022-10-21T08:35:05Z")

</div>

I can’t find out what’s the trigger of that “device hasn’t reported in x hrs” card.  
I got notifications about sensors which were active every x hours, while they should’ve been quiet for the last 24h..

This flow might be interesting, it shows sensor devices (pir/temperature/contact), which didn’t send any update for 24h, and the other ones with a timestamp (if wanted with date & time).  
The script used was made by Robert Klep.

> [@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:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [October 21, 2022, 8:43am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/7 "2022-10-21T08:43:36Z")

</div>

Ah, nice! I’ll try that one. Never used HomeyScript before, but there’s a first for everything.

So, for you the standard trigger from Homey didn’t really work either… a shame.

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 11, 2025, 5:59pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/8 "2025-03-11T17:59:19Z")

</div>

I know this is an old thread, but rather than starting a new I’ll ask for help in this one.

I have a flow (that works fine) with the “A device hasn’t reported in XX minutes”-card to restart Homey when the 433 Mhz sensor protocol has frozen (which it does several times a day for me). The device I have chosen is a light sensor.

Since the light sensor is inactive during nights I have had to set a time period card to avoid restart loop when it’s dark. Due to this I would like to change the sensor to my weather stations wind direction instead, which almost always changes even if it’s really still.

I have tried to change the sensor in the Logic card, but it does not work for some reason. Can someone help me with this?

Here is the working flow:

 ![Skärmavbild 2025-03-11 kl. 18.53.40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/280f3be7267448bd8b9681fd9242c598e8d9e96a.png)

And this is what I tried with no luck:

 ![Skärmavbild 2025-03-11 kl. 18.52.01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a10c9e76088ec04eea965af9ba5974d06f33e045.png)

To test with the wind direction sensor I duplicated the original (working) flow, deleted the time card and changed the sensor in the logic card. I can’t understand why it’s not working. The light sensor uses the Alecto protocol and the weather station uses the Oregon protocol, but I can’t imagine that that is the issue.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2025, 9:35pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/9 "2025-03-11T21:35:51Z")

</div>

The Name token you are trying to compare to will be the name of the device that hasn’t responded in xx minutes.  
But looks like you are trying to compare it to a capability, which isn’t part of the device’s name usually.  
(assuming the logic variables’ value you are using as comparison is the same as the name of the variable, and not a device’s name).

Perhaps it worked for your light sensor, cause you have that in the name?  
and you probably don’t have the capability “wind angle” as part of your weather sensor device’s name.

Might be better to test by typing out the name of the device, instead of using a logic variable.

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 12, 2025, 12:39pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/10 "2025-03-12T12:39:30Z")

</div>

Thank you Caseda,

I feel that I don’t understand everything you are saying so I’ll skip to your suggestion:

> [@Caseda](#):
>
> Might be better to test by typing out the name of the device, instead of using a logic variable.

So I should not use the “Name” tag in the Logic card, but rather type the name I gave the sensor? I have named the sensor “Vind” (Swedish), so you think that that is what I should use instead? I’ll give that a try of course. Might it be that the reason the “Ljussensor” works with the “Name” tag is that the variable is the same name as the sensor (confusing me), which is not the case with the Wind angle.

One issue I see with using the name of the wind sensor is that is a three value sensor: Wind angle, Gust strength and Wind strength. Will the “Device hasn’t reported”-card see the gust strength as not reported if it’s dead calm outside for the set time period?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 12, 2025, 1:39pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/11 "2025-03-12T13:39:01Z")

</div>

No, the “hasn’t reported in … minutes” card triggers if **none of the devices capabilities** haven’t reported in the set time, not specific on a single capability.

And contains only a tag with the **name of that device** , and a tag with the **zone of that device** , not which capability hasn’t reported.

So you need to validate with the contains card (AND) if the device triggering that card has the name you want.

See this example in what i mean wkth typing out the name of the affected device:

 ![Screenshot_20250312_143310_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f3a91504b02a8ccf72f232fffcd23c01ab498e5c.jpeg)

- [IF] A device hasn’t reported in 5 minutes;
- [AND] Tag(Name) contains `device_name`;

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 12, 2025, 3:56pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/12 "2025-03-12T15:56:53Z")

</div>

OK, good to know and I think I understand. When the 433 MHz sensor protocol freezes all 433 MHz sensors are flatlining in Insights. I just need to have a sensor that updates frequently 24/7 as a trigger for the flow, hence the wind direction.

I have updated the flow to this:

 ![Skärmavbild 2025-03-12 kl. 16.51.20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/77e7b832ffc29f908ce09f3ffe1f164e5b10997f.png)

I renamed the weather sensor to “Wind” instead of “Vind” since that word is the same as “attic” in Swedish. (I have a temp/hygro sensor in the attic named “Vind” so I imagine that the Logic name tag would include that one if I use “Vind”.)

This is still in testing, so I used a notification “Then” card instead of a Homey restart card. Now I just have to wait for the 433 MHz sensor protocol to freeze again to see if it works. I’ll report back! 👍

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 14, 2025, 12:45pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/13 "2025-03-14T12:45:38Z")

</div>

So, I think that @Caseda’s suggestion works perfectly! With the sensor name “Wind” instead of the tag I got five notifications during the night. Checking Insights I saw this:

 ![Skärmavbild 2025-03-14 kl. 13.33.54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a445ba1568f70812c2ea4a678a338c744fe365da.jpeg)

All the notifications came during the period between 03:40 and 05:40, so the trigger works precisely as I want!

However…this is still not ideal. I can see that other sensors did not flatline during this period…so the 433 MHz sensor protocol was not frozen and a restart of Homey not necessary. So my next test will be this:

 ![Skärmavbild 2025-03-14 kl. 13.39.24](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/acb90558482dd5ccb3c293bf977c6828edaf097d.png)

The TFS03 is my outdoor temp/humidity sensor. So my thought is that if the wind is dead calm (and no changes in wind angle is reported as last night) hopefully the outdoor temperature and/or humidity will change during the 5 minute period I have set now. That is just for testing…if it works I will extend the timer to 30 minutes.

This is really a waiting game since my issues with the freezing 433 MHs sensor protocol is so random. It can happen several times a day and it can be fine for over 24 hours.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 14, 2025, 4:26pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/14 "2025-03-14T16:26:20Z")

</div>

This won’t work, as both devices will never trigger this card at the same time.  
Looking at 2 devices for this is a lot more difficult.

You’ll have to work with 2 yes/no variables and set the corresponding variable to True if 1 of said device triggers the card, and if that is true and the other device triggers the trigger card (again), do whatever you want (restart Homey).

Example:

 ![screenie](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/699d4fc482f873b5c2f0947144eb4d6ff0a6d2b1.jpeg)  
Set to `True` (Yes/Ja) when device 1 failed, but 2 hasn’t yet, if device 2 also had, set into timeline  
ViceVersa for the other device  
Then back to `False` for said device when any capability changes

But probably easier to enlarge the time the devices hasn’t reported.  
Or use a HomeyScript that is already floating on the forum that does the “hard” work.

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 14, 2025, 5:46pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/15 "2025-03-14T17:46:14Z")

</div>

> [@Caseda](#):
>
> This won’t work, as both devices will never trigger this card at the same time.  
> Looking at 2 devices for this is a lot more difficult.

Why will they not trigger the card at the same time? My problem is that the 433 MHz sensor protocol freezes, which will flatline all sensors at the exact same time (in Insight).

The reason I don’t want the enlarge the time is that if the freeze happens when the light conditions are corresponding to when I want the lights to turn on I don’t want ta wait to long for the Homey restart.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 14, 2025, 5:53pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/16 "2025-03-14T17:53:06Z")

</div>

2 reasons:

1. most real reason: That is how flows are working in the back end, also why 2 trigger cards can never be connected to an ALL card.
2. The last time after a device received its last value is the reason for that card to activate, which can be several (milli) seconds or even minutes apart, in insights it might look the same, but it definitely won’t be the same.

Edited my previous post with an example (Sorry for the Dutch language)

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 17, 2025, 10:06am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/17 "2025-03-17T10:06:31Z")

</div>

I see…that was good information. 👍 I’m not comfortable using scripts and since I have so much issues with my Homey I want to keep it as simple as possible for now.

I’ll give the yes/no variable a try.

Thank you so far Caseda!

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 17, 2025, 11:50am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/18 "2025-03-17T11:50:44Z")

</div>

I tried to copy your flow @Caseda and this is what I came up with:

 ![Skärmavbild 2025-03-17 kl. 12.35.43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60a4cc523262ce03947d28dc76ef7410aea61812.jpeg)

I’ll give it some time to see if it works…the 433 MHz sensor protocol has to freeze to give confirmation.

The only thing I see that can be an issue is the card in the bottom left: “A Temperature value changed”. Is there a way to specify which temperature value? I’m guessing that this card monitors all temp sensors I have and that my non 433 MHz temperature sensors therefore can cancel the flow even if the 433 MHz sensor protocol is frozen.

Can I insert an AND name card (like the ones after the “A device hasn’t reported” card in the beginning of the flow) before the following logic card “Set Ljussensor frozen to No” to specify that it’s only the Ljussensor’s temperature that is valid for this function?

(For those who wander, my Ljussensor is an ordinary temp sensor that I have modified with a photo resistor to work as a light sensor. That’s why the value is temperature instead of Lux.)

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 17, 2025, 11:58am UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/19 "2025-03-17T11:58:17Z")

</div>

You can just use the trigger card from the device itself, that also should have a “temperature changed” trigger card.

---

<div class="post-metadata">

**Author:** ![Paxman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paxman/32/128050_2.png) [@Paxman](https://community.homey.app/u/Paxman)\
**Post date:** [March 17, 2025, 12:26pm UTC](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924/20 "2025-03-17T12:26:50Z")

</div>

Like this? 🙂

 ![Skärmavbild 2025-03-17 kl. 13.26.29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/42c2da9529e892d079e743250fa114215fd3bcfa.jpeg)

EDIT: Oh, I guess I can remove the “Name” card in the last string then…

[Next page](https://community.homey.app/t/help-with-device-has-not-reported-back-for-x-time-period/70924.md?page=2)
