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 views (last 30 days)
the lamp indicator in ThingSpeak is showing "Field not available". It was working fine few days back but not now.
kindly help us out

Answers (1)

Christopher Stapels
Christopher Stapels on 18 Dec 2023
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.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on Visualize Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!