IKEA Trådfri RGB Light color picker

Hi! I just got the new RGB bulb from IKEA to my trådfri setup.
The buld connects fine and shows up in my home assistant.
I found this: https://github.com/home-assistant/home-assistant/pull/9411
but dont understand how to use this. My Home assistant is 0.54.

The “problem” i have now is that there is no color picker to set the color. There is a color temperature slide, just as for the “old” bulbs, and that does exactly the same as before.
If I set red from the trådfri app my icon in home assistant changes color to red, and if i touch the color temp slider it changes the lamp to white instead of red.

Am I chasing something that´s not there yet? or am I missing some importent step?

Hi,

I have the same problem. I

However, I seem unable to upgrade Tradfri to 3.0.4.

  • I upgraded Tradfri, and pip3 freeze shows the upgrade version (3.0.4 which is > 3.0.1).See below.
  • But, after rebooting, Tradfri is back to 3.0…

How can this be, what additional upgrades do I need to perform ?

Thanks,

Alex.

Ps Additionally the output on the commandline.
Note 1: See that initital the version is 3.0, then 3.0.4, then 3.0 again…:
Note 2: the code below is one copy of the entire process…the same ssh-session

`meassistant) homeassistant@hassbian:~/.homeassistant $ pip3 freeze
aiocoap==0.3
aiohttp==2.2.5
aiohttp-cors==0.5.3
astral==1.4
async-timeout==2.0.0
certifi==2017.7.27.1
chardet==3.0.4
colorlog==3.0.1
Cython==0.27.1
distro==1.0.4
docopt==0.6.2
DTLSSocket==0.1.3
enum-compat==0.0.2
future==0.16.0
fuzzywuzzy==0.15.1
gTTS-token==1.1.1
homeassistant==0.56.2
Jinja2==2.9.6
MarkupSafe==1.0
multidict==3.3.0
mutagen==1.38
netdisco==1.2.2
netifaces==0.10.6
pkg-resources==0.0.0
PyDispatcher==2.0.5
pyserial==3.4
pyserial-asyncio==0.4
python-openzwave==0.4.0.35
python-telegram-bot==8.1.1
pytradfri==3.0
pytz==2017.2
PyYAML==3.12
requests==2.14.2
rflink==0.0.34
samsungctl==0.6.0
six==1.11.0
SQLAlchemy==1.1.14
tinyDTLS==0.0.0
typing==3.6.2
voluptuous==0.10.5
wakeonlan==0.2.2
xmltodict==0.11.0
yarl==0.13.0
zeroconf==0.19.1
(homeassistant) homeassistant@hassbian:~/.homeassistant $ pip3 install --upgrade pytradfri
Collecting pytradfri
Installing collected packages: pytradfri
  Found existing installation: pytradfri 3.0
Uninstalling pytradfri-3.0:
  Successfully uninstalled pytradfri-3.0
Successfully installed pytradfri-3.0.4
(homeassistant) homeassistant@hassbian:~/.homeassistant $ pip3 freeze
aiocoap==0.3
aiohttp==2.2.5
aiohttp-cors==0.5.3
astral==1.4
async-timeout==2.0.0
certifi==2017.7.27.1
chardet==3.0.4
colorlog==3.0.1
Cython==0.27.1
distro==1.0.4
docopt==0.6.2
DTLSSocket==0.1.3
enum-compat==0.0.2
future==0.16.0
fuzzywuzzy==0.15.1
gTTS-token==1.1.1
homeassistant==0.56.2
Jinja2==2.9.6
MarkupSafe==1.0
multidict==3.3.0
mutagen==1.38
netdisco==1.2.2
netifaces==0.10.6
pkg-resources==0.0.0
PyDispatcher==2.0.5
pyserial==3.4
pyserial-asyncio==0.4
python-openzwave==0.4.0.35
python-telegram-bot==8.1.1
pytradfri==3.0.4
pytz==2017.2
PyYAML==3.12
requests==2.14.2
rflink==0.0.34
samsungctl==0.6.0
six==1.11.0
SQLAlchemy==1.1.14
tinyDTLS==0.0.0
typing==3.6.2
voluptuous==0.10.5
wakeonlan==0.2.2
xmltodict==0.11.0
yarl==0.13.0
zeroconf==0.19.1
(homeassistant) homeassistant@hassbian:~/.homeassistant $ pip3 freeze


aiocoap==0.3
aiohttp==2.2.5
aiohttp-cors==0.5.3
astral==1.4
async-timeout==2.0.0
certifi==2017.7.27.1
chardet==3.0.4
colorlog==3.0.1
Cython==0.27.1
distro==1.0.4
docopt==0.6.2
DTLSSocket==0.1.3
enum-compat==0.0.2
future==0.16.0
fuzzywuzzy==0.15.1
gTTS-token==1.1.1
homeassistant==0.56.2
Jinja2==2.9.6
MarkupSafe==1.0
multidict==3.3.0
mutagen==1.38
netdisco==1.2.2
netifaces==0.10.6
pkg-resources==0.0.0
PyDispatcher==2.0.5
pyserial==3.4
pyserial-asyncio==0.4
python-openzwave==0.4.0.35
python-telegram-bot==8.1.1
pytradfri==3.0
pytz==2017.2
PyYAML==3.12
requests==2.14.2
rflink==0.0.34
samsungctl==0.6.0
six==1.11.0
SQLAlchemy==1.1.14
tinyDTLS==0.0.0
typing==3.6.2
voluptuous==0.10.5
wakeonlan==0.2.2
xmltodict==0.11.0
yarl==0.13.0
zeroconf==0.19.1
`

Hi all,

I have been looking into this a bit more.

Am I correct to assume that Hassbian on restart somehow re-installs the ( older) version of Pytradfri in the virtual env ?
I.e. that I cannot manually upgrade Pytradfri to 3.0.4, since 3.0 is apparently a needed dependency for the current version of Hass?

If so, can I somehow manually change the dependency to version 3.0.4?

Thanks for any advice.

Alex.

Ok, apparently that is not possible (the actual problem for me now solved by upgrading to the dev version of Hass while waiting for the next stable release).

What happens:

  • On every restart, Hass ‘updates’ all packages in the virtual environment. In the case of a manual update package, this can also mean it replaced that version with a previous version.
  • So, the only way to upgrade a single external package in the virtual env apparently is to wait for an upgraded version of Hass that refers to this updated / newer version of that package.

I assume this is all meant to keep Hass in sync with its needed dependencies. ( something usually taken care of by the os/distribution, but in case of Python virtual envs this can be different)

One last question for my interest about this: Is this behaviour documented somewhere, I have a hard time finding details about this?

Alex.

I have no idea, i switched to Hass.io and trådfri now works great, with color picker for the rgb lights.