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
- Host: GitHub
- URL: https://github.com/syntaxseed/symfony-console-philips-hue
- Owner: syntaxseed
- Created: 2022-05-12T17:38:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-16T11:22:24.000Z (almost 4 years ago)
- Last Synced: 2025-02-01T11:44:52.586Z (about 1 year ago)
- Language: PHP
- Size: 2.2 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.)