Hello @AndrewZ. I like your simple setup. Tried it with my Lacrosse temperature device and it work pretty well.
My real goal however is to control my rollershutter. I know the exact string I need to send to RFlink to control it. Could you help me implemented it in OH using your simple serial setup? For example, to start moving the motor in the up position, I need to send the following command to the serial port connected to RFLink: 10;BrelMotor;f377cc;05;UP;
Currently I’m only able to receive an manage information coming from the serial port when I use the remote control of that rollershutter.
Thanks!
Just perfect! Your example fixed my issue. I merged all the up, down and stop command in the Rollershutter item as you proposed.
One more question about serial link: I don’t know why but the RFLink board is not detected always at the same port. At reset, sometimes RFLink board is linked at /dev/ttyUSB0 and sometimes at /dev/ttyAMA0.
I need to switch item files fromt time to time. Curiously, I have a X10 transceiver, a Milight transceiver and a Zwave stick hookup on the same Raspberry controller and those piece of hardware stayed at the same port all the time. Do you have an idea what cause this issue?
I don’t know what causes this issue.
But you should be able to avoid it by assigning names/aliases to the devices.
See the third bullet point of the section “Linux” here: https://www.openhab.org/docs/administration/serial.html
I did some testing with the RFlink binding on 2.5 M4 and 2.5 M5 in both versions I had issues getting the binding to go online after startup, it was working if the bridge was enabled after openhab had started up. Read the post here
Did anybody else experience the same thing ?
Yep, also with the stable release (2.5.1) I have the same issue. Sending only works once, but I could see serial messages being received by the rflinkconnector.
I’m planning to move my rflink to OpenHAB, currently I’m running it on a seperate rpi with domoticz.
I’ve implemented around 6 different binding for OpenHAB 3, so I have gotten up to speed with converting bindings as well as implementing from scratch.
Anyway, I forked the rflink binding an fixed it for 3.0. I have not have time to test it yet.
I’ll give you the link, feel free to correct any errors and submit them. If it is working I will submitt a pull request to the original owner of the binding.
thanks for the work! Just checked the .jar file and added it to the add-on folder.
No errors during startup, but only after installing the Serial binding. So also for others, looks like you need to have this serial binding installed as well.
Only installed the binding, without connecting to the RfLink itself. Probably will do that this evening.