Using a route with heartbeat


#1

Currently I have multiple Sims using the same routes. Each route is using an advanced custom webhook to get to my website, To differentiate devices, I post <<device.id>>,<>. This allows my website to determine which device is sending the data.
I can add another route using the same topic that has a heartbeat modifier, but it seems that it doesn’t send anything to the advanced webhook if I ask for the <<device.id>>. It does work if I post something like “hello world”. I need to have something that tells me which device is timing out.
Any thoughts?


#2

Hey Mcrowley,

I’m not sure I quite follow what is going on here, but have you tried attaching these to different topics? What I have done in the past is programmatically get my device’s ICCID and concatenate the last few digits to a custom topic which helps isolate both the device and the specific topic you want to generate.

Cheers,
Maiky


#3

Let me see if I can describe it better.Let’s say I have the following:
100 SIMs
1 Topic - mystatus
1 Route Myweb - uses an advanced webhook with <<device.id>>,<> to my website.

when each SIMM delivers a message to my website, I can determine which SIMM sent the message by the <<device.id>>.

Let’s say that each device sends a message every hour. If for some reason the SIM does not send a message for two hours, I wanted the hologram cloud to send me a message which would allow me to determine which of the 100 SIMs has not reported data.

In production, you want to make it easy and foolproof to add more SIMs. In my case, I just activate the SIM and enter the Device.id into my web database. Making another topic for each SIM, and adding that Topic to the route leaves too much room for mistakes.

If the heartbeat option could tell which is the offending SIM ( I assume by device.ID) then the heartbeat function is quite valuable to all of us.


#4

Hey Mcrowley,

Unfortunately heartbeat doesn’t do this right now. You’d have to make a separate route for each. I agree that it would be really nice to have this so I have shared your feedback with our product team to add this feature in the future.

Cheers,
Maiky


#5

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