I am following this documentation ( Pushing Data from Octave to IoT Central ) to set up the connection between Octave and IOT Hub. But got lost on part 2, where should insert this code from part 2, what is the source stream, my source stream is the report from Virtual created by Device Streams. And how can I debug the connection.
Hi jerdung,
Thanks for your reply. I went through the part 2 and can see the raw data update in Azure IOT center, but the data shows unmodeleddata, please see the attached pictures.
Once the template (which in your case should include the unmodeled data: Latitude, Longitude, sensorA) it Saved and Published in IoT Central, you can the map your device to that Template
Thanks for your reply, I have gone through the IOT center documentation, but it requests a template and manifest, could you share these files for MangOH Yellow with me?Also I am working on send the command from IOT center to Octave cloud,then go to device, do you have example or documentation on it.
The template (dapatoints that your device reports) can easily be done in the IoT Central UI, and it needs to be based on what you ask your Yellow to report (like the SensorA/SensorB example mentioned in our online docs)
I am also getting stuck on step 2 and have not managed to push the data to IOT Central. I did the following:
-Created a new cloud stream in Octave called /“my company name”/iotcentral_post_results
-Created a new cloud action, selected that new created stream as the source stream
-Pasted the JavaScript code in the action
-Replaced the URL with the function URL
I believe I need to change something in the Device ID line to refer to my device, but I’m not sure how to structure that. Also, I’m not entirely sure how to change the payload to the parameters I want. I am using a Mangoh Yellow and am trying to send temperature data to get started. This is what Ive tried, but I dont see anything coming through to my IOT Central App: