{"id":36,"date":"2016-09-30T00:20:26","date_gmt":"2016-09-29T22:20:26","guid":{"rendered":"https:\/\/www.asp1.at\/woli\/?p=36"},"modified":"2018-10-17T22:12:14","modified_gmt":"2018-10-17T20:12:14","slug":"ip-settings","status":"publish","type":"post","link":"http:\/\/woli.asp1.at\/en\/ip-settings\/","title":{"rendered":"IP-Settings"},"content":{"rendered":"<p><span style=\"font-family: helvetica,arial,sans-serif;\">WOLi <\/span>responds on the IP-address set in the\u00a0<a href=\"http:\/\/woli.asp1.at\/die-app\/\">app<\/a>\u00a0and the port as set here. \u00a0The received data is expected in ASCII format and will be interpreted as text-commands.<br \/>\nThese commands consists of the trigger-word,the chosen text for the\u00a0<a href=\"http:\/\/woli.asp1.at\/category\/dokumentation\/funktionen\/\">function<\/a>\u00a0and, if necessary, a parameter-text.<!--more--><\/p>\n<p>Since V0.36 it is possible to transmit multiple commands separated by &lt;lf&gt; (&#8220;\\n&#8221;)<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-648 size-full\" src=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/ip-settings.png\" alt=\"\" width=\"361\" height=\"162\" srcset=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/ip-settings.png 361w, http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/ip-settings-300x135.png 300w\" sizes=\"(max-width: 361px) 100vw, 361px\" \/><\/p>\n<p>Communication is possible via UDP and\/or TCP<\/p>\n<p>The set\u00a0port is also used for <a href=\"http:\/\/woli.asp1.at\/notifications\/\">notification <\/a>and <a href=\"http:\/\/woli.asp1.at\/alertdialog\/\">alertDialog<\/a>\u00a0feedback, and for acknowledge messages<\/p>\n<hr \/>\n<p><em>The trigger-w<\/em>ord is used for identification, and\u00a0<span style=\"font-family: helvetica,arial,sans-serif;\">WOLi<\/span>\u00a0only reacts on commands behind it.<em> If you want a separator you have to specify it within (e.g. wolido<strong>:<\/strong> )<\/em><\/p>\n<p>To add a \u00a0command select\u00a0<em>Add Command. In the creation dialog you can choose the desired\u00a0<\/em><a href=\"http:\/\/woli.asp1.at\/category\/dokumentation\/funktionen\/\">function<\/a>\u00a0and set a command text.\u00a0The command-text may end with a separator.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-546 size-full\" src=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-menu-1.png\" width=\"175\" height=\"42\" \/><\/p>\n<p><span style=\"font-family: helvetica,arial,sans-serif;\"><img loading=\"lazy\" class=\"aligncenter wp-image-131 size-full\" src=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-add-2.png\" width=\"504\" height=\"187\" srcset=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-add-2.png 504w, http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-add-2-300x111.png 300w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Depending on the function, the sent text command must have a parameter assigned according to the table below.<\/p>\n<table style=\"height: 404px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<th style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><\/th>\n<th style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><strong>parameter<\/strong><\/th>\n<\/tr>\n<tr style=\"height: 20px;\">\n<td style=\"width: 174px; height: 20px;\"><a href=\"http:\/\/woli.asp1.at\/wakelock\/\">WakeLock<\/a><\/td>\n<td style=\"width: 174px; height: 20px; text-align: left;\" scope=\"row\">\u00a01 = ON \/ 0 = OFF<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/notifications\/\">Notify<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>NotificationID<br \/>\n<\/em>Title::Message<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/sounds\/\">Sound<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>Sound ID<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/alertdialog\/\">Alert<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>Alert ID<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/alertdialog\/\">Cancel Alert<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>Alert ID<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/speak\/\">Speak<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>Speak ID<br \/>\n<\/em>Text [max. 512B]<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/toast-messages\/\">Toast<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">Text [max. 512B]<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/urls\/\">BrowseTo<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>URL ID<br \/>\n<\/em>URL (as text)<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/app-launcher\/\">LaunchApp<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\"><em>App ID<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\"><a href=\"http:\/\/woli.asp1.at\/intent-receiversender\/\">SendIntent<\/a><\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">data(text)<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\">VolumeSystem<\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">0&#8230; max<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\">VolumeRing<\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">0&#8230; max<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px;\">VolumeMusic<\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">0&#8230; max<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px; text-align: left;\">VolumeNotification<\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">0&#8230; max<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; height: 24px; text-align: left;\">ScreenBrightness<\/td>\n<td style=\"width: 174px; height: 24px; text-align: left;\" scope=\"row\">0&#8230; 255<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 174px; text-align: left; height: 24px;\">BatteryLevel<\/td>\n<td style=\"width: 174px; text-align: left; height: 24px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p><strong>NOTE<\/strong>: \u00a0till\u00a0<a href=\"http:\/\/woli.asp1.at\/changelog\/\">Version V0.33<\/a>\u00a0you can send ether text or ID to <a href=\"http:\/\/woli.asp1.at\/category\/dokumentation\/funktionen\/\">functions\u00a0<\/a><a href=\"http:\/\/woli.asp1.at\/notifications\/\">Notify<\/a>, <a href=\"http:\/\/woli.asp1.at\/speak\/\">Speak <\/a>and <a href=\"http:\/\/woli.asp1.at\/urls\/\">BrowseTo<\/a>. For <a href=\"http:\/\/woli.asp1.at\/wakelock\/\">WakeLock <\/a>you have to send an additional numeric parameter 0 =\u00a0Off, <strong>&gt;<\/strong>0 = On<\/p>\n<hr \/>\n<p>By selecting an existing command, it can be edited or deleted<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-132 aligncenter\" src=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-edit.png\" alt=\"udp-settings-edit\" width=\"455\" height=\"159\" srcset=\"http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-edit.png 455w, http:\/\/woli.asp1.at\/wp-content\/uploads\/2016\/09\/udp-settings-edit-300x105.png 300w\" sizes=\"(max-width: 455px) 100vw, 455px\" \/><\/p>\n<hr \/>\n<p><strong>Command-List of V0.18:<\/strong><\/p>\n<p>in version V0.18 the UDP-commandos has been as follows:<\/p>\n<p><em>Trigger\u00a0= &#8220;wolido:&#8221;<\/em><br \/>\n<em>WakeLock<span style=\"color: #008000;\">:0<\/span> = &#8220;displayoff&#8221;<\/em><br \/>\n<em>WakeLock<span style=\"color: #008000;\">:1<\/span> = &#8220;displayon&#8221;<\/em><br \/>\n<em>Alert \u00a0= &#8220;alert:&#8221;<\/em><br \/>\n<em>Notify = &#8220;notify:&#8221;<\/em><br \/>\n<em>Notify\u00a0= &#8220;notifyid:&#8221;<\/em><br \/>\n<em>Sound\u00a0= &#8220;notifysound:&#8221;<\/em><br \/>\n<em>Toast\u00a0= &#8220;toast:&#8221;<\/em><br \/>\n<em>Browse = &#8220;browseto:&#8221;<\/em><br \/>\n<em>Browse = &#8220;browsetoid:&#8221;<\/em><br \/>\n<em>Speak = &#8220;speak:&#8221;<\/em><br \/>\n<em>Speak = &#8220;speakid:&#8221;<\/em><\/p>\n<p>Note: After an update above\u00a0version V0.33, \u00a0WakeLock expects a parameter! Therefore\u00a0the sent command has to be modified!<\/p>","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in German. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.WOLi reagiert auf der in der App\u00a0eingestellten IP-Adresse auf den hier zu w\u00e4hlenden Port.\u00a0 Die Empfangenen Daten werden im ASCII Format erwartet und [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[24,26],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/posts\/36"}],"collection":[{"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":52,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":670,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/posts\/36\/revisions\/670"}],"wp:attachment":[{"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/woli.asp1.at\/en\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}