{"id":92,"date":"2014-09-25T22:58:42","date_gmt":"2014-09-25T21:58:42","guid":{"rendered":"http:\/\/www.sevenwatt.com\/main\/?p=92"},"modified":"2015-03-02T23:14:11","modified_gmt":"2015-03-02T22:14:11","slug":"plugwise-2-py-web-application","status":"publish","type":"post","link":"https:\/\/www.sevenwatt.com\/main\/plugwise-2-py-web-application\/","title":{"rendered":"Plugwise-2-py Web Application"},"content":{"rendered":"<p>I have extended\u00a0<a href=\"https:\/\/github.com\/SevenW\/Plugwise-2-py\" target=\"_blank\">Plugwise-2-py<\/a> with a dedicated very light webserver and \u00a0two web applications.<\/p>\n<ol>\n<li>Control Switches, Schedules and read actual power.<\/li>\n<li>Configuration: Circle properties and Schedule editor.<\/li>\n<\/ol>\n<p><a href=\"http:\/\/www.sevenwatt.com\/main\/wp-content\/uploads\/2014\/09\/Schermafdruk-2014-09-25-23.50.03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-94\" alt=\"Schermafdruk 2014-09-25 23.50.03\" src=\"http:\/\/www.sevenwatt.com\/main\/wp-content\/uploads\/2014\/09\/Schermafdruk-2014-09-25-23.50.03.png\" width=\"879\" height=\"289\" srcset=\"https:\/\/www.sevenwatt.com\/main\/wp-content\/uploads\/2014\/09\/Schermafdruk-2014-09-25-23.50.03.png 879w, https:\/\/www.sevenwatt.com\/main\/wp-content\/uploads\/2014\/09\/Schermafdruk-2014-09-25-23.50.03-300x98.png 300w, https:\/\/www.sevenwatt.com\/main\/wp-content\/uploads\/2014\/09\/Schermafdruk-2014-09-25-23.50.03-624x205.png 624w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/a><\/p>\n<p>Plugwise circles have this nice schedule and standby-killer functionality. Using the standby-killer raises an issue for some devices. Like the need for a button to switch devices on again. And otherwise, one may prefer to turn on lights that otherwise are turned off by the programmed schedule.<\/p>\n<p>For use under linux, in the open source domain, there were not many UI-based solutions available, so I felt the need of solving this. I developed a control app that works on phones, tablets and common webbrowsers on the PC&#8217;s. By using Bootstrap 3 and AngularJS technology, I ended up having a compact and dynamic application. And the webserver is standard library python!<\/p>\n<p>Depending on the enabling of 10-seconds monitoring and\/or logging\u00a0of buffered circle recordings, the power reading is updated regularly. Circles which are configured as always-on, can&#8217;t be switched on or off, or operated by a schedule. This comes in handy when for example monitoring the production of solar PV installation, or monitoring your fridge.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have extended\u00a0Plugwise-2-py with a dedicated very light webserver and \u00a0two web applications. Control Switches, Schedules and read actual power. Configuration: Circle properties and Schedule editor. Plugwise circles have this nice schedule and standby-killer functionality. Using the standby-killer raises an issue for some devices. Like the need for a button to switch devices on again. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[11],"tags":[32,30,31],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-plugwise","tag-arduino","tag-mqtt","tag-python"],"_links":{"self":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":2,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/92\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}