nymea-plugins/udpcommander
Michael Zanetti ac6dcf0765 Update translations 2020-03-20 00:18:18 +01:00
..
translations Update translations 2020-03-20 00:18:18 +01:00
README.md Migrate udpcommander plugin documentation 2019-06-21 17:39:11 +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
udpcommander.pro Rename devices to things 2020-03-04 17:52:36 +01: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.