{"id":2393,"date":"2024-01-04T19:11:06","date_gmt":"2024-01-04T19:11:06","guid":{"rendered":"https:\/\/devicejockey.de\/?page_id=2393"},"modified":"2024-01-29T22:14:41","modified_gmt":"2024-01-29T22:14:41","slug":"remote-options","status":"publish","type":"page","link":"https:\/\/devicejockey.de\/?page_id=2393","title":{"rendered":"Remote Options"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<h1>RemoteOptions<\/h1>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_message message_box_color=&#8221;success&#8221;]To <strong>trigger a command with an event<\/strong>, you need the <strong>RemoteOptions<\/strong>.<br \/>\nWithout further settings an event only controls the item.<\/p>\n<p>The fact that events do not execute commands on their own is an intended behavior. It protects you from feedback loops.<br \/>\nFeedback loops arise when an event triggers a command and this in turn triggers the same event again.<br \/>\nTherefore, pay attention how you link events and commands with each other.<\/p>\n<p>Take a look at how to use RemoteOptions.[\/vc_message][vc_video link=&#8221;https:\/\/youtu.be\/uoI7pm1FrLY&#8221;][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1704458736850{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221;][vc_column][vc_column_text]<\/p>\n<h2>Events execute Commands<\/h2>\n<p>Events and commands can be linked by triggers.<br \/>\nThis way an event executes one or more commands.<\/p>\n<h2>Events only execute Commands<\/h2>\n<p>Events can only execute commands without controlling the item.<\/p>\n<h2>Commands only executed by Events<\/h2>\n<p>Typically, commands are executed when you use the item.<br \/>\nYou can customize this behavior so that a command is only executed by events.[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1703005440459{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221;][vc_column][vc_column_text]<\/p>\n<h2>Triggers<\/h2>\n<p>With triggers, events can execute one or more commands.<\/p>\n<p>They only work within the item and only trigger its own commands.<\/p>\n<p>Each trigger is identified by a number.<\/p>\n<p>Twenty different triggers are available per item.<\/p>\n<p>Commands that have at least one trigger with the same number as in the event are triggered by this event.<\/p>\n<h2>System Event<\/h2>\n<p>The system event is a special trigger.<br \/>\nIt can be used for events triggered by the system.<br \/>\nFor example, a system event is sent after the panel has been loaded or after the interfaces have been switched on.[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1703005440459{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221;][vc_column][vc_column_text]<\/p>\n<h2 id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">RemoteOptions of a command <\/span><\/h2>\n<h3 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">disable<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, the command is not triggered by any event.<br \/>\nThe command is only sent when you use the item and change its status.<\/span><\/p>\n<h3 id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">enable only events<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, this command will no longer be executed by changing the status of the item.<br \/>\nIt is only triggered by an event.<\/span><\/p>\n<h3 id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">enable all triggers<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, all triggers are taken into account regardless of their number and execute this command.<\/span><\/p>\n<h3 id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">System Event<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, System events trigger this command.<\/span><\/p>\n<h3 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">Triggers 1..20<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, the trigger with the corresponding number is taken into account and executes this command. Several different numbers can be selected at the same time.<\/span><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1703005440459{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221;][vc_column][vc_column_text]<\/p>\n<h2 id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">RemoteOptions of an event<\/span><\/h2>\n<h3 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">disable<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, triggers for this event are disabled. No command is executed.<\/span><\/p>\n<h3 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">send all triggers<\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, this event will send all twenty triggers to which the commands can respond. <\/span><\/p>\n<h3 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">disable control <\/span><\/h3>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u00dcbersetzung\" data-ved=\"2ahUKEwjiqevwtsSDAxXp1AIHHdGKCwgQ3ewLegQIBRAQ\"><span class=\"Y2IQFc\" lang=\"en\">If selected, the status of the item will no longer be changed by this event. This means that only commands can be executed.<\/span><\/p>\n<h3>System Event<\/h3>\n<p>If selected, the system event is sent by this event.<\/p>\n<h3>Triggers 1..20<\/h3>\n<p>If selected, this event will send the triggers with the corresponding number.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text] RemoteOptions [\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_message message_box_color=&#8221;success&#8221;]To trigger a command with an event, you need the RemoteOptions. Without further settings an event only controls the item. The fact that events do not execute commands on their own is an intended behavior. It protects you from feedback loops. Feedback loops arise when an event triggers a command and this&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1634,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2393","page","type-page","status-publish","hentry","description-off"],"_links":{"self":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2393"}],"version-history":[{"count":30,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2393\/revisions"}],"predecessor-version":[{"id":2736,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2393\/revisions\/2736"}],"up":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/1634"}],"wp:attachment":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}