0
Under review

Streaming data periodically from simplepack 2.0

Cesar 4 weeks ago in SimplePack • updated 2 weeks ago 11
Topic collaborators

Hi


I have bought a simplepack 2.0 a few weeks ago and I am trying to stream the data that it's recorded through the vibrations into the cloud (kinesis and DynamoDB) AWS. I was checking the documentation and I can't find the proper way to do this nor API available to get data in real time, I have only found that I can register the device in IOFrog and start receiving messages in that platform but I can't access the data my device is sending in an API way. I would like to receive the events directly from the devices through a service (JSON response from API). Is this possible with your device and if so, could you share with me the step-by-step guide, please?

Thanks

Cesar

Answer

-1
Answer

Dear Cesar,

you are right it can be confusing. 

But in step Register a new device in IOFrog you clearly have an option to use your own connectivity...which you used to have....

IOFrog platform availableraw data from Sigfox
1 year Devkit connectivityyes (callbacks creations needed for set up)yes
IOFrog connectivityyes directlyno
Own commercial connectivity sold by Sigfox operatoryes (callbacks creations needed for set up)yes
Own commercial connectivity sold by Sigfox operator online through buy.sigfox.comyes (callbacks creations needed for set up)yes
Own 1 year free connectivity that can be provided at discretion by Sigfox operator for development and testing purposesyes (callbacks creations needed for set up)yes

Is it clearer now ?


The Sigfox model is that the local Sigfox operators (Aerea in your case) are responsible for both onboarding the partners and for selling the connectivity and for support.

See https://partners.sigfox.com/companies/sigfox-operator?or[categories][0]=sigfox-operator&q=&limit=48&page=0


We as HW manufacturers cannot sell any connectivity...Only Sigfox operators can...


With best regards

Pavel

Under review

Dear Cesar, do you have access to Sigfox backend and have you been on boarded by Aerea ? Here are some resources
https://aws.amazon.com/blogs/iot/connect-your-devices-to-aws-iot-using-the-sigfox-network/ 
https://build.sigfox.com/backend-callbacks-and-api

Thanks 

Pavel

+1

I would start first connecting the Sigfox backend to AWS. Than I would process the Press me mode to understand the working and only in third step I would write the custom parser for Monitor me mode. In the future the IOFrog platform could publish the parsed data. It is ready from architectural point of view, but not ready from commercial point of view.

More info:

I have transferred the device back to backend.sigfox.com but now the device is not sending any messages and appears to be off contract. Details below:


  1. SimplePack ID 3B2B60 was originally associated to DevKit
  2. Then transferred to IO Frog group but IO Frog does not support online streaming of data to other servers now
  3. Today, the device was transferred back using current PAC code to backend.sigfox.com
  4. Confirmed successful transfer in Device > Events (screenshot)
  5. Device is OFF CONTRACT after sending the first message (screenshot)
  6. No Reset option on Device information 
  7. Contract associated to Device Type attached (screenshot) 

Photos:

Dear Caesar,

where did you find instructions to transfer connectivity from your devkit connectivity to IOFrog ? Do we have an error somewhere in documentation ?

You were able to use both AWS and IOFrog using the Devkit connectivity.

When you transfer connectivities you loose the token...

Have you been onboarded by Aerea ? I have never received an answer. 

Currently you can buy connectivity from them or ask them to provide free tokens to you....

If you dont succeed we can ask Sigfox helpdesk directly.


Thanks 


Pavel

Hi Pavel,

There is no instructions to transfer any devkit connectivity to IOFrog, I open the first resource available in your website which is this one:

https://docs.google.com/document/d/1kMNHREg0Lqy-4viBkfBAQlOXT-ZZFW7C7GsOv2eARAQ/edit#

In this link this is the only portion that talks about connectivity or how to start:

Connectivity

During Expo and for small order quantities we provided free trial connectivity. Currently you need either commercial connectivity or use the DevKit version of the SimplePack that includes 1 year of Platinum connectivity with Atlas geolocation services. SimpleBox comes directly with DevKit connectivity.


So what I did is to go to the IOfrog page (because the link is in the document) and followed this link for "connecting my first device".

https://doc.iofrog.com/en/starting/

After paying for the 1-year subscription, I activated the device in the monitor me mode and could see only a chart displaying the vibrations and duration of vibrations, so far so good.

Now my use case requires using the data in its raw format in real time, which means using the same data the IOFrog is using to build those charts, but directly from my application. I found out that no API is built or ready to be used, so using IOFrog doesn't make sense for my use case. So I asked in this forum and followed the advice from the first post and then used some information that you shared with me... I am not sure why I would use Aerea, or what is that even for?

So I followed this guide to connect the simplepack 2.0 to backend.sigfox.com:

https://support.sigfox.com/docs/register-a-device

