IP-Settings

WOLi responds on the IP-address set in the app and the port as set here.  The received data is expected in ASCII format and will be interpreted as text-commands.
These commands consists of the trigger-word,the chosen text for the function and, if necessary, a parameter-text.

Since V0.36 it is possible to transmit multiple commands separated by <lf> (“\n”)

Communication is possible via UDP and/or TCP

The set port is also used for notification and alertDialog feedback, and for acknowledge messages


The trigger-word is used for identification, and WOLi only reacts on commands behind it. If you want a separator you have to specify it within (e.g. wolido: )

To add a  command select Add Command. In the creation dialog you can choose the desired function and set a command text. The command-text may end with a separator.

 

Depending on the function, the sent text command must have a parameter assigned according to the table below.

parameter
WakeLock  1 = ON / 0 = OFF
Notify NotificationID
Title::Message
Sound Sound ID
Alert Alert ID
Cancel Alert Alert ID
Speak Speak ID
Text [max. 512B]
Toast Text [max. 512B]
BrowseTo URL ID
URL (as text)
LaunchApp App ID
SendIntent data(text)
VolumeSystem 0… max
VolumeRing 0… max
VolumeMusic 0… max
VolumeNotification 0… max
ScreenBrightness 0… 255
BatteryLevel

NOTE:  till Version V0.33 you can send ether text or ID to functions Notify, Speak and BrowseTo. For WakeLock you have to send an additional numeric parameter 0 = Off, >0 = On


By selecting an existing command, it can be edited or deleted

udp-settings-edit


Command-List of V0.18:

in version V0.18 the UDP-commandos has been as follows:

Trigger = “wolido:”
WakeLock:0 = “displayoff”
WakeLock:1 = “displayon”
Alert  = “alert:”
Notify = “notify:”
Notify = “notifyid:”
Sound = “notifysound:”
Toast = “toast:”
Browse = “browseto:”
Browse = “browsetoid:”
Speak = “speak:”
Speak = “speakid:”

Note: After an update above version V0.33,  WakeLock expects a parameter! Therefore the sent command has to be modified!