requestControlValueChange

Top  Previous  Next

The only way to change the value of a control is to request the change from the device manager system. The request will then be routed to the specific code that controls the control in question. Only if that control accepts the change will the value actually change.

Definition

deviceManager.requestControlValueChange( controlId, value, sender)

Name

Type

Description

controlId

number

The Id of the control to change.

value

string

The value to change the control to.

sender

string

The string identifying the sender of the request.

Example

deviceManager.requestControlValueChange(1, "100", "Web Interface")

Availability

Lua