How to establish a Device Cloud data stream with Python?

How to establish a Device Cloud data stream with Digi Python?

I don’t see this supported or gone over in the SDK examples or Device Cloud interface libraries.

Is this something I have do manually with a separate TCP socket? Doesn’t the WR21 (or other Digi HW) already have a socket connection open to the Device Cloud?

Hi,

I am not sure, if I understood what you mean. But anyways, if you have a Digi device, for example ConnectPort X4, you just need to register your device in Device cloud and then use Digi ESP to create a new DIA project and configure it to send your temperature or whatever data to device cloud using quite simple dialogs and wizards.

Another way is to use HTTP requests to send or get data from device cloud. I guess there might be some libraries for that too but I never used any.

https://www.digi.com/wiki/developer/index.php/IDigi_Data_Streams

Juha

Hello juha.autioniemi,

I’m a newbie in this field,I ask you for help.

I’d like to move the data cloud from devicecloud.digi.com to raspberry pi. Do you think it’s the right choice use Digi ESP? In this regard, could you give me more information on using Digi ESP to create a new DIA project?

Vito