-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get all schedules should return the full schedules resource #22
Comments
Hi Joe, I have just committed HueEmulator-v0.7.jar. Give this a try if you want. In this version I now return the full groups resource (introduced in API 1.4), and I am returning a near full Schedules Resource. Note however, that Schedules was never fully implemented in the Emulator and has some fields missing (e.g. autodelete, status, starttime, created), so am not sure how valuable this change is without the full schedules implementation. To be honest its a while since I implemented the schedules in the Emulator and can't remember exactly in what state it is, so would be great if you let me know if it works. Steve |
Hi Steve, Thanks for updating. { It get this response with a „Socket closed by peer“ error, so the response is not complete: HTTP/1.1 200 OK The „Get all Schedules" command afterwards provides: {„1":{"description":"My Midnight lights","name":"Nach Mitternacht","command":{"body":{"bri":0,"on":false},"address":"/api/a3b6ef5b20810491a1997b25606362b/groups/0/action","method":"PUT"}}} So the schedule’s command property isn’t saved as provided in the payload. That’s what i found after s short test of 0.7 Thanks and cheers from Germany, Von: Steve <[email protected]mailto:[email protected]> Hi Joe, I have just committed HueEmulator-v0.7.jar. Give this a try if you want. In this version I now return the full groups resource (introduced in API 1.4), and I am returning a near full Schedules Resource. Note however, that Schedules was never fully implemented in the Emulator and has some fields missing (e.g. autodelete, status, starttime, created), so am not sure how valuable this change is without the full schedules implementation. To be honest its a while since I implemented the schedules in the Emulator and can't remember exactly in what state it is, so would be great if you let me know if it works. Steve — |
Hi Joe, |
Hi Steve, No problem. The Emulator has been and still is very helpful. Looking forward to any updates. Let me know when i can help testing. Cheers, — ———————————————— Von: Steve <[email protected]mailto:[email protected]> Hi Joe, — |
Hi Stevey,
as of bridge version 1.3 the full schedules resource is returned from the bridge.
Currently the Emulator just returns the name of the schedule.
It would be great if the Emulator could be updated to reflect this.
Thanks,
Joe
The text was updated successfully, but these errors were encountered: