{"id":588,"date":"2011-04-19T01:10:13","date_gmt":"2011-04-19T06:10:13","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=588"},"modified":"2011-04-19T01:10:13","modified_gmt":"2011-04-19T06:10:13","slug":"computer-resource-monitor-with-python-and-thingspeak","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2011\/04\/19\/computer-resource-monitor-with-python-and-thingspeak\/","title":{"rendered":"Computer Resource Monitor with Python and ThingSpeak"},"content":{"rendered":"<p>[Chris Lee] of Australian Robotics created a project that uses ThingSpeak as a resource monitor for a computer. His <a title=\"Server Resource Monitor with Python and ThingSpeak\" href=\"\" target=\"_blank\">project<\/a> explains\u00a0how he uses Python to send HTTP POST requests to a ThingSpeak Channel. The data that he is sending is CPU and memory usage. This application could be used for monitoring servers and verifying uptime. \u00a0Chris also makes use of the ThingSpeak Charts API to visualize the data in real-time.<\/p>\n<p><script type='text\/javascript'>  \nwindow.onload = document.write(\"<iframe width='600' height='240' marginwidth='0' marginheight='0' scrolling='auto' frameborder='0'  src='https:\/\/thingspeak.com\/channels\/300\/charts\/2?height=240&amp;width=600&amp;results=30&amp;title=Available%20Memory%20(mb) &amp;dynamic=true&amp;results=30&amp;color=blue' ><\/iframe> \"); \n <\/script><\/p>\n<p>The latest Python code to interface to ThingSpeak is\u00a0available\u00a0on <a title=\"Open source ThingSpeak Python scripts\" href=\"https:\/\/github.com\/sirleech\/thingspeak\">GitHub<\/a>.<\/p>\n<p>[via <a title=\"How to Talk To ThingSpeak With Python (A Memory\/CPU Monitor)\" href=\"\" target=\"_blank\">Australian Robotics<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Chris Lee] of Australian Robotics created a project that uses ThingSpeak as a resource monitor for a computer. His project explains\u00a0how he uses Python to send HTTP POST requests to a ThingSpeak&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/iot\/2011\/04\/19\/computer-resource-monitor-with-python-and-thingspeak\/\">read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[17,49,63,12],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/588"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=588"}],"version-history":[{"count":9,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/588\/revisions"}],"predecessor-version":[{"id":598,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/588\/revisions\/598"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}