\App\IqrfNetModule\ModelsStandardDaliManager

Tool for managing standard DALI devices in the IQMESH network

Summary

Methods
Properties
Constants
__construct()
send()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\IqrfNetModule\Models\ApiRequest  request, \App\IqrfNetModule\Models\WebSocketClient  wsClient) : 

Constructor

Parameters

\App\IqrfNetModule\Models\ApiRequest request

JSON API request

\App\IqrfNetModule\Models\WebSocketClient wsClient

WebSocket client

Returns

send()

send(  address, int||string|int  commands) : mixed||string|int

Sends DALI commands

Parameters

address

Network device address

int||string|int commands

DALI commands

Throws

\App\IqrfNetModule\Models\DpaErrorException
\App\IqrfNetModule\Models\EmptyResponseException
\App\IqrfNetModule\Models\JsonException
\App\IqrfNetModule\Models\UserErrorException

Returns

mixed||string|int —

API request and response