node-switchbot 4.0.0-beta.10 → 4.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ble.d.ts +10 -0
- package/dist/ble.d.ts.map +1 -1
- package/dist/ble.js +69 -3
- package/dist/ble.js.map +1 -1
- package/dist/devices/index.d.ts +32 -0
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +32 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/wo-ai-hub.d.ts +6 -0
- package/dist/devices/wo-ai-hub.d.ts.map +1 -0
- package/dist/devices/wo-ai-hub.js +7 -0
- package/dist/devices/wo-ai-hub.js.map +1 -0
- package/dist/devices/wo-air-purifier-pm25.d.ts +6 -0
- package/dist/devices/wo-air-purifier-pm25.d.ts.map +1 -0
- package/dist/devices/wo-air-purifier-pm25.js +7 -0
- package/dist/devices/wo-air-purifier-pm25.js.map +1 -0
- package/dist/devices/wo-air-purifier.d.ts +17 -0
- package/dist/devices/wo-air-purifier.d.ts.map +1 -1
- package/dist/devices/wo-air-purifier.js +74 -9
- package/dist/devices/wo-air-purifier.js.map +1 -1
- package/dist/devices/wo-art-frame.d.ts +8 -0
- package/dist/devices/wo-art-frame.d.ts.map +1 -0
- package/dist/devices/wo-art-frame.js +12 -0
- package/dist/devices/wo-art-frame.js.map +1 -0
- package/dist/devices/wo-blind-tilt.d.ts +1 -0
- package/dist/devices/wo-blind-tilt.d.ts.map +1 -1
- package/dist/devices/wo-blind-tilt.js +41 -2
- package/dist/devices/wo-blind-tilt.js.map +1 -1
- package/dist/devices/wo-bulb.d.ts +27 -1
- package/dist/devices/wo-bulb.d.ts.map +1 -1
- package/dist/devices/wo-bulb.js +124 -34
- package/dist/devices/wo-bulb.js.map +1 -1
- package/dist/devices/wo-candle-warmer-lamp.d.ts +6 -0
- package/dist/devices/wo-candle-warmer-lamp.d.ts.map +1 -0
- package/dist/devices/wo-candle-warmer-lamp.js +7 -0
- package/dist/devices/wo-candle-warmer-lamp.js.map +1 -0
- package/dist/devices/wo-circulator-fan.d.ts +8 -0
- package/dist/devices/wo-circulator-fan.d.ts.map +1 -0
- package/dist/devices/wo-circulator-fan.js +12 -0
- package/dist/devices/wo-circulator-fan.js.map +1 -0
- package/dist/devices/wo-climate-panel.d.ts +8 -0
- package/dist/devices/wo-climate-panel.d.ts.map +1 -0
- package/dist/devices/wo-climate-panel.js +12 -0
- package/dist/devices/wo-climate-panel.js.map +1 -0
- package/dist/devices/wo-curtain.d.ts +17 -1
- package/dist/devices/wo-curtain.d.ts.map +1 -1
- package/dist/devices/wo-curtain.js +106 -2
- package/dist/devices/wo-curtain.js.map +1 -1
- package/dist/devices/wo-floor-lamp.d.ts +8 -0
- package/dist/devices/wo-floor-lamp.d.ts.map +1 -0
- package/dist/devices/wo-floor-lamp.js +12 -0
- package/dist/devices/wo-floor-lamp.js.map +1 -0
- package/dist/devices/wo-garage-door-opener.d.ts +8 -0
- package/dist/devices/wo-garage-door-opener.d.ts.map +1 -0
- package/dist/devices/wo-garage-door-opener.js +12 -0
- package/dist/devices/wo-garage-door-opener.js.map +1 -0
- package/dist/devices/wo-hubmini-matter.d.ts +8 -0
- package/dist/devices/wo-hubmini-matter.d.ts.map +1 -0
- package/dist/devices/wo-hubmini-matter.js +12 -0
- package/dist/devices/wo-hubmini-matter.js.map +1 -0
- package/dist/devices/wo-humi.d.ts +16 -0
- package/dist/devices/wo-humi.d.ts.map +1 -1
- package/dist/devices/wo-humi.js +39 -0
- package/dist/devices/wo-humi.js.map +1 -1
- package/dist/devices/wo-humi2.d.ts.map +1 -1
- package/dist/devices/wo-humi2.js.map +1 -1
- package/dist/devices/wo-keypad-vision-pro.d.ts +18 -0
- package/dist/devices/wo-keypad-vision-pro.d.ts.map +1 -0
- package/dist/devices/wo-keypad-vision-pro.js +15 -0
- package/dist/devices/wo-keypad-vision-pro.js.map +1 -0
- package/dist/devices/wo-keypad-vision.d.ts +8 -0
- package/dist/devices/wo-keypad-vision.d.ts.map +1 -0
- package/dist/devices/wo-keypad-vision.js +12 -0
- package/dist/devices/wo-keypad-vision.js.map +1 -0
- package/dist/devices/wo-lock-lite.d.ts +7 -0
- package/dist/devices/wo-lock-lite.d.ts.map +1 -0
- package/dist/devices/wo-lock-lite.js +11 -0
- package/dist/devices/wo-lock-lite.js.map +1 -0
- package/dist/devices/wo-lock-pro-wifi.d.ts +7 -0
- package/dist/devices/wo-lock-pro-wifi.d.ts.map +1 -0
- package/dist/devices/wo-lock-pro-wifi.js +11 -0
- package/dist/devices/wo-lock-pro-wifi.js.map +1 -0
- package/dist/devices/wo-lock-vision-pro.d.ts +7 -0
- package/dist/devices/wo-lock-vision-pro.d.ts.map +1 -0
- package/dist/devices/wo-lock-vision-pro.js +11 -0
- package/dist/devices/wo-lock-vision-pro.js.map +1 -0
- package/dist/devices/wo-lock-vision.d.ts +7 -0
- package/dist/devices/wo-lock-vision.d.ts.map +1 -0
- package/dist/devices/wo-lock-vision.js +11 -0
- package/dist/devices/wo-lock-vision.js.map +1 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.d.ts +6 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.d.ts.map +1 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.js +7 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.js.map +1 -0
- package/dist/devices/wo-relay-switch-1.d.ts +14 -0
- package/dist/devices/wo-relay-switch-1.d.ts.map +1 -1
- package/dist/devices/wo-relay-switch-1.js +47 -10
- package/dist/devices/wo-relay-switch-1.js.map +1 -1
- package/dist/devices/wo-relay-switch-2pm.d.ts.map +1 -1
- package/dist/devices/wo-relay-switch-2pm.js +4 -6
- package/dist/devices/wo-relay-switch-2pm.js.map +1 -1
- package/dist/devices/wo-remote-with-screen.d.ts +6 -0
- package/dist/devices/wo-remote-with-screen.d.ts.map +1 -0
- package/dist/devices/wo-remote-with-screen.js +7 -0
- package/dist/devices/wo-remote-with-screen.js.map +1 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.d.ts +6 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.d.ts.map +1 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.js +7 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.js.map +1 -0
- package/dist/devices/wo-rgbicww-floor-lamp.d.ts +8 -0
- package/dist/devices/wo-rgbicww-floor-lamp.d.ts.map +1 -0
- package/dist/devices/wo-rgbicww-floor-lamp.js +12 -0
- package/dist/devices/wo-rgbicww-floor-lamp.js.map +1 -0
- package/dist/devices/wo-rgbicww-strip-light.d.ts +8 -0
- package/dist/devices/wo-rgbicww-strip-light.d.ts.map +1 -0
- package/dist/devices/wo-rgbicww-strip-light.js +12 -0
- package/dist/devices/wo-rgbicww-strip-light.js.map +1 -0
- package/dist/devices/wo-roller-shade.d.ts +8 -0
- package/dist/devices/wo-roller-shade.d.ts.map +1 -0
- package/dist/devices/wo-roller-shade.js +12 -0
- package/dist/devices/wo-roller-shade.js.map +1 -0
- package/dist/devices/wo-smart-thermostat-radiator.d.ts +8 -0
- package/dist/devices/wo-smart-thermostat-radiator.d.ts.map +1 -0
- package/dist/devices/wo-smart-thermostat-radiator.js +12 -0
- package/dist/devices/wo-smart-thermostat-radiator.js.map +1 -0
- package/dist/devices/wo-strip-light-3.d.ts +8 -0
- package/dist/devices/wo-strip-light-3.d.ts.map +1 -0
- package/dist/devices/wo-strip-light-3.js +12 -0
- package/dist/devices/wo-strip-light-3.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-plus.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-plus.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-plus.js +11 -0
- package/dist/devices/wo-vacuum-k10-plus.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.js +11 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-pro.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro.js +11 -0
- package/dist/devices/wo-vacuum-k10-pro.js.map +1 -0
- package/dist/devices/wo-vacuum-k11-plus.d.ts +7 -0
- package/dist/devices/wo-vacuum-k11-plus.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k11-plus.js +11 -0
- package/dist/devices/wo-vacuum-k11-plus.js.map +1 -0
- package/dist/devices/wo-vacuum-k20.d.ts +7 -0
- package/dist/devices/wo-vacuum-k20.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k20.js +11 -0
- package/dist/devices/wo-vacuum-k20.js.map +1 -0
- package/dist/devices/wo-vacuum-s10.d.ts +7 -0
- package/dist/devices/wo-vacuum-s10.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-s10.js +11 -0
- package/dist/devices/wo-vacuum-s10.js.map +1 -0
- package/dist/devices/wo-vacuum-s20.d.ts +7 -0
- package/dist/devices/wo-vacuum-s20.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-s20.js +11 -0
- package/dist/devices/wo-vacuum-s20.js.map +1 -0
- package/dist/devices/wo-vacuum.d.ts +44 -0
- package/dist/devices/wo-vacuum.d.ts.map +1 -0
- package/dist/devices/wo-vacuum.js +117 -0
- package/dist/devices/wo-vacuum.js.map +1 -0
- package/dist/devices/wo-water-detector.d.ts +6 -0
- package/dist/devices/wo-water-detector.d.ts.map +1 -0
- package/dist/devices/wo-water-detector.js +7 -0
- package/dist/devices/wo-water-detector.js.map +1 -0
- package/dist/errors.d.ts +20 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +31 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/settings.d.ts +11 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +68 -5
- package/dist/settings.js.map +1 -1
- package/dist/switchbot.d.ts.map +1 -1
- package/dist/switchbot.js +69 -1
- package/dist/switchbot.js.map +1 -1
- package/dist/types/device.d.ts +44 -0
- package/dist/types/device.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +9 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/relay-encryption.d.ts +10 -0
- package/dist/utils/relay-encryption.d.ts.map +1 -0
- package/dist/utils/relay-encryption.js +23 -0
- package/dist/utils/relay-encryption.js.map +1 -0
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +49 -6
- package/dist/utils/retry.js.map +1 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/APIError.html +2 -2
- package/docs/classes/APINotAvailableError.html +2 -2
- package/docs/classes/BLEConnection.html +11 -9
- package/docs/classes/BLENotAvailableError.html +2 -2
- package/docs/classes/BLEScanner.html +9 -9
- package/docs/classes/CommandFailedError.html +2 -2
- package/docs/classes/ConnectionTimeoutError.html +2 -2
- package/docs/classes/DeviceManager.html +13 -13
- package/docs/classes/DeviceNotFoundError.html +2 -2
- package/docs/classes/DeviceOverrideStateDuringConnection.html +28 -28
- package/docs/classes/DiscoveryError.html +2 -2
- package/docs/classes/OpenAPIClient.html +24 -24
- package/docs/classes/SequenceDevice.html +29 -29
- package/docs/classes/SwitchBot.html +11 -11
- package/docs/classes/SwitchBotDevice.html +28 -28
- package/docs/classes/SwitchBotError.html +2 -2
- package/docs/classes/ValidationError.html +2 -2
- package/docs/classes/WoAIHub.html +56 -0
- package/docs/classes/WoAirPurifier.html +38 -33
- package/docs/classes/WoAirPurifierPM25.html +56 -0
- package/docs/classes/WoAirPurifierTable.html +38 -33
- package/docs/classes/WoArtFrame.html +82 -0
- package/docs/classes/WoBlindTilt.html +36 -34
- package/docs/classes/WoBulb.html +46 -35
- package/docs/classes/WoCandleWarmerLamp.html +56 -0
- package/docs/classes/WoCeilingLight.html +46 -35
- package/docs/classes/WoCirculatorFan.html +71 -0
- package/docs/classes/WoClimatePanel.html +71 -0
- package/docs/classes/WoContact.html +28 -28
- package/docs/classes/WoCurtain.html +43 -32
- package/docs/classes/WoFloorLamp.html +82 -0
- package/docs/classes/WoGarageDoorOpener.html +67 -0
- package/docs/classes/WoHand.html +38 -38
- package/docs/classes/WoHub2.html +28 -28
- package/docs/classes/WoHub3.html +28 -28
- package/docs/classes/WoHubMiniMatter.html +56 -0
- package/docs/classes/WoHumi.html +40 -32
- package/docs/classes/WoHumi2.html +40 -32
- package/docs/classes/WoIOSensorTH.html +28 -28
- package/docs/classes/WoKeypad.html +28 -28
- package/docs/classes/WoKeypadVision.html +56 -0
- package/docs/classes/WoKeypadVisionPro.html +56 -0
- package/docs/classes/WoLeak.html +28 -28
- package/docs/classes/WoPanTiltCamPlus3K.html +56 -0
- package/docs/classes/WoPlugMiniJP.html +31 -31
- package/docs/classes/WoPlugMiniUS.html +31 -31
- package/docs/classes/WoPresence.html +28 -28
- package/docs/classes/WoRGBICBulb.html +93 -0
- package/docs/classes/WoRGBICNeonWireRopeLight.html +56 -0
- package/docs/classes/WoRGBICWWFloorLamp.html +93 -0
- package/docs/classes/WoRGBICWWStripLight.html +93 -0
- package/docs/classes/WoRelaySwitch1.html +35 -32
- package/docs/classes/WoRelaySwitch1PM.html +35 -32
- package/docs/classes/WoRelaySwitch2PM.html +71 -0
- package/docs/classes/WoRemote.html +28 -28
- package/docs/classes/WoRemoteWithScreen.html +56 -0
- package/docs/classes/WoRollerShade.html +75 -0
- package/docs/classes/WoSensorTH.html +28 -28
- package/docs/classes/WoSensorTHPlus.html +28 -28
- package/docs/classes/WoSensorTHPro.html +28 -28
- package/docs/classes/WoSensorTHProCO2.html +28 -28
- package/docs/classes/WoSmartLock.html +31 -31
- package/docs/classes/WoSmartLockLite.html +64 -0
- package/docs/classes/WoSmartLockPro.html +33 -33
- package/docs/classes/WoSmartLockProWiFi.html +68 -0
- package/docs/classes/WoSmartLockVision.html +64 -0
- package/docs/classes/WoSmartLockVisionPro.html +68 -0
- package/docs/classes/WoSmartThermostatRadiator.html +71 -0
- package/docs/classes/WoStrip.html +46 -35
- package/docs/classes/WoStripLight3.html +82 -0
- package/docs/classes/WoVacuum.html +71 -0
- package/docs/classes/WoVacuumK10Plus.html +71 -0
- package/docs/classes/WoVacuumK10Pro.html +71 -0
- package/docs/classes/WoVacuumK10ProCombo.html +71 -0
- package/docs/classes/WoVacuumK11Plus.html +71 -0
- package/docs/classes/WoVacuumK20.html +71 -0
- package/docs/classes/WoVacuumS10.html +71 -0
- package/docs/classes/WoVacuumS20.html +71 -0
- package/docs/classes/WoWaterDetector.html +56 -0
- package/docs/enums/LogLevel.html +2 -2
- package/docs/enums/SwitchBotBLEModel.html +2 -2
- package/docs/enums/SwitchBotBLEModelName.html +2 -2
- package/docs/functions/updateBaseURL.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/APICommandRequest.html +2 -2
- package/docs/interfaces/APICommandResponse.html +2 -2
- package/docs/interfaces/APIDevice.html +2 -2
- package/docs/interfaces/APIDeviceStatus.html +2 -2
- package/docs/interfaces/APIErrorResponse.html +2 -2
- package/docs/interfaces/APIResponse.html +2 -2
- package/docs/interfaces/AirPurifierCommands.html +3 -2
- package/docs/interfaces/AirPurifierServiceData.html +14 -14
- package/docs/interfaces/AirPurifierStatus.html +7 -7
- package/docs/interfaces/BLEAdvertisement.html +2 -2
- package/docs/interfaces/BLEScanOptions.html +5 -5
- package/docs/interfaces/BLEServiceData.html +14 -14
- package/docs/interfaces/BlindTiltCommands.html +2 -2
- package/docs/interfaces/BlindTiltServiceData.html +14 -14
- package/docs/interfaces/BlindTiltStatus.html +7 -6
- package/docs/interfaces/BotCommands.html +2 -2
- package/docs/interfaces/BotServiceData.html +14 -14
- package/docs/interfaces/BotStatus.html +6 -6
- package/docs/interfaces/BulbCommands.html +4 -2
- package/docs/interfaces/BulbServiceData.html +14 -14
- package/docs/interfaces/BulbStatus.html +6 -6
- package/docs/interfaces/CeilingLightCommands.html +4 -2
- package/docs/interfaces/CeilingLightServiceData.html +14 -14
- package/docs/interfaces/CeilingLightStatus.html +6 -6
- package/docs/interfaces/CommandResult.html +6 -6
- package/docs/interfaces/ContactServiceData.html +14 -14
- package/docs/interfaces/ContactStatus.html +6 -6
- package/docs/interfaces/CurtainCommands.html +5 -2
- package/docs/interfaces/CurtainExtendedInfo.html +4 -0
- package/docs/interfaces/CurtainServiceData.html +14 -14
- package/docs/interfaces/CurtainStatus.html +6 -6
- package/docs/interfaces/DeviceInfo.html +18 -18
- package/docs/interfaces/DeviceListResponse.html +2 -2
- package/docs/interfaces/DeviceStatus.html +6 -6
- package/docs/interfaces/DiscoveryOptions.html +7 -7
- package/docs/interfaces/HubServiceData.html +14 -14
- package/docs/interfaces/HubStatus.html +6 -6
- package/docs/interfaces/HumidifierCommands.html +6 -2
- package/docs/interfaces/HumidifierServiceData.html +15 -15
- package/docs/interfaces/HumidifierStatus.html +6 -6
- package/docs/interfaces/KeypadStatus.html +6 -6
- package/docs/interfaces/LeakServiceData.html +14 -14
- package/docs/interfaces/LeakStatus.html +6 -6
- package/docs/interfaces/LockCommands.html +2 -2
- package/docs/interfaces/LockServiceData.html +15 -15
- package/docs/interfaces/LockStatus.html +6 -6
- package/docs/interfaces/MeterServiceData.html +14 -14
- package/docs/interfaces/MeterStatus.html +6 -6
- package/docs/interfaces/MotionServiceData.html +14 -14
- package/docs/interfaces/MotionStatus.html +6 -6
- package/docs/interfaces/PlugCommands.html +2 -2
- package/docs/interfaces/PlugServiceData.html +14 -14
- package/docs/interfaces/PlugStatus.html +6 -6
- package/docs/interfaces/PresenceServiceData.html +14 -14
- package/docs/interfaces/PresenceStatus.html +6 -6
- package/docs/interfaces/RelaySwitchCommands.html +2 -2
- package/docs/interfaces/RelaySwitchServiceData.html +14 -14
- package/docs/interfaces/RelaySwitchStatus.html +6 -6
- package/docs/interfaces/RemoteStatus.html +6 -6
- package/docs/interfaces/SceneListResponse.html +2 -2
- package/docs/interfaces/StripCommands.html +4 -2
- package/docs/interfaces/StripServiceData.html +14 -14
- package/docs/interfaces/StripStatus.html +6 -6
- package/docs/interfaces/SwitchBotConfig.html +15 -15
- package/docs/interfaces/VacuumCommands.html +8 -0
- package/docs/interfaces/VacuumStatus.html +16 -0
- package/docs/interfaces/WebhookConfig.html +2 -2
- package/docs/interfaces/WebhookDetails.html +2 -2
- package/docs/interfaces/WebhookQueryResponse.html +2 -2
- package/docs/interfaces/WebhookSetupResponse.html +2 -2
- package/docs/modules.html +1 -1
- package/docs/types/ConnectionType.html +1 -1
- package/docs/types/PhysicalDeviceType.html +1 -1
- package/docs/types/VirtualDeviceType.html +1 -1
- package/docs/variables/urls.html +1 -1
- package/package.json +4 -4
- package/todo/PYSWITCHBOT_COMPARISON.md +56 -56
- package/todo/completed.md +336 -0
- package/todo/todo.md +57 -114
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-lock-vision.d.ts","sourceRoot":"","sources":["../../src/devices/wo-lock-vision.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-lock-vision.ts: SwitchBot v4.0.0 - Smart Lock Vision Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoSmartLock } from './wo-lock.js';
|
|
6
|
+
/**
|
|
7
|
+
* Smart Lock Vision Device (with camera)
|
|
8
|
+
*/
|
|
9
|
+
export class WoSmartLockVision extends WoSmartLock {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-lock-vision.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-lock-vision.js","sourceRoot":"","sources":["../../src/devices/wo-lock-vision.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-pan-tilt-cam-plus-3k.d.ts","sourceRoot":"","sources":["../../src/devices/wo-pan-tilt-cam-plus-3k.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,qBAAa,kBAAmB,SAAQ,eAAe;IAC/C,SAAS,IAAI,OAAO,CAAC,YAAY,CAAC;CAGzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-pan-tilt-cam-plus-3k.js","sourceRoot":"","sources":["../../src/devices/wo-pan-tilt-cam-plus-3k.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAA;IACjE,CAAC;CACF"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import type { RelaySwitchCommands, RelaySwitchStatus } from '../types/device.js';
|
|
2
|
+
import { Buffer } from 'node:buffer';
|
|
2
3
|
import { SequenceDevice } from './sequence-device.js';
|
|
3
4
|
/**
|
|
4
5
|
* Relay Switch 1 Device (1-channel)
|
|
5
6
|
*/
|
|
6
7
|
export declare class WoRelaySwitch1 extends SequenceDevice implements RelaySwitchCommands {
|
|
8
|
+
/**
|
|
9
|
+
* Returns true if this relay switch requires BLE encryption (encryptionKey present)
|
|
10
|
+
*/
|
|
11
|
+
private needsEncryption;
|
|
12
|
+
/**
|
|
13
|
+
* Encrypts a command if encryption is required for this device
|
|
14
|
+
*/
|
|
15
|
+
protected maybeEncryptCommand(cmd: Buffer | readonly number[]): Buffer;
|
|
16
|
+
/**
|
|
17
|
+
* Verifies the BLE encryption key by attempting a status read with encryption.
|
|
18
|
+
* Throws an error if the key is invalid or the device rejects the command.
|
|
19
|
+
*/
|
|
20
|
+
verifyEncryptionKey(): Promise<boolean>;
|
|
7
21
|
private parseRelayPowerResponse;
|
|
8
22
|
private getRelayPowerMonitoring;
|
|
9
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wo-relay-switch-1.d.ts","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-1.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wo-relay-switch-1.d.ts","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAIpC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD;;GAEG;AACH,qBAAa,cAAe,SAAQ,cAAe,YAAW,mBAAmB;IAC/E;;OAEG;IACH,OAAO,CAAC,eAAe;IAIvB;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,MAAM;IAStE;;;OAGG;IACG,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;IAiB7C,OAAO,CAAC,uBAAuB;YAmBjB,uBAAuB;IAiBrC;;OAEG;IACG,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAMhC;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC;IAMjC;;OAEG;IACG,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAMhC;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,iBAAiB,CAAC;CA0C9C"}
|
|
@@ -1,18 +1,52 @@
|
|
|
1
|
-
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
-
*
|
|
3
|
-
* devices/wo-relay-switch-1.ts: SwitchBot v4.0.0 - Relay Switch 1 Device
|
|
4
|
-
*/
|
|
5
1
|
import { Buffer } from 'node:buffer';
|
|
6
2
|
import { DEVICE_COMMANDS } from '../settings.js';
|
|
3
|
+
import { validateResponseLength } from '../utils/index.js';
|
|
4
|
+
import { encryptRelayCommandIfNeeded } from '../utils/relay-encryption.js';
|
|
7
5
|
import { SequenceDevice } from './sequence-device.js';
|
|
8
6
|
/**
|
|
9
7
|
* Relay Switch 1 Device (1-channel)
|
|
10
8
|
*/
|
|
11
9
|
export class WoRelaySwitch1 extends SequenceDevice {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Returns true if this relay switch requires BLE encryption (encryptionKey present)
|
|
12
|
+
*/
|
|
13
|
+
needsEncryption() {
|
|
14
|
+
return !!this.info.encryptionKey;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Encrypts a command if encryption is required for this device
|
|
18
|
+
*/
|
|
19
|
+
maybeEncryptCommand(cmd) {
|
|
20
|
+
// Convert readonly arrays to mutable arrays for compatibility
|
|
21
|
+
const arr = Buffer.isBuffer(cmd) ? cmd : Buffer.from([...cmd]);
|
|
22
|
+
if (!this.needsEncryption()) {
|
|
23
|
+
return arr;
|
|
24
|
+
}
|
|
25
|
+
return encryptRelayCommandIfNeeded(arr, this.info.encryptionKey, this.info.encryptionIV);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Verifies the BLE encryption key by attempting a status read with encryption.
|
|
29
|
+
* Throws an error if the key is invalid or the device rejects the command.
|
|
30
|
+
*/
|
|
31
|
+
async verifyEncryptionKey() {
|
|
32
|
+
if (!this.needsEncryption()) {
|
|
33
|
+
throw new Error('No encryptionKey set for this device');
|
|
15
34
|
}
|
|
35
|
+
try {
|
|
36
|
+
// Try to get status with encryption; if the key is wrong, device will reject or return invalid data
|
|
37
|
+
const command = this.maybeEncryptCommand([...DEVICE_COMMANDS.COMMON.POWER_ON]);
|
|
38
|
+
const result = await this.sendCommand(command, 'verifyEncryptionKey');
|
|
39
|
+
if (!result.success) {
|
|
40
|
+
throw new Error('Encryption key verification failed: device did not accept encrypted command');
|
|
41
|
+
}
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
catch (err) {
|
|
45
|
+
throw new Error(`Encryption key verification failed: ${err?.message || err}`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
parseRelayPowerResponse(buffer) {
|
|
49
|
+
validateResponseLength(buffer, 11, 'WoRelaySwitch1:parseRelayPowerResponse');
|
|
16
50
|
// Best-effort parsing aligned with relay basic-info responses.
|
|
17
51
|
const voltageRaw = buffer.readUInt16BE(5);
|
|
18
52
|
const currentRaw = buffer.readUInt16BE(7);
|
|
@@ -37,21 +71,24 @@ export class WoRelaySwitch1 extends SequenceDevice {
|
|
|
37
71
|
* Turn on
|
|
38
72
|
*/
|
|
39
73
|
async turnOn() {
|
|
40
|
-
const
|
|
74
|
+
const command = this.maybeEncryptCommand([...DEVICE_COMMANDS.COMMON.POWER_ON]);
|
|
75
|
+
const result = await this.sendCommand(command, 'turnOn');
|
|
41
76
|
return result.success;
|
|
42
77
|
}
|
|
43
78
|
/**
|
|
44
79
|
* Turn off
|
|
45
80
|
*/
|
|
46
81
|
async turnOff() {
|
|
47
|
-
const
|
|
82
|
+
const command = this.maybeEncryptCommand([...DEVICE_COMMANDS.COMMON.POWER_OFF]);
|
|
83
|
+
const result = await this.sendCommand(command, 'turnOff');
|
|
48
84
|
return result.success;
|
|
49
85
|
}
|
|
50
86
|
/**
|
|
51
87
|
* Toggle power
|
|
52
88
|
*/
|
|
53
89
|
async toggle() {
|
|
54
|
-
const
|
|
90
|
+
const command = this.maybeEncryptCommand([...DEVICE_COMMANDS.PLUG.TOGGLE]);
|
|
91
|
+
const result = await this.sendCommand(command, 'toggle');
|
|
55
92
|
return result.success;
|
|
56
93
|
}
|
|
57
94
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wo-relay-switch-1.js","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-1.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wo-relay-switch-1.js","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-1.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,cAAc;IAChD;;OAEG;IACK,eAAe;QACrB,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAA;IAClC,CAAC;IAED;;OAEG;IACO,mBAAmB,CAAC,GAA+B;QAC3D,8DAA8D;QAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAA;QAC9D,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;YAC5B,OAAO,GAAG,CAAA;QACZ,CAAC;QACD,OAAO,2BAA2B,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,aAAc,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;IAC3F,CAAC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C,SAAS,EAAE,IAAI,IAAI,EAAE;iBACtB,CAAA;YACH,CAAC;YAED,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAA;QACnD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAA;YAChD,MAAM,KAAK,CAAA;QACb,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wo-relay-switch-2pm.d.ts","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-2pm.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAGvF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,cAAe,YAAW,0BAA0B;IACxF;;OAEG;IACG,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"wo-relay-switch-2pm.d.ts","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-2pm.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAGvF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,cAAe,YAAW,0BAA0B;IACxF;;OAEG;IACG,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAOnD;;OAEG;IACG,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAOnD;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,iBAAiB,CAAC;CAG9C"}
|
|
@@ -13,9 +13,8 @@ export class WoRelaySwitch2PM extends WoRelaySwitch1 {
|
|
|
13
13
|
* Set channel 1 state
|
|
14
14
|
*/
|
|
15
15
|
async setChannel1(state) {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
: DEVICE_COMMANDS.RELAY.CHANNEL1_OFF;
|
|
16
|
+
const raw = state ? DEVICE_COMMANDS.RELAY.CHANNEL1_ON : DEVICE_COMMANDS.RELAY.CHANNEL1_OFF;
|
|
17
|
+
const command = this.maybeEncryptCommand([...raw]);
|
|
19
18
|
const result = await this.sendCommand(command, `setChannel1:${state}`);
|
|
20
19
|
return result.success;
|
|
21
20
|
}
|
|
@@ -23,9 +22,8 @@ export class WoRelaySwitch2PM extends WoRelaySwitch1 {
|
|
|
23
22
|
* Set channel 2 state
|
|
24
23
|
*/
|
|
25
24
|
async setChannel2(state) {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
: DEVICE_COMMANDS.RELAY.CHANNEL2_OFF;
|
|
25
|
+
const raw = state ? DEVICE_COMMANDS.RELAY.CHANNEL2_ON : DEVICE_COMMANDS.RELAY.CHANNEL2_OFF;
|
|
26
|
+
const command = this.maybeEncryptCommand([...raw]);
|
|
29
27
|
const result = await this.sendCommand(command, `setChannel2:${state}`);
|
|
30
28
|
return result.success;
|
|
31
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wo-relay-switch-2pm.js","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-2pm.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD;;;GAGG;AACH,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAClD;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,KAAc;QAC9B,MAAM,
|
|
1
|
+
{"version":3,"file":"wo-relay-switch-2pm.js","sourceRoot":"","sources":["../../src/devices/wo-relay-switch-2pm.ts"],"names":[],"mappings":"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,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,qBAAa,kBAAmB,SAAQ,eAAe;IAC/C,SAAS,IAAI,OAAO,CAAC,YAAY,CAAC;CAGzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-remote-with-screen.js","sourceRoot":"","sources":["../../src/devices/wo-remote-with-screen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAA;IACjE,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DeviceStatus } from '../types/index.js';
|
|
2
|
+
import { SwitchBotDevice } from './base.js';
|
|
3
|
+
export declare class WoRGBICNeonWireRopeLight extends SwitchBotDevice {
|
|
4
|
+
getStatus(): Promise<DeviceStatus>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=wo-rgbic-neon-wire-rope-light.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbic-neon-wire-rope-light.d.ts","sourceRoot":"","sources":["../../src/devices/wo-rgbic-neon-wire-rope-light.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,qBAAa,wBAAyB,SAAQ,eAAe;IACrD,SAAS,IAAI,OAAO,CAAC,YAAY,CAAC;CAGzC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SwitchBotDevice } from './base.js';
|
|
2
|
+
export class WoRGBICNeonWireRopeLight extends SwitchBotDevice {
|
|
3
|
+
async getStatus() {
|
|
4
|
+
throw new Error('WoRGBICNeonWireRopeLight.getStatus not implemented');
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=wo-rgbic-neon-wire-rope-light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbic-neon-wire-rope-light.js","sourceRoot":"","sources":["../../src/devices/wo-rgbic-neon-wire-rope-light.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAA;IACvE,CAAC;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WoRGBICBulb } from './wo-rgbic-bulb.js';
|
|
2
|
+
/**
|
|
3
|
+
* RGBICWW Floor Lamp Device
|
|
4
|
+
* Uses same logic as RGBIC Bulb with segmented control
|
|
5
|
+
*/
|
|
6
|
+
export declare class WoRGBICWWFloorLamp extends WoRGBICBulb {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=wo-rgbicww-floor-lamp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbicww-floor-lamp.d.ts","sourceRoot":"","sources":["../../src/devices/wo-rgbicww-floor-lamp.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-rgbicww-floor-lamp.ts: SwitchBot v4.0.0 - RGBICWW Floor Lamp
|
|
4
|
+
*/
|
|
5
|
+
import { WoRGBICBulb } from './wo-rgbic-bulb.js';
|
|
6
|
+
/**
|
|
7
|
+
* RGBICWW Floor Lamp Device
|
|
8
|
+
* Uses same logic as RGBIC Bulb with segmented control
|
|
9
|
+
*/
|
|
10
|
+
export class WoRGBICWWFloorLamp extends WoRGBICBulb {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wo-rgbicww-floor-lamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbicww-floor-lamp.js","sourceRoot":"","sources":["../../src/devices/wo-rgbicww-floor-lamp.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD;;;GAGG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WoRGBICBulb } from './wo-rgbic-bulb.js';
|
|
2
|
+
/**
|
|
3
|
+
* RGBICWW Strip Light Device
|
|
4
|
+
* Uses same logic as RGBIC Bulb with segmented control
|
|
5
|
+
*/
|
|
6
|
+
export declare class WoRGBICWWStripLight extends WoRGBICBulb {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=wo-rgbicww-strip-light.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbicww-strip-light.d.ts","sourceRoot":"","sources":["../../src/devices/wo-rgbicww-strip-light.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-rgbicww-strip-light.ts: SwitchBot v4.0.0 - RGBICWW Strip Light
|
|
4
|
+
*/
|
|
5
|
+
import { WoRGBICBulb } from './wo-rgbic-bulb.js';
|
|
6
|
+
/**
|
|
7
|
+
* RGBICWW Strip Light Device
|
|
8
|
+
* Uses same logic as RGBIC Bulb with segmented control
|
|
9
|
+
*/
|
|
10
|
+
export class WoRGBICWWStripLight extends WoRGBICBulb {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wo-rgbicww-strip-light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-rgbicww-strip-light.js","sourceRoot":"","sources":["../../src/devices/wo-rgbicww-strip-light.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD;;;GAGG;AACH,MAAM,OAAO,mBAAoB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-roller-shade.d.ts","sourceRoot":"","sources":["../../src/devices/wo-roller-shade.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C;;;GAGG;AACH,qBAAa,aAAc,SAAQ,SAAS;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-roller-shade.ts: SwitchBot v4.0.0 - Roller Shade
|
|
4
|
+
*/
|
|
5
|
+
import { WoCurtain } from './wo-curtain.js';
|
|
6
|
+
/**
|
|
7
|
+
* Roller Shade Device
|
|
8
|
+
* Uses same logic as Curtain (motorized window covering)
|
|
9
|
+
*/
|
|
10
|
+
export class WoRollerShade extends WoCurtain {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wo-roller-shade.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-roller-shade.js","sourceRoot":"","sources":["../../src/devices/wo-roller-shade.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C;;;GAGG;AACH,MAAM,OAAO,aAAc,SAAQ,SAAS;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WoAirPurifier } from './wo-air-purifier.js';
|
|
2
|
+
/**
|
|
3
|
+
* Smart Thermostat Radiator Device
|
|
4
|
+
* Reuses climate control behavior for power, mode, and speed-level style control.
|
|
5
|
+
*/
|
|
6
|
+
export declare class WoSmartThermostatRadiator extends WoAirPurifier {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=wo-smart-thermostat-radiator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-smart-thermostat-radiator.d.ts","sourceRoot":"","sources":["../../src/devices/wo-smart-thermostat-radiator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,aAAa;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-smart-thermostat-radiator.ts: SwitchBot v4.0.0 - Smart Thermostat Radiator Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoAirPurifier } from './wo-air-purifier.js';
|
|
6
|
+
/**
|
|
7
|
+
* Smart Thermostat Radiator Device
|
|
8
|
+
* Reuses climate control behavior for power, mode, and speed-level style control.
|
|
9
|
+
*/
|
|
10
|
+
export class WoSmartThermostatRadiator extends WoAirPurifier {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wo-smart-thermostat-radiator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-smart-thermostat-radiator.js","sourceRoot":"","sources":["../../src/devices/wo-smart-thermostat-radiator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD;;;GAGG;AACH,MAAM,OAAO,yBAA0B,SAAQ,aAAa;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-strip-light-3.d.ts","sourceRoot":"","sources":["../../src/devices/wo-strip-light-3.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC;;;GAGG;AACH,qBAAa,aAAc,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-strip-light-3.ts: SwitchBot v4.0.0 - Strip Light 3
|
|
4
|
+
*/
|
|
5
|
+
import { WoBulb } from './wo-bulb.js';
|
|
6
|
+
/**
|
|
7
|
+
* Strip Light 3 Device
|
|
8
|
+
* Uses same logic as Color Bulb
|
|
9
|
+
*/
|
|
10
|
+
export class WoStripLight3 extends WoBulb {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wo-strip-light-3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-strip-light-3.js","sourceRoot":"","sources":["../../src/devices/wo-strip-light-3.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC;;;GAGG;AACH,MAAM,OAAO,aAAc,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-plus.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-plus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,eAAgB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-k10-plus.ts: SwitchBot v4.0.0 - K10+ Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner K10+
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumK10Plus extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-k10-plus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-plus.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-plus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-pro-combo.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-pro-combo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-k10-pro-combo.ts: SwitchBot v4.0.0 - K10+ Pro Combo Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner K10+ Pro Combo
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumK10ProCombo extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-k10-pro-combo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-pro-combo.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-pro-combo.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-pro.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-pro.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,cAAe,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-k10-pro.ts: SwitchBot v4.0.0 - K10+ Pro Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner K10+ Pro
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumK10Pro extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-k10-pro.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k10-pro.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k10-pro.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k11-plus.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k11-plus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,eAAgB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-k11-plus.ts: SwitchBot v4.0.0 - K11+ Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner K11+
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumK11Plus extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-k11-plus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k11-plus.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k11-plus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k20.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k20.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,WAAY,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-k20.ts: SwitchBot v4.0.0 - K20 Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner K20
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumK20 extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-k20.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-k20.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-k20.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-s10.d.ts","sourceRoot":"","sources":["../../src/devices/wo-vacuum-s10.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,qBAAa,WAAY,SAAQ,QAAQ;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Copyright(C) 2024-2026, donavanbecker (https://github.com/donavanbecker). All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* devices/wo-vacuum-s10.ts: SwitchBot v4.0.0 - S10 Vacuum Device
|
|
4
|
+
*/
|
|
5
|
+
import { WoVacuum } from './wo-vacuum.js';
|
|
6
|
+
/**
|
|
7
|
+
* Robot Vacuum Cleaner S10
|
|
8
|
+
*/
|
|
9
|
+
export class WoVacuumS10 extends WoVacuum {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=wo-vacuum-s10.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wo-vacuum-s10.js","sourceRoot":"","sources":["../../src/devices/wo-vacuum-s10.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,QAAQ;CAAG"}
|