<
From version < 2.1 >
edited by Matej Durcik
on 2022/05/17 14:24
To version < 4.1 >
edited by Matej Durcik
on 2022/05/17 14:31
>
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -7,7 +7,8 @@
7 7  
8 8  Below is an example of a sensor named "MySensor" that measures speed and direction with raw measurements of voltage and counts.
9 9  
10 -> {{code language="<Apache>"}}[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
10 +{{code language="<JSON>"}}
11 +[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
11 11  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Direction","variableid":3,"value":224,"units":"Degrees","DateTime":"2016-03-18 19:00:00"}
12 12  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Counts","variableid":1,"value":6,"units":"#","DateTime":"2016-03-18 19:00:00"}
13 13  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Velocity","variableid":4,"value":0.112,"units":"m/s","DateTime":"2016-03-18 19:00:00"}
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 13.10.5 - Documentation