LED Home Automation

Philips Hue Automation

Contact Us

The automated LED control system described here was designed to control Philips Hue smart bulbs. A Raspberry Pi computer is used to control a 24-hour cycle of bulb color changes that range from cool white in the morning to warm colors in the evening. These color changes emulate sunlight colors from sunrise to sunset.

This is an example of human centric lighting.

Smiley face

This cycle matches our circadian rhythm and has many health benefits, including better sleep and relaxing moods.

Smiley face

Kelvin color temperatures are used to control the bulbs.

Smiley face

The Philips Hue API is used to control groups of bulbs. The software application running on the Raspberry Pi connects to the Philips Hue Wi-Fi bridges that control the bulbs and to a website on the Internet that stores minute-to-minute data in a SQL database.

This Philips Hue automation system is based on open source software including; Python, HTML5, JavaScript, AJAX, PHP and MySQL.

Smiley face

Data in the website database is used to display a real-time graph of color changes. This graph acts as a monitor for the system.

Smiley face

Individual color schedules can be created for four periods during the day. These are:

  • 1. Morning (Sunrise to 12:00 PM)
  • 2. Afternoon (12:00 PM to Sunset)
  • 3. Evening (Sunset to 12:00 AM)
  • 4. Sleep (12:00 AM to Sunrise)
  • The time ranges for these periods can be adjusted. The user interface (Internet webpage) allows a user to create a bulb color range for each of the four periods.

    The Raspberry Pi attached to the home’s local Wi-Fi network runs the schedule and sends data to the website database. The smart bulbs change color gradually during the period, starting with the beginning Kelvin value moving to the ending Kelvin value.

    Smiley face

    A motion activated lighting control system (with camera) for the Philips Hue is under development.

    Smiley face Smiley face

    A recent smart home consumer survey indicates that buyers want smart home devices that are automated and have intelligence. This is particularly true for interior lighting systems. Over ninty percent think that home security systems with features like motion detection and remote monitoring are a major motivation for having home automation.

    Smiley face