Can anyone assist me in getting RFLink set up in HA? I am running HA (0.74.2) on a Pi using Hass.io
I have built an RFLink using a Arduino Mega 2560.
I have added this to the configuration yaml file…
When I reboot the pi and Arduino, I see the following 3 lines in the log file which I hope means Its all connected correctly?..
2018-08-30 10:01:08 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2018-08-30 10:01:08 INFO (MainThread) [homeassistant.components.rflink] Connected to Rflink
2018-08-30 10:01:08 DEBUG (MainThread) [rflink.protocol] connected
However thats all that I see - I have tried a number of 433 devices - (and each one, when clicked or activated makes an orange LED light up on the 2560 board (so I am assuming thats receiving ok). I just never see anything in HA.
I have tried adding these 2 lines to the switches/lights and sensors (and changed it to true) - Still nothing…
platform: rflink
automatic_add: false
Anything I have overlooked or can try to troubleshoot this further? I have connected the Arduino to a PC and run the serial logger and can see the Arduino registering the remote codes its picking up so I am guessing its something in HA that isnt configured correctly?
Hiya, thanks for the reply. I changed my port to the same as yours and received the following in the logs
FileNotFoundError: [Errno 2] No such file or directory: ‘/dev/ttyACM0’
So I assume mine was correct for the port i had it plugged into.
Thanks to Luchtenburger, whos comment put me on the right track.
So as it stands with my original port added (port: /dev/ttyAMA0) , the log files showed that RFlink was connected (however it wasnt working). So I changed to mr LB’s port config and received the error as above in my previous post. I then sequentially went through restarting the Pi and moving the USB to each of the different ports.
On the 3rd try, we had success.
So to confirm, I used
port: /dev/ttyACM0
and then moved the USB around until it worked, I am still unsure why the logs would show the RFlink was connected when using port: /dev/ttyAMA0 however I am happy as we are now up and running.
Good to hear you now have succes.
Sorry I didn’t respond again before (no time available, yesterday evening this forum had technical issues…)
You can find more information about your system (and the USB port adress names) under hass.io -> system -> hardware
You can now see your sensors and switches when you enable autodetect?
Yas weirdly I had looked om System/hardware to get the original port name. Anyway, its working now My tests show the switches showing up (well, lights, until I convert them to swtches) - Next job now my proof of concept works is to get it positioned correctly and look at getting the range out the tx and to cover the house.
Thanks again for your help!
N