Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including farmbot_chatbot with all npm packages installed. Try it out:

var farmbotChatbot = require("farmbot_chatbot")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

farmbot_chatbot v1.0.0

FarmBot Chat Bot

Control FarmBot via IRC

Setup

  1. Copy secret.example.json to secret.json.
  2. Change email and password in secret.json*
  3. Change IRC_SERVER and IRC_NICK in index.js to something better.
  4. (first time only) npm install
  5. npm start

Usage

  1. Join #farmbot_example on irc.freenode.net using an IRC client.
  2. Look for potato_tornado (you can change this).
  3. say up in the channel.
  4. Z axis should move up by 10 steps.
  5. EXTRA CREDIT: Add commands of your own!
  6. EXTRA CREDIT: Refactor the code into multiple files.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free