question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LB130 hex command doesn't change color

See original GitHub issue

Color change doesn’t work, only changes the brightness:

root@ha:~# tplight hex 192.168.9.199 "#48258b"
{
  "on_off": 1,
  "mode": "normal",
  "hue": 260,
  "saturation": 57,
  "color_temp": 2500,
  "brightness": 34,
  "err_code": 0
}
root@ha:~# tplight hex 192.168.9.199 "#ff0000"
{
  "on_off": 1,
  "mode": "normal",
  "hue": 0,
  "saturation": 100,
  "color_temp": 2500,
  "brightness": 50,
  "err_code": 0
}
root@ha:~# tplight hex 192.168.9.199 "#000000"
{
  "on_off": 1,
  "mode": "normal",
  "hue": 0,
  "saturation": 0,
  "color_temp": 2500,
  "brightness": 0,
  "err_code": 0
}
root@ha:~# tplight hex 192.168.9.199 "#ffffff"
{
  "on_off": 1,
  "mode": "normal",
  "hue": 0,
  "saturation": 0,
  "color_temp": 2500,
  "brightness": 100,
  "err_code": 0
}
root@ha:~#

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
danodemanocommented, Jun 22, 2017

Sweet. And yep, go ahead and close it. Really appreciate you working so hard on this!

0reactions
konsumercommented, Jun 22, 2017

Also, good to know your bulb supports temp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for LB130 color change · Issue #4 - GitHub
@konsumer - I'm having issues with the new code. Executing tplight hex 192.168.9.199 "#48258b" returns nothing and doesn't change the bulb color.
Read more >
How does Alexa determine what commands a device supports?
I have a TP-Link LB130 that is only connected to Alexa through SmartThings. I do not have color commands defined in my DTH....
Read more >
Hex Color code not working correctly when using fonts in ...
For some reason the colors in my PyGame program does not work correctly on fonts and I mean by the color when using...
Read more >
Feeding hex value into a color property node throws error
I'm trying to simply figure how to throw a hex value at a color propery node to change the background color of a...
Read more >
HEX Values Keeps Changing In Illustrator
Every time I enter a Hex code in the color selection panel, it changes. For instance, I enter #FFC70A but after a while,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found