But when I did it, it seems that the device is not connecting or sending anything. Therefore I contacted the people from your customer service and they asked me to post the last message that I shared here.

You were able to use both AWS and IOFrog using the Devkit connectivity.

I don't quite understand when you say that, it is not possible because I need to have access to the backend sigfox to be able to follow this tutorial that you posted. https://aws.amazon.com/blogs/iot/connect-your-devices-to-aws-iot-using-the-sigfox-network/

-1
Answer

Dear Cesar,

you are right it can be confusing. 

But in step Register a new device in IOFrog you clearly have an option to use your own connectivity...which you used to have....

IOFrog platform availableraw data from Sigfox
1 year Devkit connectivityyes (callbacks creations needed for set up)yes
IOFrog connectivityyes directlyno
Own commercial connectivity sold by Sigfox operatoryes (callbacks creations needed for set up)yes
Own commercial connectivity sold by Sigfox operator online through buy.sigfox.comyes (callbacks creations needed for set up)yes
Own 1 year free connectivity that can be provided at discretion by Sigfox operator for development and testing purposesyes (callbacks creations needed for set up)yes

Is it clearer now ?


The Sigfox model is that the local Sigfox operators (Aerea in your case) are responsible for both onboarding the partners and for selling the connectivity and for support.

See https://partners.sigfox.com/companies/sigfox-operator?or[categories][0]=sigfox-operator&q=&limit=48&page=0


We as HW manufacturers cannot sell any connectivity...Only Sigfox operators can...


With best regards

Pavel

Hi Pavel,

No, it is not clear yet or even answered the question. The simple question is:

After buying a SimplePack 2.0 device, what are the steps to take to stream data from the device to AWS?


You are mentioning connectivity and others but no clear definition of the steps to take. Could you please post a step-by-step guide to do this? I can't find any clear documentation on the device of your page. If your device comes already with sigfox integrated then the only thing I need to do is to buy the connectivity that I have already bought through IOFrog. After that, I should be able to use the device, but I can't.


I don't know why I should contact Aerea if I have already paid 13 euros for the connectivity and platform in IOFrog.


Also, could you explain the table a bit more, I don't really understand what is the first column nor raw data from sigfox, what does it mean? that I should be able to see the raw data from the backened.sigfox.com even if my device is not registered there but it is in IOFrog?


 We as HW manufacturers cannot sell any connectivity...Only Sigfox operators can...

Well I know that, that's why I paid 13 euros to IOFrog to see the charts they display....

Finally, If you tell me Aerea will be the ones in charge of showing me a step to step guide on how to stream data from your devices to my AWS account, then I will call them but if not, then I don;t really see why I would even contact them if I can already see data from the device through IOFrog after paying for it.


Sorry for long reply, but I think the device needs way better documentation that is properly writen instead of a google doc without clear instructions, just a constructive criticism.


Best

Cesar

Dear Cesar,

Sigfox itself is not completely self learning system and click and go system. Similar to Salesforce or other B2B systems the recommended way for integrators is to get properly trained by the local Sigfox operator. There you would understand that by transferring the device from one connectivity provider to another you would loose the token.

And it is even clearly described and communicated in Sigfox online documentation. https://support.sigfox.com/docs/devices-being-transferred

IOFrog is not intended and never was positioned for integrators requring API access but more for end users not wanting to do any programming.


The devkit token and the IOFrog tokens are now lost for good by your transfers and nobody can do anything about it....

Either you buy new connectivity or explain the situation to Aeara and try to get free token from them.

With best regards

Pavel Sodomka

Ok thanks for the reply, there should be a clear statement in the documentation saying: "Please contact Sigfox operators to make our devices work", I think that would be better and would save money for people that spend in IOFrog when is not intended to programming. 

I'm also not sure what the devkit token means, it is not explained anywhere so if you can send me the link where it says what it is I would appreciate it.

Also, the documentation on transferring the device is just using your ID and PAC to transfer... that allow people with no experience break things up as I did, so take it as a good sample of no good docu for your device.

Now I have another SimplePack 2.0 that is connected in IOFrog and it keeps sending data to the platform, if you can CLEARLY explain how to grab the device, connect it to sigfox and then start streaming data, I would highly appreciate it. Otherwise, this answer has not been answered.

-1

Dear Cesar,

we are pretty sure, that we always ask integrators to get properly trained and on boarded by the local partner. We cannot replace a whole day onboarding/training of Sigfox and its concepts....

We are here to support you and explain you anything about the device, but for connectivity and backend you must understand the basics.

And connecting any device is the basics. If you want to be an integrator and to develop and sell solutions based on Sigfox you need to be trained or at least self train yourself properly using documentation and trainings provided by Aerea and Sigfox.

With best regards

Pavel Sodomka

thanks a lot for your help Pavel