Open testerbb opened 6 years ago
Can you send example prints ?
This is the HTML response from hue-api
And these are screenshots from the python output. The code is very short and simple. Nevertheless, the output is not the same.
Are you sure it's different ? The output of get_api() is not "pretty printed" by default. That's probably the only difference...
Yes, the starting is not always the same. Once the output starts with "schedules", once "light" and another time with "config"
This is normal, there is not guarantee of order in JSON/Python dictionaries. As long as all the data is there it is fine.
2018-01-02 13:52 GMT-05:00 testerbb notifications@github.com:
Yes, the starting is not always the same. Once the output starts with "schedules", once "light" and another time with "config"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/studioimaginaire/phue/issues/124#issuecomment-354845821, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEu9CGBzC2g3AmkwApN_RLSPixWgTSJks5tGnrrgaJpZM4RQnPB .
Thanks for the hint. Nevertheless, on hue html api the structure is always the same, but probably its written in java and not in python. I will check the structures and come back to it
Thanks
Hi everybody
Calling twice the get_api()-function prints twice different results. Furthermore, non of the python outputs corresponds to the hue output which can be retrieved by the hue/html api. It seems the problem is related to some buffering because the python-outputs are extracts from the hue-output. Does anybody have experience with this problem? thanks in advance for the help
Best regards