Skip to content

EcoPhi API: Other functionalities

Here you can find the explanation of all other functionalities which are not about retrieving data.

Sending a command

POST /send_command/$DEVICE-ID
  • $DEVICE-ID: one of the available device ids
  • $YOUR_COMMAND: a valid command that will be sent to the device

Headers:

Authorization: Bearer $TOKEN

Body:

Content type: application/json

{
"command": "$YOUR_COMMAND"
}