Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Gamma boolean can not be set via REST or mqtt #23

Closed
petefats opened this issue Oct 13, 2017 · 4 comments
Closed

Gamma boolean can not be set via REST or mqtt #23

petefats opened this issue Oct 13, 2017 · 4 comments
Assignees
Milestone

Comments

@petefats
Copy link

petefats commented Oct 13, 2017

Thanks for the incredible firmware. Its been an integral part of an outdoor project of mine using 24 lights. After a recent snowstorm, part of the lights report gamma correction true, part of them report false. I believe this is a EEPROM problem due to the cold, nothing to do with AiLight itself.

The problem I'm running into however is that AiLight doesn't expose this variable to either REST or mqtt, making it difficult to return all of the lights the same state. I'm uncertain if this is a bug or simply unimplemented (and working as expected). I've attached a repro in case it helps.

gamma-repro.txt

@stelgenhof
Copy link
Owner

Thanks! @petefats. In this case it is just a matter of 'unimplemented'. The firmware was targeted at HomeAssistant, which doesn't know anything about 'Gamma Correction'.

I agree that it would be better to be able to set Gamma Correction via REST or MQTT as well. Let me see how that can be done :)

@stelgenhof stelgenhof self-assigned this Oct 13, 2017
@petefats
Copy link
Author

Thanks for looking. In the interim, I found that I could connect directly via websocket to adjust this variable.

@stelgenhof stelgenhof added this to the v0.6 milestone Nov 13, 2017
@stelgenhof
Copy link
Owner

@petefats I know you were able to work around this by using the Websockets. However, I have added the ability to set the Gamma Correction via REST API and MQTT now as well.

It's not available yet as part of an official release, however you can try it out by compiling the firmware (develop branch) yourself.

Cheers! Sacha

@stelgenhof
Copy link
Owner

Included in the just released version 0.6.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants