-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscopes.go
More file actions
29 lines (27 loc) · 1.43 KB
/
scopes.go
File metadata and controls
29 lines (27 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package netatmo
/*
Scopes
https://dev.netatmo.com/apidocumentation/oauth#scopes
*/
const (
// ScopeStationRead - to retrieve weather station data (Getstationsdata, Getmeasure)
ScopeStationRead = "read_station"
// ScopeThermostatRead - to retrieve thermostat data (Homestatus, Getroommeasure...)
ScopeThermostatRead = "read_thermostat"
// ScopeThermostatWrite - to set up the thermostat (Synchomeschedule, Setroomthermpoint...)
ScopeThermostatWrite = "write_thermostat"
// ScopeCameraRead - to retrieve Smart Indoor Cameradata (Gethomedata, Getcamerapicture...)
ScopeCameraRead = "read_camera"
// ScopeCameraWrite - to inform the Smart Indoor Camera that a specific person or everybody has left the Home (Setpersonsaway, Setpersonshome)
ScopeCameraWrite = "write_camera"
// ScopeCameraAccess - to access the camera, the videos and the live stream
ScopeCameraAccess = "access_camera"
// ScopePresenceRead - to retrieve Smart Outdoor Camera data (Gethomedata, Getcamerapicture...)
ScopePresenceRead = "read_presence"
// ScopePresenceAccess - to access the camera, the videos and the live stream
ScopePresenceAccess = "access_presence"
// ScopeSmokeDetectorRead - to retrieve the Smart Smoke Alarm informations and events (Gethomedata, Geteventsuntil...)
ScopeSmokeDetectorRead = "read_smokedetector"
// ScopeHomeCoachRead - to read data coming from Smart Indoor Air Quality Monitor (gethomecoachsdata)
ScopeHomeCoachRead = "read_homecoach"
)