Get active connection type (property accessor for convenience)
Get device type (property accessor for convenience)
Get device ID (property accessor for convenience)
Get MAC address (property accessor for convenience)
Get device name (property accessor for convenience)
Close curtain (position 100%)
Get active connection type
Get basic device info (universal settings retrieval) Returns: battery, firmware, device-specific settings, etc. Command: 0x57 0x02 (BLE), 'getBasicInfo' (API)
Example usage: const info = await device.getBasicInfo(); console.log(info);
Returns a CommandResult object with device info fields.
Get circuit breaker for API
Get circuit breaker for BLE
Get connection tracker for this device
Get device type
Get extended device information (Curtain 3) Returns device chain information and grouped curtain status
Get fallback handler manager
Get device ID
Get device information
Get MAC address (if available)
Get device name
Check if API is available for this device
Check if BLE is available for this device
Open curtain (position 0%)
Pause curtain movement
Poll device status if needed (passive polling)
Returns true if device should be polled (passive polling interval elapsed)
Register a custom fallback handler
Optionaloptions: FallbackHandlerOptionsSend multiple commands in sequence (all must succeed) Used for Curtain 3 complex operations
Send multiple commands (returns true if any succeed) Used for Curtain 3 fallback operations
Enable or disable circuit breaker
Enable or disable connection intelligence
Enable or disable fallback
Universal mode setting command BLE: 0x57 0x03 [modeByte] API: 'setMode' (if available)
Mode value (number or string, per-device enum recommended)
Example usage: await device.setMode('auto') await device.setMode(1)
Returns a CommandResult object indicating success and mode info.
Set curtain position (0-100%)
Enable or disable retry logic
Unregister a fallback handler
Roller Shade Device Uses same logic as Curtain (motorized window covering)