Home Assistant release with the issue:
0.79
Last working Home Assistant release (if known):
0.78-3
Operating environment (Hass.io/Docker/Windows/etc.):
Linux
Component/platform:
Tradfri
Description of problem:
In previous releases Tradfri groups were automaticallay imported.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
I use Tradfri groups to combine several Tradfri lamps into one HA light.
Possibly related: I just updated to 0.79 and I had to reconfigure the connection to the IKEA TR脜DFRI gateway.
Same here. All tradfri lights are no longer available. Integrations tells me there are 2 (!) new Tradfri integrations available (while one is already configured, but not working as stated).
Trying to configure one of the 2 new Tradfri integrations fails with a timeout error on the security code window.
Log file is full of "Fatal DTLS error: code 115".
Created separate issue as I think problem is more severe.
Check if you have the .tradfri_psk.conf file ...it caused problems for me, after removing it i was able to configure it with discovery...no idea if it was related, or just a coincidence.
The .tradfri_psk.conf contains the ip-address of the Tr氓dfri gateway.
If for some reason the Tr氓dfri gateway changes ip-address ( Router restart and DHCP) the ip-address references a non-existing gateway.
Suggestion: Don't hard-code an IP-address in a config-file without making sure the device has a static ip address.
.tradfri_psk.conf is no longer being usedI have used Tradfri groups with no issues at all.
At the moment I configured light groups in order to group lights, but turning on/off and dimming such a group results in adjusting the bulbs one-by-one. With a Tradfri group all bulbs responded at the same time.
I use Tradfri groups for combining several bulbs in for instance a chandelier into one logical light.
In my livingroom I have 8 bulbs: two in a single fixture, one dual fixture and one quadruple fixture. When I turn off all lights in the room using light groups, 8 bulbs have to be turned off. If one fails the status of the room won't be 'off'. Using tradfri groups only 4 groups have to be turned off making the chance that one fails much smaller.
In my opinion there should be an option to import Tradfri groups.
I have to agree with JaapBraam. Tr氓dfri groups is a widely used feature and removing this would be a step in the wrong direction. I hear what you say that some things doesn't work as they suppose but removing the support for groups completely isn't the solution.
I use Tr氓dfri groups due to the clean setup and configuration in HA and because I use Tr氓dfri power outlets. These outlets can't be controlled if groups are removed. Even when HA gets support for the power outlets, I think letting Tradfri handle the groups is a nice way of making things less complex in HA.
I love HA and have used it for more than a year. However, I feel frustrated when things like this happen. How are the users supposed to know that features are removed when pressing Update in the interface? The Tradfri documentation still says that groups are supported. I cant find anywhere in the changelog that Tradfri groups are disabled? Exactly in which release did you disable it? I will have to downgrade to a version prior of that.
Please, reconsider adding support for Tr氓dfri groups again.
Tr氓dfri groups is a widely used feature
Source?
If users were using groups before the upgrade, the configuration would have transitioned into your config entry and you would still see groups.
We no longer offer the option in the UI to enable groups and that will not come back until the Tradfri Gateway is able to report groups accurately.
I'll remove the docs to update the mention of groups.
If you want groups, turn of HA, edit <config>/.storage/core.config_entries, find the tradfri entry and allow groups.
If users were using groups before the upgrade, the configuration would have transitioned into your config entry and you would still see groups.
In my case the 'configuration is not transitioned into my config entry' (what ever that may be) and I don't see groups.
How can I allow groups for tradfri in the core.config_entries file?
Thanks balloob, it works again now when I changed core.config_entries.
With "widely used", I base it on people I talk to both irl and on forums regarding Tr氓dfri in combination with HA. But as long it is possible to enable group import, I'm happy.
Most helpful comment
I have used Tradfri groups with no issues at all.
At the moment I configured light groups in order to group lights, but turning on/off and dimming such a group results in adjusting the bulbs one-by-one. With a Tradfri group all bulbs responded at the same time.
I use Tradfri groups for combining several bulbs in for instance a chandelier into one logical light.
In my livingroom I have 8 bulbs: two in a single fixture, one dual fixture and one quadruple fixture. When I turn off all lights in the room using light groups, 8 bulbs have to be turned off. If one fails the status of the room won't be 'off'. Using tradfri groups only 4 groups have to be turned off making the chance that one fails much smaller.
In my opinion there should be an option to import Tradfri groups.