nymea-plugins/udpcommander
Michael Zanetti 2ac80c0414 Update translations 2019-10-18 13:54:02 +02:00
..
translations Update translations 2019-10-18 13:54:02 +02:00
README.md Migrate udpcommander plugin documentation 2019-06-21 17:39:11 +02:00
devicepluginudpcommander.cpp Update udpcommander plugin 2019-10-18 13:54:02 +02:00
devicepluginudpcommander.h Update udpcommander plugin 2019-10-18 13:54:02 +02:00
devicepluginudpcommander.json Merge PR #100: Rename vendor "guh GmbH" to "nymea" 2019-05-02 11:56:16 +02:00
udpcommander.pro link less unused stuff 2019-04-02 18:28: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.

Example

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.