Super Simple Amazon Dash Detection

This is a super simple Amazon Dash node. It does not require any additional software or palettes to be installed and uses just 2 nodes... Ping/RBE.

This Node will ping for the Dash IP address coming onto the network and will send an 'ON' once when it connects. It uses the RBE node so only a single ON is sent for each connection of the Dash to the network.

Detection time is less then 2 seconds.

You will need to configure your router to give the Amazon Dash a fixed IP address.

[{"id":"1c0f530.4cda6ad","type":"tab","label":"AmazonDash","disabled":false,"info":""},{"id":"e0b5100a.97c27","type":"ping","z":"1c0f530.4cda6ad","name":"Ping Dash","host":"192.168.1.35","timer":"2","x":94.5,"y":71,"wires":[["bddecb49.2f11b8"]]},{"id":"bddecb49.2f11b8","type":"trigger","z":"1c0f530.4cda6ad","op1":"ON","op2":"","op1type":"str","op2type":"nul","duration":"3","extend":true,"units":"s","reset":"0","name":"Send ON when Connected","x":320.5,"y":71,"wires":[["148c1d65.986cb3"]]},{"id":"1c1f2c10.419974","type":"comment","z":"1c0f530.4cda6ad","name":"How this works","info":"The Ping command will run every 2 seconds\nIt will send a 0/false if IP not pingable\nand a number in ms if pingable\n\nThe Trigger will 'reset' if 0/false is passed and \nwill not continue\n\nIf ping response is given (a number greater than 0)\nthe Trigger will send 'ON' representing the button \npress\n\nTrigger time will be extended by the ongoing Ping \nuntil the device returns 0/false (disconnects)\n","x":114,"y":32,"wires":[]},{"id":"148c1d65.986cb3","type":"debug","z":"1c0f530.4cda6ad","name":"Dash is ON","active":true,"console":"false","complete":"payload","x":565,"y":71,"wires":[]}]

Flow Info

Created 7 years, 3 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • comment (x1)
  • debug (x1)
  • trigger (x1)
Other
  • ping (x1)
  • tab (x1)

Tags

  • AmazonDash
  • Amazon
  • Dash
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option