sqmk / Phue

Philips Hue client for PHP
Other
203 stars 45 forks source link

Change schedule ids from int to string as ids can overflow #119

Closed mazodude closed 6 years ago

mazodude commented 7 years ago

Type casting the Schedule ID to int creates an integer overflow. This can be tested with the following ID as made by the Hue app: 9218378804149269. This results in the int overflowing to make the ID 2147483647.

sqmk commented 6 years ago

I believe schedule id's have changed in a bridge update. I will change schedule ids with the latest values instead.