Forum Discussion
salomi_edward
Aug 09, 2021Copper Contributor
To display data in an Iot application from a non-writable smart device
Hello All, I was exploring IoT Central and while doing so, I figured that to connect the device with IoT Central, the user needs to write some amount of code in the device. Since I am a software ...
salomi_edward
Aug 09, 2021Copper Contributor
The data is in Json format, and there is no issue in connectivity. I have a code running which generates simulated data and the data can be seen in charts.
My issue is, I want to imply the same on the device but my device is not writable so I can not install the packages/libraries in my device's code. Is there a way possible to read the devices data without having to write on it?
Format of data:
Data = {
'id': '567888'
'value' : {
'current': 3,
'temperature': 35
}
My issue is, I want to imply the same on the device but my device is not writable so I can not install the packages/libraries in my device's code. Is there a way possible to read the devices data without having to write on it?
Format of data:
Data = {
'id': '567888'
'value' : {
'current': 3,
'temperature': 35
}
sekhark
Microsoft
Aug 09, 2021To read the device data, you should be able to either
1. Connect the device directly to your IoT Central application or
2. Send device data to a IoT Central device bridge or an Edge module where you can process the device data and then send the transformed data to IoT Central.
Reference: https://docs.microsoft.com/en-us/azure/iot-central/core/howto-transform-data