This repository was archived by the owner on Jun 13, 2020. It is now read-only.
What have I change to support different APIs? #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
I was able to integrate 3rd party web-server which control the lights in my house, but can only turn off or turn on the lamps. Issue is that API is a bit different and I'm not able to change it.
For example, it returns status for getValues request with next string: {"zone":5,"R":25,"G":35,"B":45,"W":127}. So I have to parse it somehow. All values including brightness have to be entered as 0 to 255.
The only possibilities for set values are:
setR Red channel
setG Green channel
setB Blue channel
setW White channel
setA Overal brightness
setM position of color wheel
getZones gearing the configuration of all lamps and zones
getValues
I'm ok to update on my own, but will appreciate guidance where to find and what to update...