SudoSense

From Sudo Room
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

SudoSense is an API for collecting, viewing, distributing and parsing Sensory Data.

Point of Contact: --Wolfy (talk)

API

get

  • url: /api/get/sensorID

return

{
"method":   "get",
"sensorid": "sensorID",
"value":    "currentValue",
"unit":     "unit"
}

set

  • url: /api/set/sensorID

post

{
"value": "currentValue",
"key":   "secretKEY"
}

return

{
"method":   "set",
"sensorid": "sensorID",
"value":    "currentValue",
"unit":     "unit"
}