{"_id":"55e99120461e2a390050f254","project":"55a47338e75ca60d00a3932f","version":{"_id":"55a47338e75ca60d00a39332","project":"55a47338e75ca60d00a3932f","__v":8,"createdAt":"2015-07-14T02:26:00.724Z","releaseDate":"2015-07-14T02:26:00.724Z","categories":["55a47339e75ca60d00a39333","55a4fb7e1a5f991700a940f0","55a6702b80c8a30d00b32684","55a6703b80c8a30d00b32685","55a6ea5516d20b1900ed8f53","55b23ad2329f363900fbc92f","55b23b0a329f363900fbc932","55b2426a0e11590d008f7950"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"editedParams":true,"__v":0,"editedParams2":true,"user":"55a4f13d02b09d1900d00a9f","category":{"_id":"55a47339e75ca60d00a39333","pages":["55a47339e75ca60d00a39335","55a4f5bb02b09d1900d00aac","55a4fbc002b09d1900d00ab9","55a500e8750a9a23005332b9","55a502a02e70c02500380514","55b686bef8105a2f00c352f7","55e99120461e2a390050f254","55e9919ca7ca823900ad54b1","55e996d17f564237001d5bad","55e99a1a8b72bb3700b1d5fb","55e99cb5461e2a390050f283"],"project":"55a47338e75ca60d00a3932f","__v":11,"version":"55a47338e75ca60d00a39332","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-14T02:26:01.272Z","from_sync":false,"order":1,"slug":"documentation","title":"Documentation"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-04T12:40:00.341Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"name":"","code":"{\n  \"name\": \"success.info\",\n  \"data\": {\n    \"firmware_version\": 51,\n    \"hardware_revision\": 1,\n    \"id\": 1535,\n    \"lat\": 0.000,\n    \"lng\": 0.000,\n    \"lono_id\": \"[lono id]\",\n    \"model_string\": \"LONOSCV1\",\n    \"times\": {\n      \"global\": {\n        \"allowed\": [],\n        \"blackouts\": [],\n        \"frequency\": {\n          \"daily\": {\n            \"even\": false,\n            \"every\": 1,\n            \"odd\": false\n          }\n        }\n      }\n    }\n  }\n}","language":"json","status":200},{"name":"","code":"{\n  \"name\": \"error.info\",\n  \"data\": \"error message\"\n}","language":"json","status":400}]},"settings":"","examples":{"codes":[{"name":"","code":"curl https://make.lono.io/api/v1/devices/:deviceId?token=[auth token]","language":"shell"},{"code":"# Assuming you've connected to the Lono Cloud and created a device named device:\ndevice.get_lono_info()","language":"python"}]},"auth":"required","params":[{"_id":"55e99120461e2a390050f255","ref":"","in":"query","required":true,"desc":"Your Lono ID","default":"","type":"string","name":":deviceId"}],"url":"/devices/:deviceId"},"isReference":false,"order":7,"body":"### Permission to use this feature\nIn applications, to provide use of any feature, you can use the scope `write` - think of it like a wildcard. However, in production applications, it's recommended that developers instead specify their scopes explicitly.\n\nThe scope for this feature is `lono:detail:get`.","excerpt":"","slug":"zone-information","type":"endpoint","title":"Lono Information"}

getLono Information


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

deviceId:
required
string
Your Lono ID

Examples


Result Format


Documentation

### Permission to use this feature In applications, to provide use of any feature, you can use the scope `write` - think of it like a wildcard. However, in production applications, it's recommended that developers instead specify their scopes explicitly. The scope for this feature is `lono:detail:get`.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}