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 String
The endpoint to authenticate a new client to the IKEA TRÅDFRI gateway
Value: "15011/9063"static final String
The endpoint for IKEA TRÅDFRI devices
Value: "15001"static final String
The endpoint to get the details of the IKEA TRÅDFRI gateway
Value: "15011/15012"static final String
The endpoint to reboot the IKEA TRÅDFRI gateway
Value: "15011/9030"static final String
The endpoint to reset the IKEA TRÅDFRI gateway
Value: "15011/9031"static final String
The endpoint to update the firmware of the IKEA TRÅDFRI gateway
Value: "15011/9034"static final String
The endpoint for IKEA TRÅDFRI groups
Value: "15004"static final String
The endpoint for IKEA TRÅDFRI notifications
Value: "15006"static final String
The endpoint for IKEA TRÅDFRI scenes
Value: "15005"static final String
The endpoint for IKEA TRÅDFRI smart tasks
Value: "15010" -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the base URL of the IKEA TRÅDFRI APIstatic String
Get the IP-address of the IKEA TRÅDFRI gatewaystatic String
Get the URI of an endpoint of the IKEA TRÅDFRI APIstatic void
setGatewayIp
(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
-