[SOLVED] How turn on a LED with ADUINO UNO + Ethernet Shield

Hi.

I have been checking some examples of how to turn on a LED from the DASHBOARD, however, those examples only works with an ARDUINO WI-FI shield. I want to know how to do this whit a Ethernet Shield.

Thank you.

Hola.

He estado revisando los ejemplos para encender un LED desde el DASHBOARD, sin embargo, estos ejemplos solo aplican para conexión WI-FI, quisiera saber de que manera puedo lograrlo utilizando un shield Ethernet.

Gracias

Hello @david_espeleta were you able to achieve this?

Usually you would make a GET request to the variable URL, add a parameter to get only one value, then parse the response. This is a sample request:

GET /api/v1.6/variables/YOUR-VAR-ID/values?token=YOUR-TOKEN&page_size=1

This will return a JSON payload, where you can run a string search for “value” and then get the value that is after the “:” character.

Check out our new Ethernet library which supports the GET command https://github.com/ubidots/ubidots-arduino-ethernet

Este topic está ahora cerrado. No se admiten nuevas respuestas