Giter Site home page Giter Site logo

tradfricontroller's Introduction

TrådfriController

Hardware hacked IKEA IoT-Devices for a freeform performance Interface.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • MQTT - Recieve Data from the Ikea gateway
  • Tradfri2Mqtt - Java App that translates the dimmer values to MQTT data
  • Ableton - Output the Data as Sound
  • Processing IDE - Processing
  • Ableton Projectfiles coming
  • Arduino Code coming

Installing

Initialise the MQTT Broker on your machine and connect the "Tradfri2Mqtt" to the Gateway Ip and the Broker.

java -jar TRADFRI2MQTT-X.X.X-SNAPSHOT.jar -ip 192.168.1.XXX -psk xxxxxxxxxxxxxxxx -broker tcp://localhost

You can find the PSK on the bottom of the Gateway.

Subscribe in your Processing Code to the broker. You can alternatively check the send data in the terminal with (replace ip with your broker ip)

mosquitto_sub -t '#' -p 1883 -h 127.0.0.1 -v

You should be able to see the dimmer values come in as

TRÅDFRI/bulb/nameOfTheBulb/state/on  1
TRÅDFRI/bulb/nameOfTheBulb/state/dim  126

(nameOfTheBulb is defined in the Ikea Tradfri App)

Install a MidiBus via IAC Bus (mac) or Midi Yoke (win) to send the commands to Ableton.

Connect Ableton to the created Bus and put the right output in the "processing.pde". If you are not sure which one it is use

MidiBus.list();

which prints a list for available ports.

Start the Processing file "name" and check for errormessages

Install a MidiBus via IAC Bus (mac) or Midi Yoke (win) to send the commands to Ableton.

Acknowledgments

tradfricontroller's People

Watchers

 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.