Bosch XDK to Bosch IoT Cloud
Answer
9/3/18 10:06 AM

I am trying to connect Bosch XDK toBosch IoT Cloud. I am following the instruction of a tutorial on bosch iot suite website. It is mentioned there to copy the config.txt file to SD card and place the SD card in the sd card slot of XDK but the problem is that I don't have any SD card in my XDK. What should I do? Can I use the XDK without SD card to connect it with Bosch IoT Cloud or not?

Thank you.

0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/3/18 2:58 PM as a reply to Sajid Baloch.
Hello Sajid,

currently, the connection to the Bosch IoT cloud can only get established with the BoschXDKCloudConnectivity example, using a configuration file on the XDK's plugged SD card.

Since the settings get directly loaded from the config.txt file into the XDKs Wi-Fi chip, there is no workaround without the need of a SD card.

To the SD card requirements:

The XDK supports micro SD cards up to a capacity of 32 GB.
The required filesystem is FAT32.
The filesystems NTFS and SDXC are NOT supported!
To guarantee a smooth performance, class 4 cards and above are highly recommended.

Please tell me if this was helpful, and do not hesitate to ask further questions.

Kind regards,
Franjo
0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/3/18 3:35 PM as a reply to Franjo Stjepandic.

Thanks for your response. I installed a class 10 SD Card (32-GB) having the config file in root directory and now I am trying to send the data to Bosch IoT cloud. 

- I have created a Thing and set the API Token but still not being able to get the live data. 

Is it due to the authorization/permission? 

How can I get the live data?

Can you please help me and guide me step by step?

I am trying to send the temperature and humidity data to Cloud and get it on any device. Please suggest me the easiest way to do it. Thanks.

0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/3/18 3:41 PM as a reply to Sajid Baloch.
I also want to ask that I am not being able to create a new subscription. It says "Failed (Quota)". Can you help me in this as well?
0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/4/18 3:25 PM as a reply to Sajid Baloch.

Hello Sajid,

first, I require more informations about your use case scenario, before I can conclude about the root of your issue.

Did you follow all instructions at to configure your account settings, in order to receive data from the XDK?

Regarding the live data:
There exists a slider Live Data, which can be found within the same menu as the slider My Things. Using this, you can take a look at the data one of your XDK's streaming over the BoschXDKCloudConnectivity example.

Could you please provide an outline of your XDK-Workbench console, while running the BoschXDKCloudConnectivity example? Yesterday occured an issue, located in the backend, so your problem could be already solved.


This thread here provides further informations.

Also, there exists a slider called API, which you can use to obtain the data for your own application (e.g. requesting to any device with a complementary app).

In regards to the subscription, could you please provide more detail about the subscription itself, you try to generate and also about the location, at which step the process exactly fails?

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo

0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/5/18 10:13 AM as a reply to Franjo Stjepandic.

Thanks for your response.


--Did you follow all instructions at to configure your account settings, in order to receive data from the XDK?
                 YES, I did follow all the instructions of the tutorial. I don't know whether I need to do some changes in the BoschXDKCloudConnectivity or not. I haven't changed anything, just flashed the code as it is in th XDK. 


Regarding the live data:
There exists a slider Live Data, which can be found within the same menu as the slider My Things. Using this, you can take a look at the data one of your XDK's streaming over the BoschXDKCloudConnectivity example.

Yes, I am getting the Live Data now. I wasn't getting it before.

 

Can I save the data over Bosch IoT Cloud? I haven't used the IoT Hub, IoT Analytics or any other service but still I am getting the data. Are these services for subscribing or publishing? 

I want to ask, How can I setup my own application to get the value?

What are the options to get the data on a device or app? Can you guide me the easiest way to get the data on any other device? There are no preferences for the device/app.


 

0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/5/18 2:20 PM as a reply to Sajid Baloch.
Hello Sajid,

thank you for answering the questions.

Good, you followed the tutorial. If your config file, which is stored on the SD card, includes username and password, like in the tutorial explained, there is no need to change the example code at all.

Glad to hear, you are able to receive the live data now.

For storing your data on the Bosch IoT Cloud server, Bosch IoT Things is a good way to go and works with a free account.
A detailed information about this service, you can find at the Bosch IoT Things website . Your questions regarding the wish to share data from the cloud to other devices or applications will probably clear itself when you step into the topic IoT Things. Bosch IoT Things offers huge possibilities, including your imagined scenario.

I deeply advise you to not rush into this topic by the thought of finishing your project as fast as possible.
Better take your time and enjoy all the incoming knowledge for an even better output.

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo
0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/5/18 3:28 PM as a reply to Franjo Stjepandic.

Thanks for your kind suggestions.

For storing your data on the Bosch IoT Cloud server, Bosch IoT Things is a good way to go and works with a free account.

I am already using Bosch IoT Things. I did registered my XDK as a Thing and that's why being able to get the live data. 

 

A detailed information about this service, you can find at the Bosch IoT Things website . Your questions regarding the wish to share data from the cloud to other devices or applications will probably clear itself when you step into the topic IoT Things. Bosch IoT Things offers huge possibilities, including your imagined scenario.
Okay, I will look into it.


I am still not being able to add new subscription on Bosch IoT Suite. The screenshot is attached.

 

0 (0 Votes)
RE: Bosch XDK to Bosch IoT Cloud
Answer
9/6/18 3:18 PM as a reply to Sajid Baloch.
Hello Sajid,

thank you for your attached screenshot.
Okay, obviously there is an issue with your current IoT Hub subscription, so I suggest you to remove it first.

I reconstructed the scenario with two different subscriptions and had no issues as you can see in the attached screenshot.

Here my proceeded steps you can follow:
 
  1. I went to My Account, then to Service Subscriptions.
    You also can enter the site by clicking this link, if you are logged in as user.
  2. When I clicked the + New Subscription button, a pop up menu appears.
    For the first subscription, I choose Bosch IoT Things.
  3. On the directed service configuration page, I named the instance and created a namespace.
    Followed with the click on Subscribe, the first IoT Things Subscription was done.
    It took a few minutes, then this service was activated.
  4. Back to the Service Subscription page, I repeated steps 2 and 3, except for choosing a IoT Hub subscription this time.
I hope it will work with your next try.
If you still struggle to subscribe to IoT Things, please provide detailed informations about the failure itself.

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo
0 (0 Votes)