![]() ![]() We can change the last part of the command to be ‘On’ or ‘Off’, depending on different situations. By pressing the ‘Send’ button in the application, the string will use the IP address to find the Miniserver on the network, login and then process the command. In this example we have the default credentials (username: admin, password: admin) and the Push Button in the command which has the name ‘Push-Button’. Below is an example of a 3rd party application* sending an ‘On’ command into the Loxone Miniserver: Now once we have our Push Button added and saved into the Miniserver, the command will need to be sent. PUSH BUTTON Commandīefore sending a command into the system, your Miniserver needs a Push Button function block that will accept the command. Status requests via web service are only possible with inputs and outputs and are not possible with function blocks. Lists all the devices that are connected to the Miniserver, along with status Returns the number of requested outputs and a list of the values at those outputs Returns the value at the requested outputs (either a unique value for all – or a ? for different values. ![]() The following values ?allowed: ‘A’, ‘On’, ‘off’, ‘Off’, ‘Impulse’, ‘Pulse’ or a decimal value ( value: when ‘value’ is not available, the current control value is returned.Outputs can only be used for status requests. control: can be any input or output, real or virtual.In the following example we get the current software version of the Miniserver:Ĭode “200” means the command was accepted and processed. Then the command is executed and the result is displayed in the browser. Some commands require a user with full access. Therefore, when using HTTP (Miniserver Gen.1), the access data should be omitted for the time being when entering a command in the address line.Īfterwards, the access data is requested via a window in the browser: When using HTTP, the access data in the URL is transmitted in plain text!
0 Comments
Leave a Reply. |