Menu

Network

MeduZaPaT

Network

This input plugin will listen to port 16162 for incoming messages and map them to elements / groups.

Adding this inputs section will activate the plugin:

Parameters

This plugin has no special parameters,

Example

<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
    version="1.0"
    type="Input"
    name="Network"
>
        <!-- Example with element -->
        <map
            type="Element"      <<< Set it to Element
            target="P1_BUTTON1" <<< The element to change
            trigger="command1"  <<< The mame event
            color="White"       <<< The color to change
            filter="Normal"     <<< Filter to use
        />
        <!-- Example with group -->
        <map
            type="Group"        <<< Set it to Group.
            target="Group name" <<< The group name.
            trigger="command2"  <<< The mame event.
            color="White"       <<< The color for the group.
            filter="Normal"     <<< The filter for the color.
        />
</LEDSpicer>

Then, if you send the text "command1" or "command2 "throw the network to that port, you will be able to activate that elements:

nc -u localhost 16162
command1
command2
command1|command2
command1|command2

you can send several messages separated by |
The 1st command will turn the element or group ON, the second time will turn it OFF.


Related

Wiki: Input Plugins