Re: [balenaForums] [balenaCloud] Log shows some errors.
Hello Carlo,
Many thanx for your help.
Yes, it was the issue regarding same ClientID as I copied most of 2nd script
contain from the 1st script.
Actually both issues were connected!
It would be good if somewhere at your manual example you may point it as a friendly advice.
I gave it a go for over 3 hours now and it works.
Well done.
May I asked once the topic closes - will the all data gets deleted?
I’m going to look AWS SDK for .Net now.
Alex
cmfcruz balena team
May 21Hi Alex,
I haven’t seen your scripts as it was not attached to the forums but it seems to me that your problem is related to this Stackoverflow thread I found where a user was having problems publishing using the AWS IoT SDK MQTT client to an existing topic using a different client. Please click the link below to follow the discussion thread there: stackoverflow.com Python AWS iot SDK subscription**
python-3.x, aws-sdk**
I would advise to look into the documentation of AWS IoT regarding the data retention policy of their MQTT broker. A good starting poing would be this page. Hope you sort everything out!
I do apologies for some delay.
I want to thank you all, and your support team for patience with me.
I managed all working with your help!
I do use Raspberry PI with AWS SDK running python scrip.
It reads data from Raspberry serial port and sends that to AWS IoT Cloud.
I also explored and wrote software at PC under Win10, which acts as a client
and is able to read data previously posted by RPI via AWS IoT. Fantastic!
World has no limits now.
The distance no matter (the size still does… )
I do need some your help and advices regarding AWS IoT Analytic now.
I need to ask you 2 things:
If the network/internet connection between Raspberry PI and AWS IoT Cloud
drops off I do need to understand how and how long I may keep data coming to Raspberry PI
via serial port in and how later to resend that. Any link will be helpful.
Could it be all automatic controlled by AWS SDK or I need to write my own
additional code in python script ?
The data from Raspberry PI normally may come once per several minutes.
Every packet data is important to save.
What I need to do is to store every packet, as it is a human print operation,
firmly somewhere at AWS IoT Cloud.
I also need to retry that information back later, more likely at PC, Windows 10 based.
Hey Alex,
I would advise to look into the documentation of AWS IoT regarding the data retention policy of their MQTT broker. A good starting poing would be this page. Hope you sort everything out!