Giter Club home page Giter Club logo

go-bithue's Introduction

go-bithue

go-bithue is a go program that polls the Bitfinex API and sets the Philips Hue lighting in your crib/office/whatever according to the current bitcoin price against the 24-hour BTC/USD high and low. if the price is close to the 24h high, your lights will be green, in the middle, yellow, and if you're losing mad crypto notes, red.

you've never partied harder with bitcoin and lights in your life. get some work off the darknet and go hammers, kemosabe.

send me bitcoins @ 1NiEfjEE35m5UV64K3Gmni2PCthHrr8ucw.

send me nudes @ [email protected].

usage

  • clone my repo.
  • open up config.json in an elite text editor.
  • replace BridgeIP with the IP address of your Hue bridge.
  • replace Username with an authorized username for your Hue bridge.
  • run go build
  • run ./go-bithue &
  • kill -9 that pid when you're ready to get off mr. bitcoin's wild ride.

todo

a lot. this is a piece of shit, can't you tell?

thanks

@Collinux for his gohue project.

go-bithue's People

Contributors

realytcracker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.