diff --git a/README.md b/README.md index 2dae1fa..79ecb1e 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ You can also define your own functions in your sketch that can be called using t ### Log data to the cloud -You can also directly tell your board to log data on our cloud server, to be stored there & retrieved later or displayed on the [aREST cloud dashboard](https://dashboard.arest.io/). This is useful when you want for example to record the data coming from a sensor at regular intervals. The data is then stored along with the current date, the ID of the device sending the data, and also an event name that is used to identifiy the data. This can be done via the following commands: +You can also directly tell your board to log data on our cloud server, to be stored there & retrieved later or displayed on the [aREST cloud dashboard](https://dashboard.arest.io/). This is useful when you want for example to record the data coming from a sensor at regular intervals. The data is then stored along with the current date, the ID of the device sending the data, and also an event name that is used to identify the data. This can be done via the following commands: * `rest.publish(client, "temperature", data);` logs the value of `data` with the event name `temperature` * `https://cloud.arest.io/47fd9g/events` retrieves the last events logged by the device `47fd9g` * You can also use the [aREST cloud dashboard](https://dashboard.arest.io/) to then display or plot this data in real-time on your dashboards