#42 Devicetree (Json)

5.0 Device
open
nobody
None
2020-08-01
2020-07-31
aliazzz
No

A hierarchical representation of the Edge of Network with devices.

An EoN posseses it own metrics (meta data or information or properties, etc etc) and even have some sensors with corresponding metadata and values. It can also act as a gateway for (legacy)devices which also posses metrics and/ or sensors.
The following is an example of such an EoN

{"EoN": {
        "EoNMetric1": "Value",
        "EoNMetric2": "Value",
        "EoNMetric3": "Value",
        "EoNMetric4": "Value",
        "EoNMetric5": "Value",
        "EoNMetric6": "Value",
        "EoNMetric7": "Value",
        "EoNMetric8": "Value",
        "Sensor1": {
                   "SensorMetric1": "Value",
                   "SensorMetric2": "Value",
                   "SensorMetric3": "Value",
                   "SensorMetric4": "Value",
                   "SensorMetric5": "Value",
                   "SensorMetric6": "Value"
                   },
        "Sensor2": {
                   "SensorMetric1": "Value",
                   "SensorMetric2": "Value",
                   "SensorMetric3": "Value",
                   "SensorMetric4": "Value",
                   "SensorMetric5": "Value",
                   "SensorMetric6": "Value"
                   },
        "Device1": {
                   "DeviceMetric1": "Value",
                   "DeviceMetric2": "Value",
                   "DeviceMetric3": "Value",
                   "DeviceMetric4": "Value",
                   "DeviceMetric5": "Value",
                   "DeviceMetric6": "Value",
                   "Sensor1": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value",
                              "SensorMetric4": "Value",
                              "SensorMetric5": "Value",
                              "SensorMetric6": "Value"
                              },
                   "Sensor2": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value",
                              "SensorMetric4": "Value",
                              "SensorMetric5": "Value",
                              "SensorMetric6": "Value"
                              },
                   "Sensor3": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value"
                              },
                   "Sensor4": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value",
                              "SensorMetric4": "Value"
                              }                              
                    },
        "Device2": {
                   "DeviceMetric1": "Metric1Value",
                   "DeviceMetric2": "Metric2Value",
                   "DeviceMetric3": "Metric3Value",
                   "DeviceMetric4": "Metric4Value",
                   "Sensor1": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value",
                              "SensorMetric4": "Value",
                              "SensorMetric5": "Value",
                              "SensorMetric6": "Value"
                              },
                   "Sensor2": {
                              "SensorMetric1": "Value",
                              "SensorMetric2": "Value",
                              "SensorMetric3": "Value",
                              "SensorMetric4": "Value",
                              "SensorMetric5": "Value",
                              "SensorMetric6": "Value"
                              }
                    }
         }
}

Discussion

  • aliazzz

    aliazzz - 2020-07-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,85 +1,86 @@
     A hierarchical representation of the Edge of Network with devices.
    +
     ~~~ json
     {"EoN": {
    -        "Metric1": "Value",
    -        "Metric2": "Value",
    -        "Metric3": "Value",
    -        "Metric4": "Value",
    -        "Metric5": "Value",
    -        "Metric6": "Value",
    -        "Metric7": "Value",
    -        "Metric8": "Value",
    +        "EoNMetric1": "Value",
    +        "EoNMetric2": "Value",
    +        "EoNMetric3": "Value",
    +        "EoNMetric4": "Value",
    +        "EoNMetric5": "Value",
    +        "EoNMetric6": "Value",
    +        "EoNMetric7": "Value",
    +        "EoNMetric8": "Value",
             "Sensor1": {
    -                   "Metric1": "Value",
    -                   "Metric2": "Value",
    -                   "Metric3": "Value",
    -                   "Metric4": "Value",
    -                   "Metric5": "Value",
    -                   "Metric6": "Value"
    +                   "SensorMetric1": "Value",
    +                   "SensorMetric2": "Value",
    +                   "SensorMetric3": "Value",
    +                   "SensorMetric4": "Value",
    +                   "SensorMetric5": "Value",
    +                   "SensorMetric6": "Value"
                        },
             "Sensor2": {
    -                   "Metric1": "Value",
    -                   "Metric2": "Value",
    -                   "Metric3": "Value",
    -                   "Metric4": "Value",
    -                   "Metric5": "Value",
    -                   "Metric6": "Value"
    +                   "SensorMetric1": "Value",
    +                   "SensorMetric2": "Value",
    +                   "SensorMetric3": "Value",
    +                   "SensorMetric4": "Value",
    +                   "SensorMetric5": "Value",
    +                   "SensorMetric6": "Value"
                        },
             "Device1": {
    -                   "Metric1": "Value",
    -                   "Metric2": "Value",
    -                   "Metric3": "Value",
    -                   "Metric4": "Value",
    -                   "Metric5": "Value",
    -                   "Metric6": "Value",
    +                   "DeviceMetric1": "Value",
    +                   "DeviceMetric2": "Value",
    +                   "DeviceMetric3": "Value",
    +                   "DeviceMetric4": "Value",
    +                   "DeviceMetric5": "Value",
    +                   "DeviceMetric6": "Value",
                        "Sensor1": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value",
    -                              "Metric4": "Value",
    -                              "Metric5": "Value",
    -                              "Metric6": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value",
    +                              "SensorMetric4": "Value",
    +                              "SensorMetric5": "Value",
    +                              "SensorMetric6": "Value"
                                   },
                        "Sensor2": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value",
    -                              "Metric4": "Value",
    -                              "Metric5": "Value",
    -                              "Metric6": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value",
    +                              "SensorMetric4": "Value",
    +                              "SensorMetric5": "Value",
    +                              "SensorMetric6": "Value"
                                   },
                        "Sensor3": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value"
                                   },
                        "Sensor4": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value",
    -                              "Metric4": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value",
    +                              "SensorMetric4": "Value"
                                   }                              
                         },
             "Device2": {
    -                   "Metric1": "Metric1Value",
    -                   "Metric2": "Metric2Value",
    -                   "Metric3": "Metric3Value",
    -                   "Metric4": "Metric4Value",
    +                   "DeviceMetric1": "Metric1Value",
    +                   "DeviceMetric2": "Metric2Value",
    +                   "DeviceMetric3": "Metric3Value",
    +                   "DeviceMetric4": "Metric4Value",
                        "Sensor1": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value",
    -                              "Metric4": "Value",
    -                              "Metric5": "Value",
    -                              "Metric6": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value",
    +                              "SensorMetric4": "Value",
    +                              "SensorMetric5": "Value",
    +                              "SensorMetric6": "Value"
                                   },
                        "Sensor2": {
    -                              "Metric1": "Value",
    -                              "Metric2": "Value",
    -                              "Metric3": "Value",
    -                              "Metric4": "Value",
    -                              "Metric5": "Value",
    -                              "Metric6": "Value"
    +                              "SensorMetric1": "Value",
    +                              "SensorMetric2": "Value",
    +                              "SensorMetric3": "Value",
    +                              "SensorMetric4": "Value",
    +                              "SensorMetric5": "Value",
    +                              "SensorMetric6": "Value"
                                   }
                         }
              }
    
     
  • aliazzz

    aliazzz - 2020-08-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,7 @@
     A hierarchical representation of the Edge of Network with devices.
    +
    +An EoN posseses it own metrics (meta data or information or properties, etc etc) and even have some sensors with corresponding metadata and values. It can also act as a gateway for (legacy)devices which also posses metrics and/ or sensors. 
    +The following is an example of such an EoN
    
     ~~~ json
     {"EoN": {
    
     

Log in to post a comment.