To display data in an Iot application from a non-writable smart device

%3CLINGO-SUB%20id%3D%22lingo-sub-2626162%22%20slang%3D%22en-US%22%3ETo%20display%20data%20in%20an%20Iot%20application%20from%20a%20non-writable%20smart%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2626162%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20exploring%20IoT%20Central%20and%20while%20doing%20so%2C%20I%20figured%20that%20to%20connect%20the%20device%20with%20IoT%20Central%2C%20the%20user%20needs%20to%20write%20some%20amount%20of%20code%20in%20the%20device.%20Since%20I%20am%20a%20software%20developer%2C%20I%20am%20not%20capable%20of%20writing%20code%20in%20the%20hardware.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20guide%20me%20regarding%20this%20-%20Is%20it%20possible%20to%20read%20the%20device's%20data%20from%20IoT%20Central%20without%20writing%20code%20in%20it%3F%20Or%20do%20we%20have%20any%20other%20service%20that%20provides%20the%20same%20functionality%20%3F%20Is%20there%20any%20way%20possible%20where%20I%20can%20connect%20my%20application%20to%20a%20smart%20device%20which%20is%20non-writable%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2628594%22%20slang%3D%22en-US%22%3ERe%3A%20To%20display%20data%20in%20an%20Iot%20application%20from%20a%20non-writable%20smart%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2628594%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1123655%22%20target%3D%22_blank%22%3E%40salomi_edward%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20device%20data%20is%20in%20JSON%20format%20(or%20in%20a%20json%20wrapper)%2C%20you%20can%20just%20connect%20the%20device%20to%20IoT%20Central%20and%20view%20it%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fiot-central%2Fcore%2Fconcepts-telemetry-properties-commands%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ERaw%20data%20view.%20%3C%2FA%3EThis%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fiot-central%2Fcore%2Ftroubleshoot-connection%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Elink%3C%2FA%3E%20can%20also%20help%20with%20troubleshooting.%20Can%20you%20share%20the%20format%20of%20your%20device%20data%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2628640%22%20slang%3D%22en-US%22%3ERe%3A%20To%20display%20data%20in%20an%20Iot%20application%20from%20a%20non-writable%20smart%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2628640%22%20slang%3D%22en-US%22%3EThe%20data%20is%20in%20Json%20format%2C%20and%20there%20is%20no%20issue%20in%20connectivity.%20I%20have%20a%20code%20running%20which%20generates%20simulated%20data%20and%20the%20data%20can%20be%20seen%20in%20charts.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20issue%20is%2C%20I%20want%20to%20imply%20the%20same%20on%20the%20device%20but%20my%20device%20is%20not%20writable%20so%20I%20can%20not%20install%20the%20packages%2Flibraries%20in%20my%20device's%20code.%20Is%20there%20a%20way%20possible%20to%20read%20the%20devices%20data%20without%20having%20to%20write%20on%20it%3F%3CBR%20%2F%3E%3CBR%20%2F%3EFormat%20of%20data%3A%3CBR%20%2F%3E%3CBR%20%2F%3EData%20%3D%20%7B%3CBR%20%2F%3E'id'%3A%20'567888'%3CBR%20%2F%3E'value'%20%3A%20%7B%3CBR%20%2F%3E'current'%3A%203%2C%3CBR%20%2F%3E'temperature'%3A%2035%3CBR%20%2F%3E%7D%3C%2FLINGO-BODY%3E
New Contributor

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 developer, I am not capable of writing code in the hardware.

 

Please guide me regarding this - Is it possible to read the device's data from IoT Central without writing code in it? Or do we have any other service that provides the same functionality ? Is there any way possible where I can connect my application to a smart device which is non-writable ?

3 Replies

Hello @salomi_edward 

If the device data is in JSON format (or in a json wrapper), you can just connect the device to IoT Central and view it in the Raw data view. This link can also help with troubleshooting. Can you share the format of your device data?

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
}

To 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

www.000webhost.com