A first version of the integration is available. I tested it on my installation with a single motion detector and was able to test it with my neighbors’ devices (doorbell and temperature sensors). At this stage, everything works well.
The integration: GitHub - PhilippeMA/gladys-RFlink: Gladys Assistant external integration to read and control RFlink devices. (accès anticipé BETA : DEV en cours) · GitHub
Prerequisites for exposing the RFlink gateway to external integration (easy / <5mn)
This procedure allows you to expose an RFLink gateway connected via USB on the local network via ser2net, so that it can be used remotely by the integration.
1. Disable current use of RFLink
Before starting, disable the application that is currently using the RFLink gateway directly via USB.
In my case, I disabled the corresponding flow in Node-RED.
2. Install ser2net
On Fedora:
sudo dnf install ser2net
3. Configure ser2net
Edit:
/etc/ser2net/ser2net.yaml
Add at the end:
connection: &rflink
accepter: tcp,2002
enable: on
options:
kickolduser: true
connector: serialdev,
/dev/ttyACM1,
57600n81
To adapt:
/dev/ttyACM1 → the USB port used by your RFLink gateway.
2002 → the TCP port on which you want to expose RFLink.
- 57600: this is the baud rate
In my case, the gateway is on /dev/ttyACM1 and I chose the TCP port 2002 (the baud rate should be the same for you).
4. Enable ser2net at startup
sudo systemctl enable --now ser2net
To check the service:
systemctl status ser2net
Finally, you just need to configure the integration with the correct IP address and the port you have chosen
A particular feature well managed by the integration (my use case)
My motion detector is based on an EV1527 which can be several types of devices… (motion sensor, switch, alarm…). Claude has set up a tool in the settings that allows, once the device is added, to modify its characteristics; my motion detector was detected as a switch. I went into the integration configuration, « Set device type » then selected the device and a drop-down list allowed me to change it to a motion detector (with adjustable tempo!). Just update the device in the discovery section of the integration and it’s done!