{"id":3849,"date":"2010-08-15T19:33:19","date_gmt":"2010-08-15T23:33:19","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=3849"},"modified":"2010-08-15T19:33:19","modified_gmt":"2010-08-15T23:33:19","slug":"python-indigo-restful-api-update","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2010\/08\/python-indigo-restful-api-update\/","title":{"rendered":"Python Indigo Restful API &#8211; Update"},"content":{"rendered":"<p>I have updated the SVN server, and now have a example command line application in there (device_report.py), it duplicates the device report plugin, reporting to screen or CSV file the devices that are in your Indigo Database.<\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 16px; font-size: 12px;\">Screen Example:<\/span><\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 16px; font-size: 12px;\"><br style=\"padding: 0px; margin: 0px;\" \/>Device Name: Kitchen Task Lighting Icon<br style=\"padding: 0px; margin: 0px;\" \/>Description: None (N\/A)<br style=\"padding: 0px; margin: 0px;\" \/>Address: 07.A0.B7<br style=\"padding: 0px; margin: 0px;\" \/>Device Type: ICON Appliance<br style=\"padding: 0px; margin: 0px;\" \/>Firmware: 2.8<br style=\"padding: 0px; margin: 0px;\" \/>Status: off<br style=\"padding: 0px; margin: 0px;\" \/>Last Updated: 2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/>Device Name: Kitchen KeyPad<br style=\"padding: 0px; margin: 0px;\" \/>Description: None (N\/A)<br style=\"padding: 0px; margin: 0px;\" \/>Address: 0B.49.F1<br style=\"padding: 0px; margin: 0px;\" \/>Device Type: KeypadLinc Relay<br style=\"padding: 0px; margin: 0px;\" \/>Firmware: 3.3<br style=\"padding: 0px; margin: 0px;\" \/>Status: on<br style=\"padding: 0px; margin: 0px;\" \/>Last Updated: 2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/>Device Name: Bed Room Light<br style=\"padding: 0px; margin: 0px;\" \/>Description: None (N\/A)<br style=\"padding: 0px; margin: 0px;\" \/>Address: 14.28.BF<br style=\"padding: 0px; margin: 0px;\" \/>Device Type: LampLinc<br style=\"padding: 0px; margin: 0px;\" \/>Firmware: 3.10<br style=\"padding: 0px; margin: 0px;\" \/>Status: 0%<br style=\"padding: 0px; margin: 0px;\" \/>Last Updated: 2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/>CSV sample:<br style=\"padding: 0px; margin: 0px;\" \/><br style=\"padding: 0px; margin: 0px;\" \/>Device Name,Description,Addr,Device Type,Firmware,Status,Last updated<br style=\"padding: 0px; margin: 0px;\" \/>Kitchen Task Lighting Icon,None (N\/A),07.A0.B7,ICON Appliance,2.8,off,2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/>Kitchen KeyPad,None (N\/A),0B.49.F1,KeypadLinc Relay,3.3,on,2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/>Bed Room Light,None (N\/A),14.28.BF,LampLinc,3.10,0%,2010-08-15<br style=\"padding: 0px; margin: 0px;\" \/>Master Bedroom Keylinc,None (N\/A),0E.2B.08,KeypadLinc V2 Dimmer,2.13,0%,2010-08-15<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have updated the SVN server, and now have a example command line application in there (device_report.py), it duplicates the device report plugin, reporting to screen or CSV file the devices that are in your Indigo Database. Screen Example: Device Name: Kitchen Task Lighting IconDescription: None (N\/A)Address: 07.A0.B7Device Type: ICON ApplianceFirmware: 2.8Status: offLast Updated: 2010-08-15Device <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2010\/08\/python-indigo-restful-api-update\/\">[&hellip;]<\/a><\/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},"categories":[4,7],"tags":[71,91,154,212],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/3849"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=3849"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/3849\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=3849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=3849"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=3849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->