-
Notifications
You must be signed in to change notification settings - Fork 23
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
[tcpudp] Integration with openHAB3 #89
Comments
SmartHome/J is compatible with openHAB 3. Just install the Repomanager and you can install the TCP binding in your openHAB installation. If you need assistance, please ask. |
Great! Is it possible to get a .jar file (without having to compile it) instead of using the repomanager ? I like to keep my OH installation in "manual" mode (with the .jar files and the config files) so I can move it and update/change the addons manually. Thanks again for the project. |
You can download the .jar for the binding and it’s dependency from maven central https://mvnrepository.com/artifact/org.smarthomej.addons.bundles/org.smarthomej.binding.tcpudp/3.1.1 https://mvnrepository.com/artifact/org.smarthomej.addons.bundles/org.smarthomej.commons/3.1.1 and drop them into your addons folder. And no, they will not be part of the next openHAB release and most probably not of any future „official“ release. There is a reason why this is published here. |
@J-N-K |
The cofiguration is very similar to that of the The main difference is, that the thing is names The main difference for channels is that there is no I do recommend configuring via UI though, it's much less error prone than textal configuration. It also makes sure that all required parameters are set. |
uh, i come from openhab 2 and was forced to upgrade to oh3 because of missing addons because of offline bintray |
I don‘t know much about the „old binding“ and it‘s configuration. Please explain what you want to do, then I can probably help you. |
i have an esp8266 which sends a string (1 or 0) via udp port 17236 to openhab and a rule which looks if its value is 1 or 0 and then do something |
Receiving is not yet implemented, only sending and requesting. It‘s on my list though. You could open an issue for that as feature request, so you‘ll be notified when everything is ready. |
I have successfully installed and configure the binding in OH3. It's fairly easy.
I guess there is a reason for that, but it is not published (at least that I can see). Thanks again! |
I am really struggling with this and it is frustrating as it is the last part that I need to move from OH2.5 I have added the jar files, created thing from the binding and added a channel. but it doesn't initialize and just doesnt work. Ideally I want to link to my items file in some way
|
Looks good. But in your "original" configuration the "ON"-value is Which version are you using? And you should select "WRITE ONLY" as mode (under advanced). Otherwise the channel will be ignored because of the missing |
the relay is dual relay and so 11 and 12 is on off for one and 21 and 22 for the other so yes, was playing with both. |
Works for me and sends 12 if the linked item receives an ON and 22 if the linked item receives an OFF. The thing goes to UNKNOWN immediately after I click on "Save" and turns ONLINE once the first command is send. If it stays in INITIALIZING there is something wrong. Please check the log. Which version of openHAB are you suing and which version if the addon? |
thanks for replying, really appreciate that. |
Which OH 3.1.0? M1, M2, M3, M4 or SNAPSHOT? There is no release of OH 3.1 at the moment. |
snapshot Build #2366 but I tried a few different through versions through openhabian and no difference |
You need the addon-version 3.2.0-SNAPSHOT. Addon Version 3.1.x is only compatible for openHAB 3.0.x, 3.1.0 Milestones 1-3 and snapshort <2305 (see matrix here: https://github.com/smarthomej/addons). You could download 3.2.0-SNAPSHOT here: org.smarthomej.commons-3.2.0-SNAPSHOT.jar I would recommend to wait until tomorrow though, because I merged a bugfix in tcpudp today. |
whooop whoop. thanks J-N-K the updated jar worked perfectly. you are a star! |
Is receiving supported yet? Also is there any support for different character sets per connection with this new version? |
Receiving is supported since version 3.2.3, see https://docs.smarthomej.org/3.2.8/org.smarthomej.binding.tcpudp.html What do you mean by "character set"? Please open a new issue if this is independent from the receiver. |
Hi, thanks for the contribution.
I haven't tried but I would like to use the TCP binding in OH3.
Can it be integrated in OH3 soon?
It looks the coding is finished.
The text was updated successfully, but these errors were encountered: