hc-echo-addon

0.0.1 • Public • Published

HipChat BeachBot Add-on

This add-on will check the weather forecast (FOR SYDNEY ONLY) and advise on whether or not we should go to the beach.

  • 07:30 - Check if it is more than 30'c today
  • 16:30 - Check if it is more than 30'c tomorrow

To install what you need to run the add-on:

npm install -g bunyan npm install

Start ngrok, which will make your add-on running on http://localhost:4000 accessible to HipChat.com:

ngrok 4000

Take a note of the base URL given by ngrok, for example in the following case the base URL is https://57376a36.ngrok.com:

ngrok (Ctrl+C to quit)

Tunnel Status online
Version 1.7/1.7
Forwarding http://57376a36.ngrok.com -> 127.0.0.1:4000
Forwarding https://57376a36.ngrok.com -> 127.0.0.1:4000
Web Interface 127.0.0.1:4040

Conn 0

Avg Conn Time 0.00ms

Start the add-on:

npm start | bunyan

Install the add-on in HipChat.

To test the add-on:

  • Type /beachbot in the HipChat room to get the current weather forecast

Readme

Keywords

none

Package Sidebar

Install

npm i hc-echo-addon

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • gburrows