An open API service indexing awesome lists of open source software.

https://github.com/syntaxseed/symfony-console-philips-hue

Talk for Symfony conference- Controlling Smart Light Bulbs with Symfony Console and PHP
https://github.com/syntaxseed/symfony-console-philips-hue

Last synced: 12 months ago
JSON representation

Talk for Symfony conference- Controlling Smart Light Bulbs with Symfony Console and PHP

Awesome Lists containing this project

README

          

# Talk for Symfony World Live - Summer 2022

* https://live.symfony.com/2022-world-summer/schedule#session-654

PHP isn't all work and no play... in fact there are a growing number of uses for PHP in the home automation industry. In this talk we'll create a basic app with Symfony Console then use an existing library to connect to and control a pair of Philips Hue smart light bulbs. From authorizing our application to talk to the bridge, to finding the lights available to the fun of switching their state, brightness, colour and more. This intermediate topic will expand the range of uses we can turn to PHP for.

**Note for photosensitive viewers:** this talk contains flashing/blinking lights.

**Slides:** /slides/Symfony-Console-and-Philips-Hue-Symfony-World-Summer2022.pdf

> This repo contains the code we will write together during the talk, plus a bonus `superman` command that I had to cut for time.

## Repo Tags
* v0.1.0 = empty symfony console application.
* v0.2.0 = simple command to get lights.
* v0.3.0 = improve error handling, add turn on command.
* v0.4.0 = Add candle and superman commands.
* v0.5.0 = final version for talk. (Contains extra 'superman' command.)