How to add data to field with thingHTTP

3 visualizaciones (últimos 30 días)
Bernd Pilgram
Bernd Pilgram el 11 de Feb. de 2022
Respondida: Christopher Stapels el 11 de Mzo. de 2022
Hello,
iˋm using a ThingHTTP GET request to my Shelly Cloud to receive a single temperature value.
Calling this ThingHTTP-request from my browser i get back the right single value (after setting up the right PARSE STRING).
Calling this request from the REACT app there seems to be no connection to any field of my channel.
How can I add the Information to add this single temp value to field1 of my channel ?
thanks 2 all
Bernd

Respuesta aceptada

Christopher Stapels
Christopher Stapels el 11 de Mzo. de 2022
You can use MATLAB analysis code to add the value to your channel. Use webread() or webwrite() to get the data from the external service, and then thingSpeakWrite to write it to your channel. Then you can use TimeControl or React to run that code at regular intervals.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Read Data from Channel en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by