Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 987 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 987 Bytes

HueBLE

An Initial proof of concept laravel server for controlling bluetooth Phillips Hue lightbulbs.

Bulbs must already be paired.

Pairing is unreliable.
You may have to turn the bulb off and pair just after it comes on.
You may have to use the hue app and go to the setup a voice assistant flow to get the bulb pairable.
I had to reset the bulbs (changing the MAC addresses) to get them to pair.

Partial openapi documentation is available here
It is currently missing details about errors

An API Token can be generated by running php artisan token:create, optionally with a name.

This project exclusively works on linux.
It requires the pecl D-Bus extension.
If you have the good taste to be using Nix, a shell.nix file has been provided that sets up the required php environment if you run nix-shell

TODO

  • version API
  • logging
  • automatic testing