As subject says, how many can I have?
There are only a few states on the dip switches so is this setting the limitation for sensors?
I usually find them by connecting the RFXTRX to a laptop and with the RFX program find the “code”, but how many can I have?
I see i have one that is jumping between -5 and +20 every other second so I guess there are two on the same channel…
Q2: The switches and lights, when learning, will homeassistant make sure there are no interefernce?
I ask since I have two lights where one is turning off the other but not turning on…
You can have thousands.
The issue is not really HA, since it only need to handle one at a time.
The issue is interference in the radio spectrum, if multiple senders are activated at the same time.
its like when people talk to you. You can talk the many people one at a time, but once they start to talk at the same time, then you fail to understand it all.
The one jumping up and down is not an issue with being on the same channel, since all the devices are on the same channel. Its an issue with the code being sent from one device is too similar with another code from another device. The RFXTRX does not know what device sends what, it just gets a code on a channel.
You can rarely change the code being sent, so it might be that you have to replace a device with another, but before doing so, make sure that the code being recognized is the correct one on the devices. Also beware that some RF products are not changed from copy to copy, so a RF light switch set with 4 switches will probably have the same codes as another set of that RF light switch set.
And your Q2 is then somewhat answered.
HA does nothing in regards to interference.
If two devices send at the same time and the code is being scrambled by that, then its just read as the wrong code and the devices will have to send again.
Hello and thanks for the clarification.
I am still a bit confused with my switches that I have in a small house in the garden.
I have added one light switch that I can dim inside the small house called “inner light”.
Outside the small house I also have a switch (not alight) that is on-off only called “outer light”.
When I turn the “outer light” = ON the “inner light” goes ON as well
When I turn the “outer light” = OFF the "Inner light "go OFF as well
When I turn the “inner light” = ON the “outer light” is unaffected
When I turn the “inner light” = OFF the "Inner light " is unaffected
So the our light controls the inner light but not vice versa.
Perhaps I just remove the lights and reprogram them but the switches are built-in so it’s abit messy…
I see this as a odd behaviour tho as only one steers the other…
Suggestions appreciated
Either you have a mix up in your scripts. How do you capture the switch actions?
Or you have recorded extra information when programming the switches, so the outer switch recorded the signal for the first one and then the second one.
Hello,
I program them by generating a code with the template from this site side: https://www.home-assistant.io/integrations/rfxtrx/
The I add that into the the RFXTRX integration select device and add it.
After this I press learing on the switch/light and toggle it.
Is this the right way to do it?
I think RfxTrx is a bit messy but has improved alot since i started with them
Thanks for your support, it is deeply appreciated.
Sounds like you are doing the right thing, but the code might still be tainted with other signals.
Try to remove the devices and start over with the learning. Its sometimes a bit hit and miss.
Yes Sir, I will do that.
At least I am glad that I seemed to do the integration correctly. I also understand that the string creatd with template is based on random so perhaps it’s bad luck…
Thanks
I do not use that integration anymore, so I can not say.
You might want to open a new thread with that question, since people jump more in on zero post threads.