# Heartbeat not working?

**URL:** <https://discuss.blues.com/t/heartbeat-not-working/2574>\
**Category:** Uncategorized\
**Created:** [January 6, 2025, 5:27pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574 "2025-01-06T17:27:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willemb](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@Willemb](https://discuss.blues.com/u/Willemb)\
**Post date:** [January 6, 2025, 5:27pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/1 "2025-01-06T17:27:59Z")

</div>

I’ve deployed a remote device based on the basic asset tracker for testing purposes. During movement the device is reporting properly however during periods of inactivity I am not getting a heartbeat message? I’ve also tried the same setup on another device locally with the same result? Here is the setup I used:

{  
“req”: “hub.set”,  
“product”: “myproduct:etc”,  
“mode”: “periodic”,  
“outbound”: 60,  
“inbound”: 720  
}

{  
“req”: “card.location.mode”,  
“mode”: “periodic”,  
“seconds”: 1800  
}

```auto
{ "req":"card.voltage", "mode":"lipo"}

```

```auto
{ "req":"card.location.track", "start":true, "heartbeat":true, "hours":12, "file":"_track.qo"}

```

{  
“req”: “card.wireless”,  
“method”: “dual-primary-secondary”,  
“apn”: “m2m-west.telus.iot”  
}

---

<div class="post-metadata">

**Author:** ![Willemb](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@Willemb](https://discuss.blues.com/u/Willemb)\
**Post date:** [January 6, 2025, 10:42pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/2 "2025-01-06T22:42:07Z")

</div>

ok my local device does appear to be sending the heartbeat message now. I’m guessing its because I didn’t set sync to be true for card.location.track? If that’s the case then that crucial piece of info was left out of the [hackster.io](http://hackster.io) article.

I don’t see the ability to change this on my already deployed remote device. The closest enviornment variable is: \_sync\_continuous\_inbound. but that presumes continuous and not periodic? Is there any way to change this without retrieving the deployed unit?

---

<div class="post-metadata">

**Author:** ![abucknall](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/abucknall/32/1335_2.png) [@abucknall](https://discuss.blues.com/u/abucknall)\
**Post date:** [January 7, 2025, 8:23pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/3 "2025-01-07T20:23:59Z")

</div>

Hi @Willemb

You are correct, in order for the heartbeat to upload a note to Notehub, the `sync` parameter should be set to `true` otherwise, it will sync based upon the periodic outbound sync you have set to 60 minutes.

I had a look through the [reserved environment variables](https://dev.blues.io/guides-and-tutorials/notecard-guides/understanding-environment-variables/#reserved-environment-variables) (which can be used to update some command remotely) and there’s currently nothing that would allow you to remotely update the `sync: true` parameter on card.location.track unfortunately.

Is it just the single deployed device that is affected or is it a fleet of devices?

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![Willemb](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@Willemb](https://discuss.blues.com/u/Willemb)\
**Post date:** [January 7, 2025, 8:43pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/4 "2025-01-07T20:43:51Z")

</div>

Thanks Alex. It is just a single deployed device and it was a very rushed, let’s just go for it type of deployment. 😅 I’m going to do some further testing first and then go visit it in the field next week to make changes. Really I was curious if the [blues.com](http://blues.com) (Rogers) carrier here in Canada would work in the areas where I need it. I did at least discover that Rogers does not work and the outbounds I did receive were all from the secondary sim card I installed which uses Telus. So not a complete loss of a deployment - learned something crucial

---

<div class="post-metadata">

**Author:** ![abucknall](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/abucknall/32/1335_2.png) [@abucknall](https://discuss.blues.com/u/abucknall)\
**Post date:** [January 7, 2025, 8:49pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/5 "2025-01-07T20:49:26Z")

</div>

Thanks for the clarification! Out of curiosity, regarding your deployment / coverage, which Notecard are you using?

Alex

---

<div class="post-metadata">

**Author:** ![Willemb](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@Willemb](https://discuss.blues.com/u/Willemb)\
**Post date:** [January 7, 2025, 9:01pm UTC](https://discuss.blues.com/t/heartbeat-not-working/2574/6 "2025-01-07T21:01:30Z")

</div>

It the Notecard Cell+WiFi (Cat-M).
