So I connected my RFLink to my HA server and activated debug logging.
I just don’t understand how to get the remote as a device and I haven’t even tried adding my 433MHz Smart Plugs…
While pressing a button on my old Nexa remote I get the following in the log:
Already tried it. Tried it again when I read your reply.
Still gives the same debug log with the anoying “device_id not known and automatic add disabled”. It feels like I am doing something wrong in my configuration.yaml so that HA still thinks automatic add is disabled.
How do you restart HA? I remember some bug where HA restart from UI fails on config validation and don’t restart (without notifiy).
I recommend to remove all the RFLink config and restart HA looking at the startup logs.
I’m curious if the RFLink logs keep coming out after removing the configuration.
I know it seems a bit absurd, but what your traces show does not seem to match the configuration, so try from scratch and add configurations until you see where the problem may be.
I nothing happens, I would try to put just the RFLink configuration:
Ok. First reboot I got complaints about the syntax in configuration.yaml and rflink entries.
I did a copy paste from the HA page on RFLink… and… goddamn… it works…
I have two entites now, newkaku_016805be_1 and newkaku_016805be_2 after two button presses. Adding these “light” entities in Lovlace I can control the two “lights” on / off with the two first button sets on my remote.
Ok… so now it works. I am just going to figure out how to get them as Switches. I guess changing “light:” to “switch:”. I read that somewhere… that I “Switch” had no auto adding so “Light” was the way to get it in.
However, there are nothing registered in the configuration.yaml… are the entities kept after a reboot or?
My smart plugs, how do I get them into HA? I guess they are quiet and are waiting for commands or?
But this is what you had in the beginning…
I guess it should work now.
Actually in HA you may want to represent the plug state’s (and not the remotes).
What is done usually is to configure an entity that reacts to remote’s signals.
So in HA the switch will represent the plug, and its state changes with the remotes (like the real one).
Another thing that can be done is to represent your plug with another device_id, let’s say something like:
Now, this new button can be paired with your plug. You need to follow the pairing process for your plug. This way your plug will react to the physical button and to the HA button. This is not necessary, but it is one of the possibilities you have.
PS: RFLink don’t keep entities between restarts, only those that are in the configuration.
Sorry for not getting back earlier. Real life happened
Thanks for helping me out and for having the patience to explain things. It REALLY helped.
I have now dropped the idea of connecting to the smart plug dimmers since a) I have lost the remote and b) they are so ancient I can’t find any documentation anywhere on the internet.
I am pausing RFLink for now because I have to migrate from my Z-Wave setup that is depreciated now…