Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "DeviceProperties": {
- "DeviceID": "CoolingSampleDevice001_574",
- "HubEnabledState": true,
- "CreatedTime": "2017-10-12T09:41:05.5850203Z",
- "DeviceState": "normal",
- "UpdatedTime": "2018-05-19T00:28:02.025887Z",
- "Manufacturer": "Contoso Inc.",
- "ModelNumber": "MD-3",
- "SerialNumber": "SER3",
- "FirmwareVersion": "1.3",
- "AvailablePowerSources": null,
- "PowerSourceVoltage": null,
- "BatteryLevel": null,
- "MemoryFree": null,
- "HostName": null,
- "Platform": "Plat-3",
- "Processor": "i3-3",
- "InstalledRAM": "3 MB",
- "Latitude": 47.583582,
- "Longitude": -122.130622
- },
- "SystemProperties": {
- "ICCID": null
- },
- "Commands": [
- {
- "Name": "PingDevice",
- "DeliveryType": 0,
- "Parameters": [],
- "Description": "The device responds to this command with an acknowledgement. This is useful for checking that the device is still active and listening."
- },
- {
- "Name": "StartTelemetry",
- "DeliveryType": 0,
- "Parameters": [],
- "Description": "Instructs the device to start sending telemetry."
- },
- {
- "Name": "StopTelemetry",
- "DeliveryType": 0,
- "Parameters": [],
- "Description": "Instructs the device to stop sending telemetry."
- },
- {
- "Name": "ChangeSetPointTemp",
- "DeliveryType": 0,
- "Parameters": [
- {
- "Name": "SetPointTemp",
- "Type": "double"
- }
- ],
- "Description": "Controls the simulated temperature telemetry values the device sends. This is useful for testing back-end logic."
- },
- {
- "Name": "DiagnosticTelemetry",
- "DeliveryType": 0,
- "Parameters": [
- {
- "Name": "Active",
- "Type": "boolean"
- }
- ],
- "Description": "Controls if the device should send the external temperature as telemetry."
- },
- {
- "Name": "ChangeDeviceState",
- "DeliveryType": 0,
- "Parameters": [
- {
- "Name": "DeviceState",
- "Type": "string"
- }
- ],
- "Description": "Sets the device state metadata property that the device reports. This is useful for testing back-end logic."
- },
- {
- "Name": "InitiateFirmwareUpdate",
- "DeliveryType": 1,
- "Parameters": [
- {
- "Name": "FwPackageUri",
- "Type": "string"
- }
- ],
- "Description": "Updates device Firmware. Use parameter 'FwPackageUri' to specifiy the URI of the firmware file, e.g. https://iotrmassets.blob.core.windows.net/firmwares/FW20.bin"
- },
- {
- "Name": "Reboot",
- "DeliveryType": 1,
- "Parameters": [],
- "Description": "Reboot the device"
- },
- {
- "Name": "FactoryReset",
- "DeliveryType": 1,
- "Parameters": [],
- "Description": "Reset the device (including firmware and configuration) to factory default state"
- }
- ],
- "CommandHistory": [],
- "IsSimulatedDevice": true,
- "id": "37c75ad3-41e1-48f2-81eb-37f6193c0e8d",
- "_rid": "wOc8AN5-IwABAAAAAAAAAA==",
- "_self": "dbs/wOc8AA==/colls/wOc8AN5-IwA=/docs/wOc8AN5-IwABAAAAAAAAAA==/",
- "_etag": "\"0100b61b-0000-0000-0000-5aff6f920000\"",
- "_attachments": "attachments/",
- "Telemetry": [
- {
- "Name": "Temperature",
- "DisplayName": "Temperature",
- "Type": "double"
- },
- {
- "Name": "Humidity",
- "DisplayName": "Humidity",
- "Type": "double"
- }
- ],
- "Version": null,
- "ObjectType": null,
- "ObjectName": null,
- "IoTHub": null,
- "Twin": {
- "deviceId": "CoolingSampleDevice001_574",
- "etag": "AAAAAAAAAAU=",
- "tags": {
- "Building": "Building 40",
- "Floor": "1F",
- "HubEnabledState": "Running"
- },
- "properties": {
- "desired": {
- "Config": {
- "TemperatureMeanValue": 70
- },
- "$metadata": {
- "$lastUpdated": "2017-10-12T09:41:05.0087519Z",
- "$lastUpdatedVersion": 2,
- "Config": {
- "$lastUpdated": "2017-10-12T09:41:05.0087519Z",
- "$lastUpdatedVersion": 2,
- "TemperatureMeanValue": {
- "$lastUpdated": "2017-10-12T09:41:05.0087519Z",
- "$lastUpdatedVersion": 2
- }
- }
- },
- "$version": 2
- },
- "reported": {
- "Device": {
- "CreatedTime": "2017-10-12T09:41:13.1959705Z",
- "DeviceState": "normal",
- "Location": {
- "Latitude": 47.583582,
- "Longitude": -122.130622
- },
- "StartupTime": "5/19/2018 12:27:57 AM",
- "LastDesiredPropertyChange": "{\"Config\":{\"TemperatureMeanValue\":70},\"$version\":2}"
- },
- "System": {
- "Manufacturer": "Contoso Inc.",
- "ModelNumber": "MD-3",
- "SerialNumber": "SER3",
- "FirmwareVersion": "1.3",
- "Platform": "Plat-3",
- "Processor": "i3-3",
- "InstalledRAM": "3 MB"
- },
- "SupportedMethods": {
- "InitiateFirmwareUpdate--FwPackageUri-string": "Updates device Firmware. Use parameter 'FwPackageUri' to specifiy the URI of the firmware file, e.g. https://iotrmassets.blob.core.windows.net/firmwares/FW20.bin",
- "Reboot": "Reboot the device",
- "FactoryReset": "Reset the device (including firmware and configuration) to factory default state"
- },
- "Config": {
- "TelemetryInterval": 15,
- "TemperatureMeanValue": 34.5
- },
- "Method": {},
- "$metadata": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z",
- "Device": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z",
- "CreatedTime": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "DeviceState": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "Location": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z",
- "Latitude": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "Longitude": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- }
- },
- "StartupTime": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- },
- "LastDesiredPropertyChange": {
- "$lastUpdated": "2018-05-15T03:16:37.6057498Z"
- }
- },
- "System": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z",
- "Manufacturer": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "ModelNumber": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "SerialNumber": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "FirmwareVersion": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "Platform": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "Processor": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- },
- "InstalledRAM": {
- "$lastUpdated": "2017-10-12T09:41:15.4122898Z"
- }
- },
- "SupportedMethods": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z",
- "InitiateFirmwareUpdate--FwPackageUri-string": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- },
- "Reboot": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- },
- "FactoryReset": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- }
- },
- "Config": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z",
- "TelemetryInterval": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- },
- "TemperatureMeanValue": {
- "$lastUpdated": "2018-05-19T00:27:58.4067733Z"
- }
- },
- "Method": {
- "$lastUpdated": "2018-05-15T03:16:39.6871615Z"
- }
- },
- "$version": 316
- }
- }
- },
- "_ts": 1526689682
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement