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)
Clear Bot password
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 fallback handler manager
Get device ID
Get device information
Get MAC address (if available)
Get device name
Get device status (BLE-first, API-fallback)
Lower Bot arm
Raise Bot arm
Check if API is available for this device
Check if BLE is available for this device
Check if password is configured
Poll device status if needed (passive polling)
Returns true if device should be polled (passive polling interval elapsed)
Press (press mode)
Register a custom fallback handler
Optionaloptions: FallbackHandlerOptionsSend multiple commands in sequence (all must succeed) Used for Curtain 3, bulbs, strips, and other multi-step devices
Send multiple commands (returns true if any succeed) Used for fallback operations with complex patterns
Enable or disable circuit breaker
Enable or disable connection intelligence
Enable or disable fallback
Set Bot long-press duration (1-255 deciseconds)
Set or update Bot password
4-character alphanumeric password (case-sensitive)
Enable or disable retry logic
Turn off (switch mode)
Turn on (switch mode)
Unregister a fallback handler
Bot (WoHand) Device - Press or switch button device Supports optional BLE password protection