<commit_before># Arduino LIFX bulb

LIFX bulb emulator by <NAME> (<EMAIL>)

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
- Currently you cannot 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](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 <NAME>, which was modified slightly to support powering down the LED<commit_msg>Updated info about arduino bulb and real bulb simultaneous control using Android app v1.70<commit_after># Arduino LIFX bulb

LIFX bulb emulator by <NAME> (<EMAIL>)

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](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 <NAME>, which was modified slightly to support powering down the LED
{'fraction_non_alphanumeric': 0.05320648343904158, 'fraction_numerical': 0.0021141649048625794, 'mean_word_length': 3.852991452991453, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2666049', 'n_tokens_mistral': 911, 'n_tokens_neox': 828, 'n_words': 466}