Interface ESPLocalControlAdapterInterface
interface ESPLocalControlAdapterInterface { connect( nodeId: string, baseUrl: string, securtiyType: number, pop?: string, username?: string, options?: ESPLocalControlSessionOptions, ): Promise<Record<string, unknown>>; isConnected(nodeId: string): Promise<boolean>; sendData(nodeId: string, path: string, data: string): Promise<string>;} Methods
connect
connect( nodeId: string, baseUrl: string, securtiyType: number, pop?: string, username?: string, options?: ESPLocalControlSessionOptions,): Promise<Record<string, unknown>> Returns Promise<Record<string, unknown>>
isConnected
isConnected(nodeId: string): Promise<boolean>
sendData
sendData(nodeId: string, path: string, data: string): Promise<string> Parameters
- nodeId: string
- path: string
- data: string
Returns Promise<string>
Local control adapter interface for node communication over LAN.