{"id":1186,"date":"2016-09-13T23:21:24","date_gmt":"2016-09-14T06:21:24","guid":{"rendered":"http:\/\/canadiangeek.net\/?p=1186"},"modified":"2016-10-13T23:22:32","modified_gmt":"2016-10-14T06:22:32","slug":"working-out-the-home-automation-interface","status":"publish","type":"post","link":"https:\/\/canadiangeek.net\/?p=1186","title":{"rendered":"Working out the Home Automation interface."},"content":{"rendered":"<h1 class=\"element-title\"><a href=\"https:\/\/cdn.hackaday.io\/images\/3538781472648930103.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/cdn.hackaday.io\/images\/3538781472648930103.jpg\" \/><\/a><\/h1>\n<div>\n<div id=\"post-body-44909\">\n<p>So over the last few days i have been playing with HTML5 and CSS to work out the best interface options for how automation could function.<\/p>\n<p>So far I am leaning toward a node style interface. Elements could be added with a right click menu that provides inputs, outputs and decision conditions.<\/p>\n<p>I still have a lot of interface work before turning my attention to the back end.<\/p>\n<p>i need to:<\/p>\n<ul>\n<li>Add a way to remove items. (right now you can only add them.<\/li>\n<li>I have text boxes but i think it would be good to have drop downs, maybe check boxes or radio buttons but i am not sure about that one.<\/li>\n<li>Create some Javascript that exports to JSON and sends back to the server on every edit. Should save the last 100 or so edits in a queue so i can add an undo button that works even weeks, months or years after the edit.<\/li>\n<li>Create a JSON standard for how elements are added, put this in the database so adding new plugins can add new inputs\/outputs\/conditions.<\/li>\n<li>The menu lists will be dynamic so i need to have an option for menu items to wrap around if they are more then 15 or so items.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n ","protected":false},"excerpt":{"rendered":"<p>So over the last few days i have been playing with HTML5 and CSS to work out the best interface options for how automation could function. So far I am leaning toward a node style interface. Elements could be added with a right click menu that provides inputs, outputs and decision conditions. I still have [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1186","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/posts\/1186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1186"}],"version-history":[{"count":1,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/posts\/1186\/revisions"}],"predecessor-version":[{"id":1187,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/posts\/1186\/revisions\/1187"}],"wp:attachment":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}