RGBMoodLifx (community library)

Summary

Name Value
Name RGBMoodLifx
Version 0.0.5
Installs 242
License GPLv3
Author Paul Kourany, Kenneth Lim, Matthew McGowan, @Hootie81, @lightx
URL https://github.com/kennethlimcp/arduinolifx
Repository https://github.com/kennethlimcp/arduinolifx.git
Download .tar.gz
All Versions 0.0.5, 0.0.3, 0.0.2

LIFX bulb emulator

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

Arduino LIFX bulb

LIFX bulb emulator by Kayne Richens (kayno@kayno.net)

Emulates a LIFX bulb. Connect an RGB LED (or LED strip via drivers) to redPin, greenPin and bluePin as you normally would on an ethernet-ready Arduino and control it from the LIFX app!

Notes

  • As of Android LIFX app v1.70, you CAN control an Arduino bulb and real LIFX bulbs at the same time with the Android LIFX app. Untested with the iOS LIFX app.
  • Only one client (e.g. app) can connect to the bulb at once

Setup

  • Connect an RGB LED to PWM pins on your ethernet-ready arduino
  • Set the following variables in arduinolifx.ino to suit your Arduino and network environment:
  • mac (unique mac address for your arduino)
  • redPin (PWM pin for RED)
  • greenPin (PWM pin for GREEN)
  • bluePin (PWM pin for BLUE)
  • Connect the arduino to power and network
  • Upload the code to the arduino
  • The LED should light up (warm white) once the arduino gets a DHCP lease from your network
  • Start up the LIFX app - you should see a bulb named "Arduino bulb"
  • Control your arduino bulb from the LIFX app!

Made possible by the work of magicmonkey: https://github.com/magicmonkey/lifxjs/ - you can use this to control your arduino bulb as well as real LIFX bulbs at the same time!

And also the RGBMood library by Harold Waterkeyn, which was modified slightly to support powering down the LED

Ported over to Spark by @kennethlimcp, @pkourany, @m-mcgowan, @Hootie81 and @lightx on 09 September 2014

Browse Library Files