{"id":410,"date":"2018-01-23T08:34:13","date_gmt":"2018-01-23T16:34:13","guid":{"rendered":"http:\/\/diyfuturism.com\/?p=410"},"modified":"2018-01-20T12:25:36","modified_gmt":"2018-01-20T20:25:36","slug":"nodes-home-automation-state-machine-actionflows-dashboard-statistics","status":"publish","type":"post","link":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/","title":{"rendered":"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics"},"content":{"rendered":"<p>I&#8217;m keeping <a href=\"http:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/big-list-of-home-automation-nodes-for-node-red\/\">a running list of useful nodes<\/a> I&#8217;ve found for home automation. Here&#8217;s a couple of more I came across recently in the <a href=\"https:\/\/flows.nodered.org\" target=\"_blank\" rel=\"noopener\">Node-Red library<\/a>.<\/p>\n<ul>\n<li><a href=\"https:\/\/flows.nodered.org\/node\/node-red-dashboard\" target=\"_blank\" rel=\"noopener\">dashboard<\/a>\u00a0&#8211; Create an entirely custom, live dashboard. Amazing!<\/li>\n<li><a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-statistics\" target=\"_blank\" rel=\"noopener\">statistics<\/a> &#8211; Some useful statistical functions, based on\u00a0<a href=\"https:\/\/simplestatistics.org\/\" target=\"_blank\" rel=\"noopener\">Simple Statistics<\/a><\/li>\n<li><a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-state-machine\" target=\"_blank\" rel=\"noopener\">state-machine<\/a>\u00a0&#8211; Manage a state machine with your own parameters<\/li>\n<li><a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-actionflows\" target=\"_blank\" rel=\"noopener\">actionflows<\/a>\u00a0&#8211; This one seems extremely promising. Package flows as reusable functions that can be looped, prioritized, and benchmarked.<\/li>\n<\/ul>\n<p>I think making a dashboard is my next project, which I will certainly document here on the blog.<\/p>\n<p>I am wondering if state-machine could be used to manage the state of a finicky IR controlled fan I have. I was never able to find a way to do this in Home Assistant accurately. Since Node-Red can do more complicated logic, it could monitor my fan related sensors and output in the format for the\u00a0<a href=\"https:\/\/home-assistant.io\/components\/fan.mqtt\/\" target=\"_blank\" rel=\"noopener\">MQTT Fan<\/a>\u00a0component. Interesting!<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"wpm_excerpt clearfix\"><p>I&#8217;m keeping a running list of useful nodes I&#8217;ve found for home automation. Here&#8217;s a couple of more I came across recently in the Node-Red library. &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"More Useful #NodeRed Nodes for Home Automation: state-machine, actionflows, dashboard, statistics","jetpack_is_tweetstorm":false},"categories":[11],"tags":[47,130,96,36,31,128,42,48,129,131,50],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m keeping a running list of useful nodes I&#8217;ve found for home automation. Here&#8217;s a couple of more I came across recently in the Node-Red library. &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/\" \/>\n<meta property=\"og:site_name\" content=\"DIY Futurism\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-23T16:34:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-20T20:25:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:site\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"brad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/diyfuturism.com\/#website\",\"url\":\"https:\/\/diyfuturism.com\/\",\"name\":\"DIY Futurism\",\"description\":\"Adventures in Open Source Smart Home Projects\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/diyfuturism.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#webpage\",\"url\":\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/\",\"name\":\"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism\",\"isPartOf\":{\"@id\":\"https:\/\/diyfuturism.com\/#website\"},\"datePublished\":\"2018-01-23T16:34:13+00:00\",\"dateModified\":\"2018-01-20T20:25:36+00:00\",\"author\":{\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\"},\"breadcrumb\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/diyfuturism.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\",\"name\":\"brad\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/diyfuturism.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"caption\":\"brad\"},\"description\":\"I'm a professional artist who likes to tinker with building things in my spare time.\",\"sameAs\":[\"https:\/\/twitter.com\/@diyfuturism\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/","og_locale":"en_US","og_type":"article","og_title":"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism","og_description":"I&#8217;m keeping a running list of useful nodes I&#8217;ve found for home automation. Here&#8217;s a couple of more I came across recently in the Node-Red library. &hellip;","og_url":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/","og_site_name":"DIY Futurism","article_published_time":"2018-01-23T16:34:13+00:00","article_modified_time":"2018-01-20T20:25:36+00:00","twitter_card":"summary_large_image","twitter_creator":"@diyfuturism","twitter_site":"@diyfuturism","twitter_misc":{"Written by":"brad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/diyfuturism.com\/#website","url":"https:\/\/diyfuturism.com\/","name":"DIY Futurism","description":"Adventures in Open Source Smart Home Projects","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/diyfuturism.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#webpage","url":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/","name":"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics - DIY Futurism","isPartOf":{"@id":"https:\/\/diyfuturism.com\/#website"},"datePublished":"2018-01-23T16:34:13+00:00","dateModified":"2018-01-20T20:25:36+00:00","author":{"@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c"},"breadcrumb":{"@id":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/23\/nodes-home-automation-state-machine-actionflows-dashboard-statistics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/diyfuturism.com\/"},{"@type":"ListItem","position":2,"name":"More Nodes for Home Automation: state-machine, actionflows, dashboard, statistics"}]},{"@type":"Person","@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c","name":"brad","image":{"@type":"ImageObject","@id":"https:\/\/diyfuturism.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","caption":"brad"},"description":"I'm a professional artist who likes to tinker with building things in my spare time.","sameAs":["https:\/\/twitter.com\/@diyfuturism"]}]}},"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9q0Cl-6C","jetpack-related-posts":[{"id":16,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/big-list-of-home-automation-nodes-for-node-red\/","url_meta":{"origin":410,"position":0},"title":"Big List of Useful Home Automation Nodes for Node-Red","date":"November 26, 2017","format":false,"excerpt":"An ongoing list of nodes I have found useful for constructing home automation flows. I have not included device platform nodes, as all state tracking and actions are performed in Home Assistant.","rel":"","context":"In &quot;Node-Red&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/","url_meta":{"origin":410,"position":1},"title":"The Open Source Smart Home: Getting Started with Home Assistant &#038; Node-Red","date":"November 26, 2017","format":false,"excerpt":"Home Assistant is one of the most interesting open source projects I've ever come across. It interfaces with any device, platform, or service you can think of. It can connect all of your devices to make a truly smart home. With a little creativity almost anything is possible with Home\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1200%2C562&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":374,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/18\/going-further-with-home-automations-in-node-red\/","url_meta":{"origin":410,"position":2},"title":"Going Further with Home Automations in Node-Red","date":"January 18, 2018","format":false,"excerpt":"In my last post\u00a0about using Node-Red to make automations with Home Assistant, I showed some very simple flows for turning lights on and off. While it is important to get used to the Node-Red way of doing things and it's interface, none of the examples in my post are very\u2026","rel":"","context":"In &quot;Home Assistant&quot;","img":{"alt_text":"Morning Radio","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/01\/Screen-Shot-2018-01-18-at-2.04.27-PM.png?fit=1003%2C410&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":469,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/13\/location-aware-notification-lights-node-red-ifttt\/","url_meta":{"origin":410,"position":3},"title":"Location Aware Notification Lights with Node-Red and IFTTT","date":"March 13, 2018","format":false,"excerpt":"I am in the habit of going on cooking sprees while listening to music... loudly. I only share one wall with a neighbor here in the loft, and that neighbor is very tolerant. On a Sunday afternoon, with multiple dishes going at a time, my most used smart home feature\u2026","rel":"","context":"In &quot;Home Assistant&quot;","img":{"alt_text":"Connecting Node Red and IFTTT","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/36159691101_b469c9a91f_k.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":191,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/12\/14\/basic-node-red-flows-for-automating-lighting-with-home-assistant\/","url_meta":{"origin":410,"position":4},"title":"Basic Node-Red Flows for Automating Lighting with Home Assistant","date":"December 14, 2017","format":false,"excerpt":"Smart light bulbs are probably the first thing everyone getting into home automation buys. It is easy to see the applications for them - have the lights come on at night, turn off when you're home, etc. It's very satisfying to have the lights react to the day and your\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/12\/Screen-Shot-2017-12-14-at-7.49.36-PM.png?fit=835%2C631&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":764,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/12\/16\/my-node-red-smart-alarm-clock-with-snooze\/","url_meta":{"origin":410,"position":5},"title":"My Node-Red Smart Alarm Clock with Snooze","date":"December 16, 2018","format":false,"excerpt":"Definitely one of my very favorite features of my smart house is my alarm clock. Which is funny because I am not a morning person\u00a0at all\u00a0and hate getting up. But the daily grind is made a little better by having my house gently wake me by fading in lights and\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/12\/david-von-diemar-291597-unsplash.jpg?fit=1200%2C734&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/410"}],"collection":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":2,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/410\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/410\/revisions\/415"}],"wp:attachment":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/categories?post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/tags?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}