neoteknic / Phue

Philips Hue client for PHP - fork by Neoteknic, extra features - soon new Entertainment API support
Other
13 stars 5 forks source link

Switch to https #13

Open Chris53897 opened 2 years ago

Chris53897 commented 2 years ago

If i see this correct the Hue API is still called by http and not by https. https://github.com/neoteknic/Phue/blob/master/library/Phue/Transport/Http.php#L215

Infos from Hue about https

neoteknic commented 2 years ago

Should add https on/off in a config file maybe ? or dont forget to add curl param "no verify certificate", or it fails with local IP. https is useless for my custom hue LAN project, but api v2 require https. Plan to add api V2 support (needed for hue gradiant), and entertainement api (maybe with swoole / open swoole (DTLS support)), I use api to make fast flashing effect, it's use but no recommended. I dont have a lot of time to improve it, but feel free to add PR :)