# Giving Device unactive status after not recieving message for period of time

**URL:** <https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447>\
**Category:** General\
**Tags:** function-node\
**Created:** [28 June 2022 09:01 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447 "2022-06-28T09:01:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samokomo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samokomo/32/63918_2.png) [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Post date:** [28 June 2022 09:01 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447/1 "2022-06-28T09:01:40Z")

</div>

Hello.

I might use some help.  
I am recieving batches of Wi-Fi data which I than filter by MAC adress and define position of each device etc. The thing is I need to mark unactive devices.

For example I recieve msgs like this:

mac: "30:83:98:00:XX:XX"  
eap: ""  
interface: "2.4GHz-XXXX-4np-BD-1-2"  
ssid: "XXX-iot2"  
uptime: "2m14s290ms"  
packets: "4001,3916"  
bytes: "236107,1006147"  
tx\_rate: "26Mbps-20MHz/1S"  
rx\_rate: "58.5Mbps-20MHz/1S"  
rx\_signal: "-57"  
tx\_rate\_set: "OFDM:6-

I recieve it in bach every 2 seconds and filter them by MAC adress. When I stop receiving messages for more than 10 seconds - about any of mac adresses - I need a message to be send (for example msg.active="Not active"). Is this possible? Any hints please?

---

<div class="post-metadata">

**Author:** ![Samokomo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samokomo/32/63918_2.png) [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Post date:** [28 June 2022 09:57 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447/2 "2022-06-28T09:57:50Z")

</div>

I used tuned trigger node and it does what I want 🙂

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [28 June 2022 10:00 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447/3 "2022-06-28T10:00:30Z")

</div>

Mark that post as the solution please.

---

<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:** [12 July 2022 10:01 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447/4 "2022-07-12T10:01:10Z")

</div>

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