cannonb4ll / laravel-philips-hue Goto Github PK
View Code? Open in Web Editor NEWLaravel Philips Hue package to control your lights with remote support
Home Page: https://dennissmink.nl
License: MIT License
Laravel Philips Hue package to control your lights with remote support
Home Page: https://dennissmink.nl
License: MIT License
Hi, thanks for this package. However, the 'composer require dennissmink/laravel-philips-hue' command (as stated in the docs) is not working. Composer returns a not found notice. Running 'composer require cannonb4ll/laravel-philips-hue' does the trick.
It would be too bad to miss this package ;)
Thanks!
Hello,
Thanks for the great work. I have been attempting to utilize laravel-philips-hue however I'm having some odd experiences, listed out some things I've noticed in case these help identify the issue. My core issue is that when I http://{app-url}/hue/auth
I receive a standard {"ErrorCode" : "invalid_request", "Error" :"The request is missing required parameters."}
. Below is some areas where the issue might be occurring.
composer require cannonb4ll/laravel-philips-hue
is grabbing version 1.5 (Oct 5th) instead of using the current dev-master (Oct 9th - 62aaa30). Not sure if anything needs to be changed on the packagist.org site. To solve this I've been using composer require cannonb4ll/laravel-philips-hue:dev-master
to force using the current master.
Within HueClient.php & HueUser.php the below changes were made recently - should the "README.md" config area need to be update as well? The readme still directs that the config/services.php
should use env('PHILIPS_HUE_CLIENT_ID')
and env('PHILIPS_HUE_CLIENT_SECRET')
....
The example of the changes I'm referencing can be seen here
REMOVED: env('PHILIPS_HUE_APP_ID')
ADDED: config('services.philips-hue.app_id')
I'm receiving the following message once completing the services.php
file and using http://{app-url}/hue/auth
ERROR CODE: {"ErrorCode" : "invalid_request", "Error" :"The request is missing required parameters."}
This sadly is a very common / standard error code by Hue so I can't learn much from it. This is my main problem.
As a side/bonus question: do you know of a clean and simple way to monitor the outbound post/get etc from Laravel so I can see the message it's sending when http://{app-url}/hue/auth
is actioned? That way I could check the message I'm sending
Thanks again, I hope the above helps solve this issue (if it exists in the repo) or if I'm doing something wrong please point me in the better direction.
The Guzzle package is missing from the composer file which will throw an error if the lib is used without installing guzzle.
The solution would be to add the requirement to the composer.json.
I can open a PR with these changes if you would like?
I would also be open to help developing the lib further if you would like some help?
I don't see a config/services.php file.
I need to upgrade to version 1.6 since i'm having trouble with the cached config for Hue when running this in an Job. This has been fixed in 1.6, but I don't see the reason why support for Laravel 5 has been dropped?
It will save me a lot of time if you can still support this version or make an 1.5.x release with this changes included, it is to much work for now to upgrade to newer Laravel.
Hi,
do you plan to add compatibility to laravel 9 ? It is not possible to install it as php 7 is required in composer.
Thank you for your project!
Hi,
I've got an error inside HueUser.php on line 33. Is array_first a valid function? I searched already the Laravel and PHP docs but couldn't find any helper or something.
with all required and optional variables
and some instructions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.