Giter VIP home page Giter VIP logo

Comments (3)

J-N-K avatar J-N-K commented on September 18, 2024 1

You can try to download

https://jenkins.smarthomej.org/job/SmartHomeJ%20PR%20Builds/122/artifact/bundles/org.smarthomej.binding.tcpudp/target/org.smarthomej.binding.tcpudp-3.1.2-SNAPSHOT.jar

and

https://jenkins.smarthomej.org/job/SmartHomeJ%20PR%20Builds/122/artifact/bundles/org.smarthomej.commons/target/org.smarthomej.commons-3.1.2-SNAPSHOT.jar

The documentation can be found here:

https://github.com/J-N-K/addons/tree/tcpudp-receiver/bundles/org.smarthomej.binding.tcpudp

If there is something unclear, please feel free to ask.

from addons.

J-N-K avatar J-N-K commented on September 18, 2024 1

I have added your last example to the documentation. Thanks for testing.

from addons.

WiredLife avatar WiredLife commented on September 18, 2024

Can you help me to create the things file? I have no clue without an example how it looks like.
And is it recommended to upgrade to OH 3.1?

Edit:
Is this correct?
Thing tcpudp:receiver:fschlaf "Fenster Schlafzimmer R" [ localAddress="0.0.0.0", port="17236", protocol="UDP" ] {
Channels:
Type receiver-string : string "String"
}

String Fenster_Schlafzimmer_R (gPersist) { channel="tcpudp:receiver:fschlaf:string" }

Edit2:
Yep, it works flawlessly. Thank you very very much, i really appreciate it!
Maybe add an exaple like this to the documentation to help others to create a things and item entry ;)

Edit3:
Ok one problem, if i do the following:
Thing tcpudp:receiver:bewgtrp "Bewegungsmelder Treppenhaus" [ localAddress="0.0.0.0", port="17236", protocol="UDP" ] {
Channels:
Type receiver-string : string "String" [ addressFilter="192.168.179.41:*" ]
}

Thing tcpudp:receiver:fschlaf "Fenster Schlafzimmer RR" [ localAddress="0.0.0.0", port="17236", protocol="UDP" ] {
Channels:
Type receiver-string : string "String" [ addressFilter="192.168.179.31:*" ]
}

it starts two listener and the one with "Bewegungsmelder Treppenhaus" does not work, maybe because its the second i added
i want to use only one port for all the things/items like in the original tcp1 binding

Edit4:
Ok my fault, all works perfect with this:
Thing tcpudp:receiver:string "TCPUDP String" [ localAddress="0.0.0.0", port="17236", protocol="UDP" ] {
Channels:
Type receiver-string : bewgtrp "Bewegungsmelder Treppenhaus" [ addressFilter="192.168.179.41:" ]
Type receiver-string : fschlaf "Fenster Schlafzimmer R" [ addressFilter="192.168.179.31:
" ]
}

from addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.