Class ApiEndpoint
java.lang.Object
org.openremote.agent.protocol.tradfri.util.ApiEndpoint
The class that contains helper functions and constants to find CoAP endpoints for the IKEA TRÃ…DFRI gateway
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe endpoint to authenticate a new client to the IKEA TRÃ…DFRI gateway
Value: "15011/9063"static final StringThe endpoint for IKEA TRÃ…DFRI devices
Value: "15001"static final StringThe endpoint to get the details of the IKEA TRÃ…DFRI gateway
Value: "15011/15012"static final StringThe endpoint to reboot the IKEA TRÃ…DFRI gateway
Value: "15011/9030"static final StringThe endpoint to reset the IKEA TRÃ…DFRI gateway
Value: "15011/9031"static final StringThe endpoint to update the firmware of the IKEA TRÃ…DFRI gateway
Value: "15011/9034"static final StringThe endpoint for IKEA TRÃ…DFRI groups
Value: "15004"static final StringThe endpoint for IKEA TRÃ…DFRI notifications
Value: "15006"static final StringThe endpoint for IKEA TRÃ…DFRI scenes
Value: "15005"static final StringThe endpoint for IKEA TRÃ…DFRI smart tasks
Value: "15010" -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGet the base URL of the IKEA TRÃ…DFRI APIstatic StringGet the IP-address of the IKEA TRÃ…DFRI gatewaystatic StringGet the URI of an endpoint of the IKEA TRÃ…DFRI APIstatic voidsetGatewayIp(String ip) Set the IP-address of the IKEA TRÃ…DFRI gateway
-
Field Details
-
AUTHENTICATE
The endpoint to authenticate a new client to the IKEA TRÃ…DFRI gateway
Value: "15011/9063"- See Also:
-
GATEWAY_REBOOT
The endpoint to reboot the IKEA TRÃ…DFRI gateway
Value: "15011/9030"- See Also:
-
GATEWAY_RESET
The endpoint to reset the IKEA TRÃ…DFRI gateway
Value: "15011/9031"- See Also:
-
GATEWAY_UPDATE_FIRMWARE
The endpoint to update the firmware of the IKEA TRÃ…DFRI gateway
Value: "15011/9034"- See Also:
-
GATEWAY_DETAILS
The endpoint to get the details of the IKEA TRÃ…DFRI gateway
Value: "15011/15012"- See Also:
-
DEVICES
The endpoint for IKEA TRÃ…DFRI devices
Value: "15001"- See Also:
-
GROUPS
The endpoint for IKEA TRÃ…DFRI groups
Value: "15004"- See Also:
-
SCENES
The endpoint for IKEA TRÃ…DFRI scenes
Value: "15005"- See Also:
-
NOTIFICATIONS
The endpoint for IKEA TRÃ…DFRI notifications
Value: "15006"- See Also:
-
SMART_TASKS
The endpoint for IKEA TRÃ…DFRI smart tasks
Value: "15010"- See Also:
-
-
Method Details
-
getGatewayIp
Get the IP-address of the IKEA TRÃ…DFRI gateway- Returns:
- The IP-address of the IKEA TRÃ…DFRI gateway
-
setGatewayIp
Set the IP-address of the IKEA TRÃ…DFRI gateway- Parameters:
ip- The IP-address of the IKEA TRÃ…DFRI gateway
-
getBaseUrl
Get the base URL of the IKEA TRÃ…DFRI API- Returns:
- The base URL of the IKEA TRÃ…DFRI API
-
getUri
Get the URI of an endpoint of the IKEA TRÃ…DFRI API- Parameters:
endpoint- The endpoint paths- Returns:
- The URI of the endpoint of the IKEA TRÃ…DFRI API
-