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
}
{ "req":"card.voltage", "mode":"lipo"}
{ "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”
}
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 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?
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 (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
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 (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
Thanks for the clarification! Out of curiosity, regarding your deployment / coverage, which Notecard are you using?
Alex
It the Notecard Cell+WiFi (Cat-M).