hey, I'm new to this. so the lamp indicator in ThingSpeak is showing "Field not available". It was working fine few days back but not now.

7 次查看(过去 30 天)
the lamp indicator in ThingSpeak is showing "Field not available". It was working fine few days back but not now.
kindly help us out

回答(1 个)

Christopher Stapels
Christopher Stapels 2023-12-18
Generally this means the field is inactive or has no data to read. Try using the read last entry api https://api.thingspeak.com/channels/266256/fields/2/last.json but replace it with your channel id and the field you are using for the lamp indicator. You can just enter that in a browser window address field and see if there is a value. If your channel is private, you wil nead a read api key as well. You can check out the doc page on the api for those details. https://www.mathworks.com/help/thingspeak/readlastfieldentry.html
I would also check the channel settings tab of your channel view and make sure the check box next to the fied you are trying to read with the widget is enabled.

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 Visualize Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by