Git Product home page Git Product logo

isthemountainout-blync's Introduction

"The mountain is out!" - Blync edition

This allows the manipulation of a Blync light to tell you if Mt. Rainier is out using themtn.top's webhook or Socket.io feature.

See the actual service repo for more information.

Getting Started

First you need to get yourself a Blynclight.

Once you have one, clone/download this repo and run: npm install (from the root directory of the project)

Then, to start the server using a webhook, run: npm run start_webhook or npm start

To start the server using Socket.io, run: npm run start_socketio

That's it! It will fetch the latest status at themtn.top/api/simple, then wait for notifications from themtn.top's mountainChange webhook or from the mountainChange Socket.io event.

The Webhook Feature

In order to use the webhook, I recommend using a tool like ngrok to make your service known to the outside world - then you can send the generated ngrok url to me either via Twitter or email and we can work out the details.

I'll eventually make this process a form... eventually.

You can, however, use the Socket.io feature without any effort.

isthemountainout-blync's People

Contributors

tylerleonhardt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

isthemountainout-blync's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.