I’ve updated my config for Rfxtrx, to make is work again in 0.113. All my kaku devices are recognized as switches, but some of them are lights. Setting the device class didn’t help, it’s still recognized as a switch. What am I doing wrong?
Change the last 6 digits of the Id to 020f70 will make it being recognized as a light. Note that you have to figure out what digit to change. The last topic gives different examples.
Can you elaborate on this? I have a bunch of LightwaveRF wall dimmers that were originally lights. An example in my configuration is: 0a14000101f20302010080:
I tried changing this to 0a14000101f20302020f70: but it still showed up as a switch in the integration. I’ll try 100F70 at the end.
I think it should be 100080 at the end in your case, but that is a guess. @elupus is saying that only one byte should be changed. I think it would be good to add this to the documentation, by someone who understands how this exactly works.
I appreciate the docs being updated. However, is there a plan for the future to remove complexity that has been added with then new implementation, with users needing to modify the codes to get the devices mapped to the correct type (light vs switch) and with the correct properties (dimmable vs non-dimmable).
Can the integration not handle the conversion, allow the user to specify that the type and properties of device via the UI. Especially as generating dimming commands when capturing a light isn’t always straight forward and when it wasn’t required previously.
Ok, this must have been the most cumbersome thing I ever did inside Homeassistant, but I managed to move my RFXTRX KAKU lights to the new format. Below a small tutorial:
Starting position: a light (light.schuur_poort) in old config. I want the device to be re-added with the same entity name. All RFXTRX mentions removed from configuration.
Alternative for creating a light from a switch is changing the device ID. In your case, change 0b11003a014157160b010f60 to 0b11003a014157160b020f60 and it will be recognized as a light.
Where can I find the current device id and where can I set the changed device id? I started using home assistant this year. RFXCOM is working fine, but there’s nothing in my configuration.yaml file and I have two KAKU dimmers that were added as switches that I need to convert.
Good question! Had a look and also couldn’t find it. In my case I entered the values in configuration.yaml so I can get them from there. You might be able to get the values by removing the entities and then discovering them again.
The easy way is to go to your integrations page and select ‘devices’ or ‘entities’ from the RFXTRX integration. That will lead you to the respective lists.
Worst case you have to open the entities or devices files in the .storage folder. Please note this is NOT advised and at your own risk.
The .storage folder is a hidden folder (as per the dot in front of the name). It’s directly beneath your config folder.
WARNING: If you don’t know this, you probably shouldn’t be editing anything inside this folder. Do this at your own risk, because you might screw up your HA and not be able to start it again.