Skip to content

Instantly share code, notes, and snippets.

@jwcrawley
jwcrawley / README.md
Created November 9, 2015 16:03
IRC Logging Bot

This is a flow that creates a bot for IRC, and logs all content to a Dropbox account/file of your choice.

To make this work, import the flow to your local node-red instance. From there, you will need to configure the nodes. You will also need the IRC and Dropbox node-red nodes.

-Configuration-

IRC node: Add a new IRC server and choose which channel you would like to record

File (connected to IRC flow): Change "/path/to/filename.txt" to the location where you want the file to be saved.

@jwcrawley
jwcrawley / README.md
Last active November 29, 2015 18:10
Get computer list on Westell ATT 755 router

Final edit: Made into subflow, with 1 input and 2 outputs.

Edit: Changed Gist to Public. This is for Node-Red, found on http://nodered.org

This flow retrieves the computer list found on ATT's stock router, http://www.amazon.com/Westell-7550-DSL-Modem-Router/dp/B008SBUSHI . (apologies for the amazon link)

Reasoning: I wanted to retrieve all computers on the router, so that I can make logic that does things when X MAC address is on network, or when the device isn't. The premise was to do things like "turn on/off lights when I leave".

Implementation:

Keybase proof

I hereby claim:

  • I am jwcrawley on github.
  • I am jwconway (https://keybase.io/jwconway) on keybase.
  • I have a public key whose fingerprint is 4E4A EBAE 089B 402D 55AD 4E87 3E49 9C99 E930 2A8C

To claim this, I am signing this object: