lukasroegner / homebridge-philips-hue-sync-box

Homebridge plugin for the Philips Hue Sync Box.
MIT License
58 stars 13 forks source link

the sync box turn off #33

Closed fahad00x closed 3 years ago

fahad00x commented 4 years ago

Hi..

I have problem when I want to get the access token
I use { "appName": "homebridge", "appSecret": "MDAwMTExMDAwMTExMDAwMTExMDAwMTExMDAwMTExMDA=", "instanceName": "homebridge" }

then it give me

{"code":12,"message":"Invalid JSON"}

it ok to get code 12 not 16?

then I pressed the button 3 second and give me green light but after that it give me red light not white

lukasroegner commented 3 years ago

The JSON looks fine. Please check whether you send the JSON as raw body (not form data or URL encoded) within a POST request. I can recommend Postman as a HTTP request/response tool with a great UI.