SensusRF gateway user manual
| 29/10/2019
{
"api_version":"1.0",
"request_status":"OK",
"payload":{
"voltage":"12.1"
}
}
17.2.5 Read temperature
The “read temperature” method returns a JSON embodying the GATEWAY temperature in Celsius
degrees. The method must contain the JWS in its HTTP header as “Authorization”.
17.2.5.1 Request
REQUEST
TAG DESCRIPTION
Scheme https://<GATEWAY IP>/api/info/temperature
HTTP Method GET
Parameters Authorization with JWT
Example:
GET /api/info/temperature HTTP/1.1
Authorization:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiJDNzY2MTMw
MTBGNjc4NjA5IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEyOkEzOjAyIiwibW
FudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjoxNTY2NDk1NTIyfQ.3zcy7tIxe7otsjzU
sLNy5ePAtE_oh26U5WIIqAnU4Hw