Loxone send UDP to Pokeys

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    Loxone send UDP to Pokeys

    dear loxone community,

    I am desperately trying to implement a connection from a loxone miniserver to a Pokeys57e using UDP packets.

    not via Modbus and not from Pokeys to Loxone using a UDP sender. I specifically need to send data from a virtual output of a Loxone Dimmer block, to a Pokeys device.
    so far I used /dev/udp/<pokeys_ip/port e.g /dev/udp/192.168.1.5/20057/ but nothing works. I sniffed the network with Wireshark but no UDP packets coming out of loxone on that port.

    have anyone succeeded doing this?

    any help or suggestions are welcome!
    thanks
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11250

    #2
    The first version seems ok.
    How about the command?
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar


    • Gast
      Gast kommentierte
      Kommentar bearbeiten
      Hi Christian, what do you mean by the first version? The command is suggested by Loxone documentation "To allow UDP commands, type in the following address and port information/dev/udp/192.168.1.10/7000 , and enable ‘close connection after sending’." which I did, with no luck.
  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    #3
    Ich habe keinen Schrägstrich nach dem Port an meinen UDP-Ausgängen -

    /dev/udp/192.168.1.5/20057

    Im Befehl für ON hat der Wert einen Backslash.

    \x2D

    Verwendung als Digitalausgang aktiviert.

    Ich benutze Pokeys aber nicht speziell.
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

    Kommentar


    • Gast
      Gast kommentierte
      Kommentar bearbeiten
      Hi Tico,
      thanks for pointing this out, the reason why I included the slash "/" is because I want to set a specific command to the Pokeys via UDP packets.
      It is a text command e.g. /BV22, to send the data to a specific pin on the Pokeys itself, that's why I appended the "/" after the port.

      Tried it without the "/", with the text command in the Command for ON field, but still, no packets flowing.
  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    #4
    Das Benutzerhandbuch hat folgende Eigenschaften -

    1. "Network firewalls must allow all traffic on TCP/UDP port 20055."

    2. "The device communicates using TCP and UDP port of 20055. Please ensure the firewall settings allow communication with this port. Also, please make sure that your network card (which you have connected PoKeys56E/57E to) has an IP address assigned with the subnet mask 255.255.255.0 (check it in IPv4 settings in your system)."

    Möglicherweise müssen Sie auch den Befehl für on (BV22) als Hex-Wert senden -

    \x42\x56\x32\x32
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

    Kommentar

    • Gast

      #5
      Tico, thanks for the suggestion, I did add a firewall rule to allow traffic to/from both devices and a specific rule for 20055-57 ports. I did not try sendig a hex word, however. Will do that and will share the results.
      best,
      Dima

      Kommentar

      • Christian Fenzl
        Lebende Foren Legende
        • 31.08.2015
        • 11250

        #6
        /dev/udp/<pokeys_ip/port
        This is what I meant as the first version.

        I don’t use a Pokeys, but documentation on several websites state, setting a Gpio needs a command like
        BV22=1

        (be aware that I have no idea what BV22 means and if this is correct - but setting a pin needs =1 or =0)
        Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

        Kommentar

        Lädt...