Wrtie value

<< Click to Display Table of Contents >>

Navigation:  HTTPS REST API > GET API >

Wrtie value

Previous pageReturn to chapter overview

REQUEST: https://cloud.teslascada.com/external/api/update?token={token}&tag={tagname}&value={value}

Where:

{token} - Your TeslaCloud token.

{tagname} - Name of tag.

{value} - Value to write.

 

RESPONSES:

200                        Success. Write value to the tag.

BODY JSON format:                OK

 

400                        Not success. Could not write value.

 

EXAMPLE:

REQUEST:

Query format: https://cloud.teslascada.com/external/api/update?token=TSFEsfe&tag=Temperature&value=23.4

 

RESPONSE:

200

JSON format:                        OK