4:33 am

September 12, 2018

8:25 am


Moderators
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.
https://www.mathworks.com/help/thingspeak/channel_display_widgets.html
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:
https://thingspeak.com/channels/38629
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.
https://api.thingspeak.com/update.json?api_key=&status=lightOn!
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 Online:
31 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan, StefanWiModerators: cstapels: 460
Administrators: Hans: 405, lee: 457