feat(smarthome): add smart home features and Home Assistant integration (WebSocket protocol, discovery, factories, interfaces)

This commit is contained in:
2026-01-09 16:20:54 +00:00
parent 7bcec69658
commit 38a6e5c250
23 changed files with 4786 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ import nodeSsdpModule from 'node-ssdp';
import * as netSnmp from 'net-snmp';
import * as sonos from 'sonos';
import * as castv2Client from 'castv2-client';
import WebSocket from 'ws';
// node-ssdp exports Client/Server under default in ESM
const nodeSsdp = {
@@ -37,4 +38,4 @@ const nodeSsdp = {
Server: nodeSsdpModule.Server,
};
export { bonjourService, ipp, nodeSsdp, netSnmp, sonos, castv2Client };
export { bonjourService, ipp, nodeSsdp, netSnmp, sonos, castv2Client, WebSocket };