feat(smarthome): add smart home features and Home Assistant integration (WebSocket protocol, discovery, factories, interfaces)
This commit is contained in:
@@ -13,16 +13,29 @@ import type { IRetryOptions } from './index.js';
|
||||
* All supported feature types
|
||||
*/
|
||||
export type TFeatureType =
|
||||
// Document handling
|
||||
| 'scan' // Can scan documents (eSCL, SANE)
|
||||
| 'print' // Can print documents (IPP, JetDirect)
|
||||
| 'fax' // Can send/receive fax
|
||||
| 'copy' // Can copy (scan + print combined)
|
||||
// Media playback
|
||||
| 'playback' // Can play media (audio/video)
|
||||
| 'volume' // Has volume control
|
||||
// Infrastructure
|
||||
| 'power' // Has power status (UPS, smart plug)
|
||||
| 'snmp' // SNMP queryable
|
||||
// DLNA
|
||||
| 'dlna-render' // DLNA renderer
|
||||
| 'dlna-serve' // DLNA server (content provider)
|
||||
// Smart home (protocol-agnostic: home-assistant, hue, mqtt, etc.)
|
||||
| 'light' // Brightness, color, effects
|
||||
| 'climate' // Temperature, HVAC modes
|
||||
| 'sensor' // Read-only state values
|
||||
| 'camera' // Snapshots, streams
|
||||
| 'cover' // Blinds, garage doors
|
||||
| 'switch' // Binary on/off
|
||||
| 'lock' // Lock/unlock
|
||||
| 'fan' // Speed, oscillation
|
||||
;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user