ctucx.git: nimtradfri

[nimlang] incomplete library to interact with ikea tradfri-gateways

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 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
const EndpointDevices*                               = "/15001/"
const EndpointGroups*                                = "/15004/"
const EndpointScenes*                                = "/15005/"
const EndpointNotifications*                         = "/15006/"
const EndpointSmartTasks*                            = "/15010/"
const EndpointGatewayReboot*                         = "/15011/9030"
const EndpointGatewayReset*                          = "/15011/9031"
const EndpointGatewayUpdateFW*                       = "/15011/9034"
const EndpointGatewayAuth*                           = "/15011/9063"
const EndpointGatewayDetails*                        = "/15011/15012"

const DeviceMotionSensor*                            = "3300"
const DeviceLightbulb*                               = "3311"
const DevicePlug*                                    = "3312"
const DeviceBlind*                                   = "15015"

const ParameterName*                                 = "9001"
const ParameterCreatedAt*                            = "9002"
const ParameterId*                                   = "9003"
const ParameterDeviceIds*                            = "9018"
const ParameterAlive*                                = "9019"
const ParameterLastSeen*                             = "9020"
const ParameterSceneId*                              = "9039"

const ParameterBlindTrigger*                         = "5523"
const ParameterBlindPosition*                        = "5536"

const ParameterColorHex*                             = "5706"
const ParameterHue*                                  = "5707"
const ParameterSaturation*                           = "5708"
const ParameterColorX*                               = "5709"
const ParameterColorY*                               = "5710"
const ParameterColorTemperature*                     = "5711"
const ParameterTransitionTime*                       = "5712"
const ParameterType*                                 = "5750"

const ParameterPowerState*                           = "5850"
const ParameterDimmerValue*                          = "5851"

const ParameterGatewayNtpServerUrl*                  = "9023"
const ParameterGatewayVersion*                       = "9029"
const ParameterGatewayForceOtaUpdateCheck*           = "9032"
const ParameterGatewayOtaUpdateState*                = "9054"
const ParameterGatewayOtaUpdateProgress*             = "9055"
const ParameterGatewayUtcNowUnixTimestamp*           = "9059"
const ParameterGatewayUtcNowISODate*                 = "9060"
const ParameterGatewayCommissioningMode*             = "9061"
const ParameterGatewayOtaUpdatePriority*             = "9066"
const ParameterGatewayOtaUpdateAcceptedTimestamp*    = "9069"
const ParameterGatewayTimeSource*                    = "9071"
const ParameterGatewayDstStartMonth*                 = "9072"
const ParameterGatewayDstStartDay*                   = "9073"
const ParameterGatewayDstStartHour*                  = "9074"
const ParameterGatewayDstStartMinute*                = "9075"
const ParameterGatewayDstEndMonth*                   = "9076"
const ParameterGatewayDstEndDay*                     = "9077"
const ParameterGatewayDstEndHour*                    = "9078"
const ParameterGatewayDstEndMinute*                  = "9079"
const ParameterGatewayDstTimeOffset*                 = "9080"
const ParameterGatewayAlexaPaired*                   = "9093"
const ParameterGatewayGoogleHomePaired*              = "9105"