Skip to content
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

lastColor API call fails #646

Open
TheRealBenForce opened this issue Dec 13, 2019 · 0 comments
Open

lastColor API call fails #646

TheRealBenForce opened this issue Dec 13, 2019 · 0 comments

Comments

@TheRealBenForce
Copy link

I'm on v2.2.3

I can set a color:

http://localhost:8934/blink1/fadeToRGB?rgb=%23FF11FF&time=2.7

{
  "blink1Serials": [
    "20004AE9"
  ],
  "lastColor": "#ff11ff",
  "lastTime": 2.7,
  "lastLedn": 0,
  "cmd": "fadeToRGB"
}

When I try to retrieve last color:

http://localhost:8934/blink1/lastColor

Cannot GET /blink1/lastColor

I have read in issue #316 the API changed to retrieve last color using fadeToRGB endpoint by itself, but it is not accurate, color shows as #000000

http://localhost:8934/blink1/fadeToRGB

{
  "blink1Serials": [
    "20004AE9"
  ],
  "lastColor": "#000000",
  "lastTime": 0.1,
  "lastLedn": 0,
  "cmd": "fadeToRGB",
  "status": "bad hex color specified undefined"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant