Global

Type Definitions

MlscRestClientConfig

Description:
  • configuration for MlscRestClient

Source:
Properties:
Name Type Attributes Default Description
effectItemName string

name of the effect Item: Do NOT set state description metadata on that Item, this will be done for you.

url string

full URL for mlsc, e.g. http://127.0.0.1:8080

deviceId string

ID of device inside mlsc, use HTTP GET /api/system/devices to get a list of available devices

colorItemName string <optional>

name of the color Item

dimmerItemName string <optional>

name of the dimmer Item

defaultEffect string <optional>
'effect_gradient'

default effect for the Dimmer Item

refreshInterval number <optional>
15000

refresh interval in milliseconds

switchOnDelay number <optional>

switch-on delay in milliseconds, e.g. useful if power multiple power supplies with different power-on times are used

configuration for MlscRestClient

Type:
  • Object