Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
S

shasha

@shasha
About
Posts
14
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to receive data on openhab using UDP ? (solved)
    S shasha

    Hello !

    Here is the problem I am facing :

    I have an arduino node communicating using UDP. It sends on port 600 receives on port 500.
    I would like to be able to send and receive data to this node from the openhab.

    Sending data has been straight forward. It works nicely. On the other hand I did not manage to get
    any data from this node. I tried various changes in the config file and in the way to do the incoming
    binding but I still got warnings. Here are some information on my setup :

    items setup :

    String fromUDPnode "fromUDPnode" {udp="<[192.168.0.9:500:'REGEX((.*))']"}
    String toUDPnode "toUDPnode" {udp=">[192.168.0.9:500:'REGEX((.*))']"}
    
    

    config :

    udp:itemsharedconnections=true
    udp:bindingsharedconnections=true
    udp:directionssharedconnections=false
    udp:addressmask=true
    udp:postamble=
    udp:blocking=false
    udp:refreshinterval=250
    udp:port=600
    

    and here are the warnings I get :

     [WARN ] [AbstractDatagramChannelBinding] - Received data 10;59;1;0;23;0
             from an undefined remote end /192.168.0.9:500. We will not process it
     [WARN ] [AbstractDatagramChannelBinding] - No channel is active or defined for the data we received from /192.168.0.9:500. It will be discarded.
    

    seems openhab receives the data but discard them ...

    any clue on how to solve this issue ?

    Thanks

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular