{"id":2944,"date":"2017-12-11T14:00:54","date_gmt":"2017-12-11T14:00:54","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=2944"},"modified":"2017-12-14T21:48:18","modified_gmt":"2017-12-14T21:48:18","slug":"vscp-howto-dm-send-events","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=2944","title":{"rendered":"#VSCP HOWTO: DM Send events"},"content":{"rendered":"<p>In a previous howto we looked at <a href=\"http:\/\/grodansparadis.com\/wordpress\/?p=2919\">how to link server interfaces<\/a>. Sometimes it is not necessary to establish a full link but just send an event to the rest of the system.\u00a0 A typical example on this can be when an event comes in that signals a special state and you what the system to go perform other steps. Here you can send out the events needed to perform those steps.<\/p>\n<p>There are currently three actions defined for this in the VSCP server<\/p>\n<ul>\n<li><a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event\">Send event<\/a><\/li>\n<li><a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event_conditional\">Send event conditional<\/a><\/li>\n<li><a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event_s_from_file\">Send event(s) from file<\/a><\/li>\n<\/ul>\n<h3 id=\"send_event\" class=\"sectionedit49\">Send event<\/h3>\n<pre class=\"code\">VSCP_DAEMON_ACTION_CODE_SEND_EVENT    0x40\/64<\/pre>\n<p>This actions sends out a specified event and optionally set a boolean variable to true if the send was successful.\u00a0 The full documentation is <a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event\">here<\/a>.<\/p>\n<p>If for example you want to send the event <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class1.information#type_3_0x03_on\">CLASS1.INFORMATION, Type=3, ON<\/a> every second you can use<\/p>\n<pre>&lt;row enable=\"true\" groupid=\"Send event\"&gt;\r\n\r\n&lt;comment&gt;\r\n Periodic event\r\n Send CLASS1:INFORMATION, Type=3 ON event every second\r\n &lt;\/comment&gt;\r\n\r\n&lt;mask priority=\"0\"\r\n class=\"0xFFFF\"\r\n type=\"0xFFFF\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;filter priority=\"0\"\r\n class=\"65535\"\r\n type=\"5\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;action&gt;0x40&lt;\/action&gt;\r\n &lt;param&gt;\r\n 0,20,3,0,,,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15,0,1,35\r\n &lt;\/param&gt;\r\n\r\n&lt;\/row&gt;<\/pre>\n<h3 id=\"send_event_conditional\" class=\"sectionedit50\">Send event conditional<\/h3>\n<pre class=\"code\">VSCP_DAEMON_ACTION_CODE_SEND_EVENT_CONDITIONAL    0x41\/65<\/pre>\n<p>This action works much as the previous action. The difference is that it just send the event if a named VSCP remote variable is true.\u00a0 The full documentation is <a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event_conditional\">here<\/a>.<\/p>\n<p>If you like in the example above want to send the event <a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\/doku.php?id=class1.information#type_3_0x03_on\">CLASS1.INFORMATION, Type=3, ON<\/a> every second you can use<\/p>\n<pre>&lt;row enable=\"true\" groupid=\"Send event conditional\" &gt;\r\n\r\n&lt;comment&gt;\r\n Create variable that hold flag for sent event\r\n when the server is started ( CLASS2.VSCPD, Type=23 ).\r\n &lt;\/comment&gt;\r\n\r\n&lt;mask priority=\"0\"\r\n class=\"0xFFFF\"\r\n type=\"0xFFFF\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;filter priority=\"0\"\r\n class=\"65535\"\r\n type=\"23\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;action&gt;0x50&lt;\/action&gt;\r\n &lt;param&gt;\r\n bsent;bool;false;0;0x777;false\r\n &lt;\/param&gt;\r\n\r\n&lt;\/row&gt;\r\n \r\n &lt;row enable=\"true\" groupid=\"Send event conditional\" &gt;\r\n\r\n&lt;comment&gt;\r\n Create variable that hold flag send conditional event\r\n when the server is started ( CLASS2.VSCPD, Type=23 ).\r\n &lt;\/comment&gt;\r\n\r\n&lt;mask priority=\"0\"\r\n class=\"0xFFFF\"\r\n type=\"0xFFFF\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;filter priority=\"0\"\r\n class=\"65535\"\r\n type=\"23\"\r\n GUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;action&gt;0x50&lt;\/action&gt;\r\n &lt;param&gt;\r\n bevent;bool;false;0;0x777;false\r\n &lt;\/param&gt;\r\n\r\n&lt;\/row&gt;\r\n&lt;row enable=\"true\" groupid=\"Send event conditional\"&gt;\r\n\r\n&lt;comment&gt;\r\nSend event conditional\r\nSend CLASS1:INFORMATION, Type=3 ON event\r\n&lt;\/comment&gt;\r\n\r\n&lt;mask priority=\"0\"\r\nclass=\"0xFFFF\"\r\ntype=\"0xFFFF\"\r\nGUID=\" 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;filter priority=\"0\"\r\nclass=\"65535\"\r\ntype=\"5\"\r\nGUID=\"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;action&gt;0x41&lt;\/action&gt;\r\n&lt;param&gt;\r\nbevent;0,20,3,0,,,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15,0,1,35;bsent\r\n&lt;\/param&gt;\r\n\r\n&lt;\/row&gt;\r\n<\/pre>\n<p>The difference from the previous example is the introduction of the <strong>bEvent<\/strong> remote variable. This variable is initialized to false so before it is set to true no events will be sent.\u00a0 We can look at the variable sin the admin web interface<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2947\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=2947\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?fit=1053%2C437&amp;ssl=1\" data-orig-size=\"1053,437\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2017-12-11 11-20-34\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?fit=580%2C241&amp;ssl=1\" class=\"alignnone size-full wp-image-2947\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?resize=580%2C241\" alt=\"\" width=\"580\" height=\"241\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?w=1053&amp;ssl=1 1053w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?resize=300%2C125&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?resize=768%2C319&amp;ssl=1 768w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-11-20-34.png?resize=1024%2C425&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>Setting it to true<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2949\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=2949\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?fit=976%2C659&amp;ssl=1\" data-orig-size=\"976,659\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2017-12-11 12-12-55\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?fit=580%2C392&amp;ssl=1\" class=\"alignnone size-full wp-image-2949\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?resize=580%2C392\" alt=\"\" width=\"580\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?w=976&amp;ssl=1 976w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?resize=300%2C203&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-12-55.png?resize=768%2C519&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>make the action trigger and the event is sent once a second while the <strong>bEvent<\/strong> variable is set to true.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2950\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=2950\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?fit=1650%2C718&amp;ssl=1\" data-orig-size=\"1650,718\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2017-12-11 12-14-57\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?fit=580%2C253&amp;ssl=1\" class=\"alignnone size-full wp-image-2950\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?resize=580%2C252\" alt=\"\" width=\"580\" height=\"252\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?w=1650&amp;ssl=1 1650w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?resize=300%2C131&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?resize=768%2C334&amp;ssl=1 768w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?resize=1024%2C446&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-12-14-57.png?w=1160&amp;ssl=1 1160w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"send_event_s_from_file\" class=\"sectionedit51\">Send event(s) from file<\/h3>\n<p>The last send event action send one or more events from a file instead of having them specified in the action parameter. This makes it possible to send several events from one trigger.\u00a0 A typical scenario could be to trigger on button press and set a scene by presetting lamps and other things which will be set by the sent out list of events,<\/p>\n<p>This action is fully specified <a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_decision_matrix#send_event_s_from_file\">here<\/a>.\u00a0 The file for the events to send out is XML based.\u00a0 Apart from that it should be easy to set up from the documentation.<\/p>\n<p>The events defined here in a file called <strong>sendevents<\/strong> simulate setting a scenario.<\/p>\n<pre>&lt;events&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=5 TurnOn\r\n Turn on lamps in zone=1, subzon=0\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;5&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;0,1,0&lt;\/data&gt;\r\n &lt;\/event&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=5 TurnOn\r\n Turn on lamps in zone=1, subzon=0\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;5&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;0,1,2&lt;\/data&gt;\r\n &lt;\/event&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=5 TurnOn\r\n Turn on lamps in zone=1, subzon=22\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;5&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;0,1,22&lt;\/data&gt;\r\n &lt;\/event&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=5 TurnOn\r\n Turn on lamps in zone=1, subzon=240\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;5&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;0,1,240&lt;\/data&gt;\r\n &lt;\/event&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=6 TurnOff\r\n Turn off head light lamps in zone=1, subzon=1\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;6&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;0,1,1&lt;\/data&gt;\r\n &lt;\/event&gt;\r\n\r\n&lt;event&gt;\r\n &lt;!-- \r\n CLASS1.CONTROL, Type=20 Dim lamp(s)\r\n Dim lamps in zone=1, subzon=0 at 30%\r\n --&gt;\r\n &lt;head&gt;0&lt;\/head&gt;\r\n &lt;class&gt;30&lt;\/class&gt;\r\n &lt;type&gt;20&lt;\/type&gt;\r\n &lt;guid&gt;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00&lt;\/guid&gt; \r\n &lt;data&gt;30,1,0&lt;\/data&gt;\r\n &lt;\/event&gt; \r\n \r\n&lt;\/events&gt;<\/pre>\n<p>A DM that sets this scenario every minute looks like this<\/p>\n<pre>&lt;?xml version = \"1.0\" encoding = \"UTF-8\" ?&gt;\r\n\r\n&lt;dm&gt;\r\n\r\n&lt;row enable=\"true\" groupid=\"Send events from file\" &gt;\r\n\r\n&lt;comment&gt;\r\n Send events in list sendevents \r\n when the server is started ( CLASS2.VSCPD, Type=23 ).\r\n &lt;\/comment&gt;\r\n\r\n&lt;mask priority=\"0\"\r\n class=\"0xFFFF\"\r\n type=\"0xFFFF\"\r\n GUID=\"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;filter priority=\"0\"\r\n class=\"65535\"\r\n type=\"6\"\r\n GUID=\"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00\" \/&gt;\r\n\r\n&lt;action&gt;0x42&lt;\/action&gt;\r\n &lt;param&gt;\r\n \/srv\/vscp\/sendevents\r\n &lt;\/param&gt;\r\n\r\n&lt;\/row&gt;\r\n \r\n \r\n&lt;\/dm&gt;<\/pre>\n<p>And running it we see in VSCP works that the events get sent<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2953\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=2953\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?fit=1602%2C588&amp;ssl=1\" data-orig-size=\"1602,588\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2017-12-11 14-46-24\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?fit=580%2C213&amp;ssl=1\" class=\"alignnone size-full wp-image-2953\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?resize=580%2C213\" alt=\"\" width=\"580\" height=\"213\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?w=1602&amp;ssl=1 1602w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?resize=300%2C110&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?resize=768%2C282&amp;ssl=1 768w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?resize=1024%2C376&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2017\/12\/Screenshot-from-2017-12-11-14-46-24.png?w=1160&amp;ssl=1 1160w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You can find sample files for tests <a href=\"https:\/\/github.com\/grodansparadis\/vscp\/tree\/master\/tests\/dm\/sendevent\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous howto we looked at how to link server interfaces. Sometimes it is not necessary to establish a full link but just send an event to the rest of the system.\u00a0 A typical example on this can be when an event comes in that signals a special state and you what the system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[53,13],"tags":[],"class_list":["post-2944","post","type-post","status-publish","format-standard","hentry","category-howtos","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-Lu","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2944"}],"version-history":[{"count":4,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2944\/revisions"}],"predecessor-version":[{"id":2954,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2944\/revisions\/2954"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}