nymea-plugins/udpcommander
Michael Zanetti 2dd93af328 All Plugins: Fix german translations to also work all german regions, not just Germany 2020-05-26 16:04:20 +02:00
..
translations All Plugins: Fix german translations to also work all german regions, not just Germany 2020-05-26 16:04:20 +02:00
README.md reworked readmes for dynatrace, remotessh, senic, udp-commander, unitec 2020-04-17 15:29:17 +02:00
integrationpluginudpcommander.cpp Rename devices to things 2020-03-04 17:52:36 +01:00
integrationpluginudpcommander.h Rename devices to things 2020-03-04 17:52:36 +01:00
integrationpluginudpcommander.json Rename devices to things 2020-03-04 17:52:36 +01:00
meta.json changed technology to technologies 2020-04-28 14:42:18 +02:00
udpcommander.pro Rename devices to things 2020-03-04 17:52:36 +01:00
udpcommander.svg added technology tag 2020-04-27 11:42:53 +02:00

README.md

UDP commander

This plugin allows to receive UDP packages over a certain UDP port and generates an event if the message content matches the param command.

Note: This plugin is ment to be combined with a rule.

Usage

If you create an UDP Commander on port 2323 and with the command "Light 1 ON", following command will trigger an event in nymea and allows you to connect this event with a rule.

Note: In this example nymea is running on localhost

$ echo "Light 1 ON" | nc -u localhost 2323
OK

This allows you to execute actions in your nymea system when a certain UDP message will be sent to nymea.

If the command will be recognized from nymea, the sender will receive as answere a "OK" string.

Supported Things

  • UDP Commander
    • Send UDP strings
    • Set target IP-address and port
  • UDP Received
    • Received UDP strings
    • Set receiveing port

Requirements

  • The package “nymea-plugin-udpcommander” must be installed
  • The selected port must be available on the host system.

More

https://en.wikipedia.org/wiki/User_Datagram_Protocol