-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation #15
Comments
I personally created an OH2 dev environment and imported this plugin, made a few changes and then exported the plugin as a jar file to import to my main OH2 installation. There may be a quicker and simpler way to do this. When I get some time next weekend, I'll take a stab at incorporating the outstanding PR and put a copy of the resulting jar file on Dropbox and paste a link here. Ps: its not complicated to do if you follow the guides. |
thx for your answer. |
It can be a good idea to publish Jar file on openhab marketplace |
@johnjore regard |
eh... next weekend is in 4 days... So sorry no, no news. |
ups, sry :-) |
@johnjore : did you have time to make a jar ? |
I did find time to work on this, but there were problems committing the changes, so more work todo before I can create the JAR file. I'll need to wait until the weekend to continue working on this. See PR #17 for details. |
Looks like first half of the changes have been merged. I'll try to find time to process the 2nd half of the changes this weekend and generate a new jar file. |
thx |
A dev version of the binding can be found here: Its based on the yet to be committed PR #18 It worked for me; X10 (DS90) door/window sensors, RTS/Somfy blind, X10 Switch (On/Off) but ymmv. JJ PS: Seen random posts mixing me and cyrilcc. Please keep in mind that I'm not the maintainer of this binding. I just happen to use it and have been able to contribute to it. |
Doesn't work for me
the Rflink works with a simple 'cat' command ... |
Ok finnaly it works by adding
strange that it deosn't needed for mysensors binding. |
Good that you got it working. Maybe your could add some details to the README.md file under configuration, like where the "EXTRA_JAVA_OPTS" is set, as others may also have this issue? I personally have two RfLinks connected to a Raspberry Pi, and then use usbip to "move" the USB ports to a virtual machine, and I've had no issues for months. I can only guess there is something different with the USB-to-Serial chip used by your RfLink, compared to the MySensor one, and the Java library |
had try it with my intertechno switch. will not work things: item: old mqtt-log: |
Your config appears wrong, especially the name of the "thing", Kaku. Re-read the documentation, maybe add the X10 switch from there to your setup and make sure logging is enabled for the module and try again. The log file will show what RfLink is doing, the commands sent to it, and the response received back, for your device and one from the documentation. I suspect this might work; is a copy of the X10 config shown in the example: |
hmm, problem to connect to my rflink 2018-01-27 16:46:41.641 [ERROR] [g.rflink.handler.RfLinkBridgeHandler] - Connection to RFLink transceiver failed: Could not find COM port /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8563431383935101A201-if00 |
RFLINK works now but not my switches :-( .thing: .items: |
Same problem here as others have, in that the protocol is not included as part of the device name. See readme.md file for details. Without this information, the binding does not know what protocol to tell the rflink to use when sending a command. See my example in my post on Jan 27th. There are at least two possible workarounds for this:
Feel free to update the plugin with any of these two to resolve this problem for "everyone". I personally dont have the time as there is a workaround documented in the readme.md file... |
Please, I not find the tutorial for install to openhab2, Can you help me ? Thanks |
I know this is an old topic but I struggled a lot for the installation so I thought I could share my findings with everyone: There is a Travis job here (jar file is automatically built uppon each commit here) Then you need to add openhab user to tty and dialout groups. Finally, update the openhab config file /etc/default/openhab2 by adding EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0" |
Howdo you do this in windows ? |
There is a workaround using the UI to install the mandatory SerialPort
support.
Go to : Paper UI > Addons > Binding
and install the "Serial Button" binding in the list.
This binding adds support for third party remote buttons & triggers using
serial connection, but also installs the SerialPort support to do so ;)
then you can copy the RFLink binding jar into the OpenHab plugin folder
and it should work fine out of the box.
Thomas
Le ven. 14 févr. 2020 à 19:33, Tontze <[email protected]> a écrit :
… I know this is an old topic but I struggled a lot for the installation so
I thought I could share my findings with everyone:
There is a Travis job here (jar file is automatically built uppon each
commit here)
https://github.com/cartemere/org.openhab.binding.rflink/releases
Go to asset and download the jar file. Place it in the openhab add-on
folder
Then you need to add openhab user to tty and dialout groups.
Finally, update the openhab config file /etc/default/openhab2 by adding
EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0"
Howdo you do this in windows ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AKBGQAIIW2LQ5WBACAMOSS3RC3PXJA5CNFSM4EKOEXS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZ7QYA#issuecomment-586414176>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKBGQAPWM2CRWVW2YSMA3M3RC3PXJANCNFSM4EKOEXSQ>
.
|
If using Docker, I added this: |
hello
how can i install and configure this addon?
The text was updated successfully, but these errors were encountered: