Re:Show HN: How to Annoy Your Coworkers for $42 Using Clojur...
by tmuir on Friday September 12, 2014 @04:25PM
(#8310250)
I don't understand why Node-RED hasn't blown up on HN yet. Its ridiculous how powerful it is for connecting hardware, web APIs, websockets, HTTP Servers, twitter, push notifications, shell scripts, you name it. Additionally, it runs on PC, Mac, Beaglebone Black, Raspberry Pi, and Arduino.
For instance, I'm working on a flow that passes a hardcoded Google Maps url to page2image.com, gets back a screen shot, runs a python script to analyze the image for the traffic level, and makes a determination based upon a predefined threshold. If there is high traffic, a pushbullet notification is sent to my phone. If there is low traffic, a text message is sent to my phone. I have each notification set to a different sound. On my Android, I'm using Tasker to sense when I enter a gps radius, and then send a message through no-ip to my beaglebone running Node-RED to kick off the whole process.
The end result should be that during my morning commute, when I'm approaching a particularly congested area, I'll get one of two sounds on my phone. One sound indicates that I should take the main road, and the other sound indicates that I should take side roads.
For instance, I'm working on a flow that passes a hardcoded Google Maps url to page2image.com, gets back a screen shot, runs a python script to analyze the image for the traffic level, and makes a determination based upon a predefined threshold. If there is high traffic, a pushbullet notification is sent to my phone. If there is low traffic, a text message is sent to my phone. I have each notification set to a different sound. On my Android, I'm using Tasker to sense when I enter a gps radius, and then send a message through no-ip to my beaglebone running Node-RED to kick off the whole process.
The end result should be that during my morning commute, when I'm approaching a particularly congested area, I'll get one of two sounds on my phone. One sound indicates that I should take the main road, and the other sound indicates that I should take side roads.