September 12, 2018
March 7, 2017
It is definitely possible to indicate the status of a bulb or switch on your ThingSpeak channel. There are several ways you can achieve this. You can write data (https://www.mathworks.com/help/thingspeak/writedata.html) and use a field value to indicate the light status. Then the value would show in your ThingSpeakPlot on your channel view. You can even add a gage widget that will visually show the value.
Another option would be to use a MATLAB visualization to show a color on the channel based on the light status that you write to a filed. Here is an example of that kind of indicator with traffic:
You could write an indication to the status field and then use your channel settings to show the status on your channel view.
Here is the format for using the REST API to update the status.
Can you tell us more about the project? What hardware are you using? What is the goal of the project?
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:adeeeban, theweddingties, Vasant Gosai, pavithra, shivaniprakash, Akeyan
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457