Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: API Request: TypeError #507

Closed
yjeanrenaud opened this issue Oct 12, 2022 · 23 comments
Closed

Bug: API Request: TypeError #507

yjeanrenaud opened this issue Oct 12, 2022 · 23 comments
Assignees
Labels
bug Something isn't working

Comments

@yjeanrenaud
Copy link

yjeanrenaud commented Oct 12, 2022

Describe The Bug

error shows up in log

To Reproduce

just updated to V2.0. It might be because the Curtains are not grouped?

Expected behavior

no error

Relevant log output

[12/10/2022, 10:39:36] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')
[12/10/2022, 10:39:36] [SwitchBot] deviceName: Rote Gardine [Curtain Config] disable_group: undefined, UnGrouping true
[12/10/2022, 10:39:36] [SwitchBot] deviceName: Vorhang [Curtain Config] disable_group: undefined, UnGrouping true

Config for homebridge-switchbot

{
  "name": "SwitchBot",
  "credentials": {
    "token": "xxx",
    "secret": "xxx",
    "notice": "Keep your token a secret!"
  },
  "options": {
    "irdevices": [
      {
        "deviceId": "xxx",
        "configRemoteType": "TV"
      }
    ],
    "refreshRate": 30,
    "pushRate": 1,
    "logging": "standard"
  },
  "platform": "SwitchBot"
}

Screenshots

No response

Device & Model

na

Node.js Version

v16.17.1

NPM Version

8.15.0

Homebridge Version

v1.5.0

Homebridge Switchbot Plugin Version

v2.0.0

Homebridge Config UI X Plugin Version

v4.50.1

Operating System

Raspian Buster

@GcoGr
Copy link

GcoGr commented Oct 12, 2022

Same error for me after updating to v2.0.0:

[12/10/2022, 12:03:27] [SwitchBot] Total SwitchBot Devices Found: 5
[12/10/2022, 12:03:27] [SwitchBot] Total IR Devices Found: 1
[12/10/2022, 12:03:27] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')

@donavanbecker
Copy link
Collaborator

@yjeanrenaud Can you get me debug logs?

@yjeanrenaud
Copy link
Author

yjeanrenaud commented Oct 12, 2022

@yjeanrenaud Can you get me debug logs?

sure:

[12/10/2022, 13:54:15] [SwitchBot] Initializing SwitchBot platform...
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Using Config Logging: debug
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Finished initializing platform:
[12/10/2022, 13:54:15] [SwitchBot] Platform Config: {"logging":"debug","refreshRate":30,"pushRate":1}
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Config OK
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: xx Bett
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Küchenschrank
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Meter Plus
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: TV Bot
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Meter Küche
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Kellertür
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Motion Sensor Arbeitszimmer  Ost
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Motion Sensor Arbeitszimmer West
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Contact Sensor Arbeitszimmer Süd
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Schuppentür
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Contact Sensor Arbeitszimmer Ost
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Meter Bad
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Bot 5F
[12/10/2022, 13:54:15] [SwitchBot] [DEBUG] Loading accessory from cache: Meter F2
[12/10/2022, 13:54:16] [SwitchBot] [DEBUG] Executed didFinishLaunching callback
[12/10/2022, 13:54:16] [SwitchBot] [DEBUG] XXXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] statusCode: 200
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] headers: {"date":"Wed, 12 Oct 2022 11:54:19 GMT","content-type":"application/json","content-length":"3306","connection":"close","x-amzn-requestid":"xxx","x-amz-apigw-id":"xxx","x-amzn-trace-id":"Root=xxx;Sampled=0"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceList":[{"deviceId":"xxx","deviceName":"xx Bett","deviceType":"Strip Light","enableCloudService":true,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Küchenschrank","deviceType":"Strip Light","enableCloudService":true,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Meter Plus Schlafzimmer","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"TV Bot","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter Küche","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Kellertür","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter Plus Arbeitszimmer ","deviceType":"MeterPlus","enableCloudService":false,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Motion Sensor Arbeitszimmer  Ost","deviceType":"Motion Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Motion Sensor Arbeitszimmer West","deviceType":"Motion Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Rote Gardine","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"xxx","curtainDevicesIds":["xxx"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"xxx","deviceName":"Vorhang","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"xxx","curtainDevicesIds":["xxx"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"xxx","deviceName":"Contact Sensor Arbeitszimmer Süd","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Remote FD","deviceType":"Remote","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Hub Mini 1","deviceType":"Hub Mini","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Schuppentür","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Contact Sensor Arbeitszimmer Ost","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Remote for TV","deviceType":"Remote","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Meter Bad","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Bot 5F","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter F2","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Pan/Tilt Cam qr","deviceType":"Pan/Tilt Cam","enableCloudService":true,"hubDeviceId":""}],"infraredRemoteList":[{"deviceId":"xxx","deviceName":"Sony ","remoteType":"TV","hubDeviceId":"xxx"}]},"message":"success"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] devicesAPI: {"deviceList":[{"deviceId":"xxx","deviceName":"xx Bett","deviceType":"Strip Light","enableCloudService":true,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Küchenschrank","deviceType":"Strip Light","enableCloudService":true,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Meter Plus Schlafzimmer","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"TV Bot","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter Küche","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Kellertür","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter Plus Arbeitszimmer ","deviceType":"MeterPlus","enableCloudService":false,"hubDeviceId":""},{"deviceId":"xxx","deviceName":"Motion Sensor Arbeitszimmer  Ost","deviceType":"Motion Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Motion Sensor Arbeitszimmer West","deviceType":"Motion Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Rote Gardine","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"xxx","curtainDevicesIds":["xxx"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"xxx","deviceName":"Vorhang","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"xxx","curtainDevicesIds":["xxx"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"xxx","deviceName":"Contact Sensor Arbeitszimmer Süd","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Remote FD","deviceType":"Remote","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Hub Mini 1","deviceType":"Hub Mini","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Schuppentür","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Contact Sensor Arbeitszimmer Ost","deviceType":"Contact Sensor","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Remote for TV","deviceType":"Remote","enableCloudService":false,"hubDeviceId":"000000000000"},{"deviceId":"xxx","deviceName":"Meter Bad","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Bot 5F","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Meter F2","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"xxx"},{"deviceId":"xxx","deviceName":"Pan/Tilt Cam qr","deviceType":"Pan/Tilt Cam","enableCloudService":true,"hubDeviceId":""}],"infraredRemoteList":[{"deviceId":"xxx","deviceName":"Sony ","remoteType":"TV","hubDeviceId":"xxx"}]}
[12/10/2022, 13:54:19] [SwitchBot] Total SwitchBot Devices Found: 21
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: [Undefined]
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Strip Light: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Strip Light: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered MeterPlus: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Bot: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Meter: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Contact Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered MeterPlus: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Motion Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Motion Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Curtain Rote Gardine: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Curtain Vorhang: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Contact Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Remote: xxx is Not Supported.
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Hub Mini: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Contact Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Contact Sensor: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Remote: xxx is Not Supported.
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Meter: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Bot: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Discovered Meter: xxx
[12/10/2022, 13:54:19] [SwitchBot] Total IR Devices Found: 1
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] IR Device Config Set: [{"deviceId":"xxx","configRemoteType":"TV"}]
[12/10/2022, 13:54:19] [SwitchBot] Device: Pan/Tilt Cam qr with Device Type: Pan/Tilt Cam, is currently not supported.
[12/10/2022, 13:54:19] [SwitchBot] Submit Feature Requests Here: https://git.io/JL14Z
[12/10/2022, 13:54:19] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: xx Bett registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: xx Bett connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Küchenschrank registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Küchenschrank connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Plus Schlafzimmer registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Plus Schlafzimmer connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: TV Bot registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: TV Bot connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Küche registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Küche connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Kellertür registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Kellertür connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Plus Arbeitszimmer  connectionType: OpenAPI, hide_device: undefined,  will not display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Motion Sensor Arbeitszimmer  Ost registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Motion Sensor Arbeitszimmer  Ost connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Motion Sensor Arbeitszimmer West registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Motion Sensor Arbeitszimmer West connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] deviceName: Rote Gardine deviceId: xxx, curtainDevicesIds: xxx, master: true, group: false, disable_group: undefined, connectionType: OpenAPI
[12/10/2022, 13:54:19] [SwitchBot] deviceName: Rote Gardine [Curtain Config] disable_group: undefined, UnGrouping true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Rote Gardine registerCurtains: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] deviceName: Vorhang deviceId: xxx, curtainDevicesIds: xxx, master: true, group: false, disable_group: undefined, connectionType: OpenAPI
[12/10/2022, 13:54:19] [SwitchBot] deviceName: Vorhang [Curtain Config] disable_group: undefined, UnGrouping true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Vorhang registerCurtains: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Contact Sensor Arbeitszimmer Süd registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Contact Sensor Arbeitszimmer Süd connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Schuppentür registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Schuppentür connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Contact Sensor Arbeitszimmer Ost registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Contact Sensor Arbeitszimmer Ost connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Bad registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter Bad connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Bot 5F registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Bot 5F connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter F2 registerDevice: true
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Meter F2 connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: xx Bett DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Küchenschrank DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Meter Plus Schlafzimmer DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] [Undefined]
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: TV Bot DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Meter Küche DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Kellertür DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device not registered: Meter Plus Arbeitszimmer  MeterPlus DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Motion Sensor Arbeitszimmer  Ost DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Motion Sensor Arbeitszimmer West DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Rote Gardine Curtain registerDevice: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Rote Gardine connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Vorhang Curtain registerDevice: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device: Vorhang connectionType: OpenAPI, will display in HomeKit
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Contact Sensor Arbeitszimmer Süd DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Schuppentür DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Contact Sensor Arbeitszimmer Ost DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Meter Bad DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] [Undefined]
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Bot 5F DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] Restoring existing accessory from cache: Meter F2 DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Strip Light: xx Bett Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett adaptiveLightingShift: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett adaptiveLighting: true, adaptiveLightingShift: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic On: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Brightness: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Hue: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Saturation: 100
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light uuid: xxx-Strip Light, (xxx)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Strip Light: Küchenschrank Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank adaptiveLightingShift: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank adaptiveLighting: true, adaptiveLightingShift: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic On: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Brightness: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Hue: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Saturation: 100
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Strip Light uuid: xxx-Strip Light, (xxx)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] MeterPlus: Meter Plus Schlafzimmer Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Add Temperature Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Add Humidity Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentRelativeHumidity: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentTemperature: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] MeterPlus uuid: xxx-MeterPlus, (xxx)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot Allowing Push Changes: false
[12/10/2022, 13:54:19] [SwitchBot] Bot: TV Bot Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] Bot: TV Bot does not have bot mode set in the Plugin's SwitchBot Device Settings,
[12/10/2022, 13:54:19] [SwitchBot] Bot: TV Bot is defaulting to "switch" mode, you may experience issues.
[12/10/2022, 13:54:19] [SwitchBot] Bot: TV Bot Displaying as Outlet
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot: TV Bot updateCharacteristic On: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Bot uuid: xxx-Bot, (XXX)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Meter: Meter Küche Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche Add Temperature Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche Add Humidity Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentRelativeHumidity: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentTemperature: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Meter uuid: xxx-Meter, (XXX)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Contact Sensor: Kellertür Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür Add Motion Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür Add Light Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Kellertür CurrentAmbientLightLevel: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor uuid: xxx-Contact Sensor, (XXX)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Motion Sensor: Motion Sensor Arbeitszimmer  Ost Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost Add Light Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor uuid: xxx-Motion Sensor, (XXX)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Motion Sensor: Motion Sensor Arbeitszimmer West Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West device.firmware: undefined
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West this.platform.version: 2.0.0
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West Add Light Sensor Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West Removing Battery Service
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Motion Sensor uuid: xxx-Motion Sensor, (XXX)
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device not registered: Rote Gardine Curtain DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Device not registered: Vorhang Curtain DeviceID: xxx
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd Using Platform Config Logging: debug
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd Using Platform Config refreshRate: 30
[12/10/2022, 13:54:19] [SwitchBot] Contact Sensor: Contact Sensor Arbeitszimmer Süd Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIRefreshStatus
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd sign: XXX
[12/10/2022, 13:54:19] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd Add Motion Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd Add Light Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd CurrentAmbientLightLevel: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor uuid: xxx-Contact Sensor, (XXX)
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür Using Platform Config Logging: debug
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür Using Platform Config refreshRate: 30
[12/10/2022, 13:54:20] [SwitchBot] Contact Sensor: Schuppentür Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIRefreshStatus
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür sign: XXX
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür Add Motion Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür Add Light Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür CurrentAmbientLightLevel: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor uuid: xxx-Contact Sensor, (XXX)
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost Using Platform Config Logging: debug
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost Using Platform Config refreshRate: 30
[12/10/2022, 13:54:20] [SwitchBot] Contact Sensor: Contact Sensor Arbeitszimmer Ost Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIRefreshStatus
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost sign: XXX
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost Add Motion Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost Add Light Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost CurrentAmbientLightLevel: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Contact Sensor uuid: xxx-Contact Sensor, (XXX)
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad Using Platform Config Logging: debug
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad Using Platform Config refreshRate: 30
[12/10/2022, 13:54:20] [SwitchBot] Meter: Meter Bad Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad sign: XXX
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad Add Temperature Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad Add Humidity Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentRelativeHumidity: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentTemperature: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter uuid: xxx-Meter, (XXX)
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F Using Platform Config Logging: debug
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F Using Platform Config refreshRate: 30
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F Allowing Push Changes: false
[12/10/2022, 13:54:20] [SwitchBot] Bot: Bot 5F Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F sign: XXX
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] Bot: Bot 5F does not have bot mode set in the Plugin's SwitchBot Device Settings,
[12/10/2022, 13:54:20] [SwitchBot] Bot: Bot 5F is defaulting to "switch" mode, you may experience issues.
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] Bot: Bot 5F Displaying as Outlet
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot: Bot 5F updateCharacteristic On: false
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Bot uuid: xxx-Bot, (XXX)
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 Using Platform Config Logging: debug
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 Using Platform Config refreshRate: 30
[12/10/2022, 13:54:20] [SwitchBot] Meter: Meter F2 Config: {"connectionType":"OpenAPI"}
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 sign: XXX
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 accessory.context.FirmwareRevision: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 device.firmware: undefined
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 this.platform.version: 2.0.0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 Add Temperature Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 Add Humidity Sensor Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 Removing Battery Service
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentRelativeHumidity: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentTemperature: 0
[12/10/2022, 13:54:20] [SwitchBot] [DEBUG] Meter uuid: xxx-Meter, (XXX)
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"255:0:255"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"255:0:255"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett Brightness: 50
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett color: "255:0:255"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett red: "255"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett green: "0"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett blue: "255"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett hs: [300,100]
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett Hue: 300
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett Saturation: 100
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Brightness: 50
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Hue: 300
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Saturation: 100
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: TV Bot openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: TV Bot On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: TV Bot updateCharacteristic On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: Bot 5F On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Bot: Bot 5F updateCharacteristic On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":59,"temperature":19.6},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":59,"temperature":19.6},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 Humidity: 59%
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 Temperature: 19.6°c
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentRelativeHumidity: 59
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentTemperature: 19.6
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"MeterPlus","hubDeviceId":"xxx","humidity":64,"temperature":19.7},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"MeterPlus","hubDeviceId":"xxx","humidity":64,"temperature":19.7},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Humidity: 64%
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Temperature: 19.7°c
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentRelativeHumidity: 64
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentTemperature: 19.7
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":20.6},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":20.6},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche Humidity: 75%
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche Temperature: 20.6°c
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentRelativeHumidity: 75
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentTemperature: 20.6
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":true,"brightness":"bright","openState":"timeOutNotClose"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":true,"brightness":"bright","openState":"timeOutNotClose"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openState: timeOutNotClose
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd MotionDetected: true
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic MotionDetected: true
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":73,"temperature":19.4},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":73,"temperature":19.4},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad Humidity: 73%
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad Temperature: 19.4°c
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentRelativeHumidity: 73
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentTemperature: 19.4
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"0:0:255"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"0:0:255"},"message":"success"}
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIparseStatus
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Brightness: 50
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank color: "0:0:255"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank red: "0"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank green: "0"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank blue: "255"
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank hs: [240,100]
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Hue: 240
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Saturation: 100
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic On: false
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Brightness: 50
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Hue: 240
[12/10/2022, 13:54:21] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Saturation: 100
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Strip Light: xx Bett sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Strip Light: Küchenschrank sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Bot: TV Bot sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Meter: Meter Küche sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Contact Sensor: Kellertür sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost sign: XXX
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus
[12/10/2022, 13:54:49] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"255:0:255"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"255:0:255"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett Brightness: 50
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett color: "255:0:255"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett red: "255"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett green: "0"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett blue: "255"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett hs: [300,100]
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett Hue: 300
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett Saturation: 100
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Brightness: 50
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Hue: 300
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: xx Bett updateCharacteristic Saturation: 100
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"0:0:255"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Strip Light","hubDeviceId":"xxx","power":"off","brightness":50,"color":"0:0:255"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Brightness: 50
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank color: "0:0:255"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank red: "0"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank green: "0"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank blue: "255"
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank hs: [240,100]
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Hue: 240
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank Saturation: 100
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Brightness: 50
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic ColorTemperature: 140
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Hue: 240
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Strip Light: Küchenschrank updateCharacteristic Saturation: 100
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"MeterPlus","hubDeviceId":"xxx","humidity":64,"temperature":19.7},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"MeterPlus","hubDeviceId":"xxx","humidity":64,"temperature":19.7},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Humidity: 64%
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer Temperature: 19.7°c
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentRelativeHumidity: 64
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Schlafzimmer updateCharacteristic CurrentTemperature: 19.7
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: TV Bot openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: TV Bot openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: TV Bot On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: TV Bot updateCharacteristic On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":20.6},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":20.6},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche Humidity: 75%
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche Temperature: 20.6°c
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentRelativeHumidity: 75
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Küche updateCharacteristic CurrentTemperature: 20.6
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Kellertür updateCharacteristic CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter F2 sign: XXX
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer  Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Motion Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Motion Sensor: Motion Sensor Arbeitszimmer West updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":true,"brightness":"bright","openState":"timeOutNotClose"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":true,"brightness":"bright","openState":"timeOutNotClose"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd openState: timeOutNotClose
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd MotionDetected: true
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic MotionDetected: true
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Süd updateCharacteristic CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"dim","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Schuppentür updateCharacteristic CurrentAmbientLightLevel: 1
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost refreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Contact Sensor","hubDeviceId":"xxx","moveDetected":false,"brightness":"bright","openState":"close"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic ContactSensorState: 0
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic MotionDetected: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Contact Sensor: Contact Sensor Arbeitszimmer Ost updateCharacteristic CurrentAmbientLightLevel: 6001
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":19.4},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":75,"temperature":19.4},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad Humidity: 75%
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad Temperature: 19.4°c
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentRelativeHumidity: 75
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Meter: Meter Bad updateCharacteristic CurrentTemperature: 19.4
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Bot","hubDeviceId":"xxx","power":"on"},"message":"success"}
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F openAPIparseStatus
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F On: false
[12/10/2022, 13:54:50] [SwitchBot] [DEBUG] Bot: Bot 5F updateCharacteristic On: false
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus statusCode: 200
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 d: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":59,"temperature":19.6},"message":"success"}
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIRefreshStatus: {"statusCode":100,"body":{"deviceId":"xxx","deviceType":"Meter","hubDeviceId":"xxx","humidity":59,"temperature":19.6},"message":"success"}
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 openAPIparseStatus
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 Humidity: 59%
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 Temperature: 19.6°c
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentRelativeHumidity: 59
[12/10/2022, 13:54:51] [SwitchBot] [DEBUG] Meter: Meter F2 updateCharacteristic CurrentTemperature: 19.6
{"level":30,"time":1665575695799,"pid":1160,"hostname":"rPi3","reqId":"req-4y","req":{"method":"GET","url":"/api/platform-tools/hb-service/log/download","hostname":"rpi3.local:8581","remoteAddress":"xxx","remotePort":51043},"msg":"incoming request"}

@donavanbecker
Copy link
Collaborator

donavanbecker commented Oct 12, 2022

@yjeanrenaud, this looks like it has to do with the ir device you have in the config. Does that match up with the devices you have? because your switchbot devices are coming in.

@donavanbecker
Copy link
Collaborator

@GcoGr, you would need to provide more logs and your config.

@yjeanrenaud
Copy link
Author

yjeanrenaud commented Oct 12, 2022

@donavanbecker
the IR device seems to be configured right. I got it in the switchbot app and it works so far. I will try to delete and re-add it.

@GcoGr
Copy link

GcoGr commented Oct 13, 2022

@donavanbecker, Sorry, I',m back to v1.15.
I have 2 garage doors and an IR device (LG TV).
FYI, back in 1.15 my garage doors have duplicated, I've got two with IDs that are MAC addresses without any colons and two with the same names and same IDs but containing colons.
Only two doors work, so I've renamed and hidden in Homekit the nonworking doors in order to restore functionality. I don't know whether the working doors are the ones with or without colons.
Thanks for your work and regards.

@donavanbecker
Copy link
Collaborator

donavanbecker commented Oct 13, 2022

Can you try the latest beta:

npm version

Click here to find out how to install Beta

@norb-HB
Copy link

norb-HB commented Oct 13, 2022

First of all: Thanks for your work!

Same issue (Type Error) with my single Bot. Tried latest Beta 7. Still same issue.

This is my config:

{
  "name": "SwitchBot",
  "credentials": {
    "token": "MyToken",
    "secret": "MySecret",
    "notice": "Keep your token a secret!"
  },
  "options": {
    "devices": [
      {
        "deviceId": "MyMac",
        "configDeviceName": "Eingangstür",
        "configDeviceType": "Bot",
        "connectionType": "BLE",
        "scanDuration": 1,
        "bot": {
          "mode": "press",
          "deviceType": "door"
        },
        "logging": "debug"
      }
    ],
    "logging": "debug"
  },
  "platform": "SwitchBot"
}

and extract of the relevant lines from my log:

—SNIP—

[13.10.2022, 12:56:18] The plugin "homebridge-switchbot" requires Node.js version of ^14.20.0 || ^16.18.0 || ^18.10.0 which does not satisfy the current Node.js version of v16.17.1. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[13.10.2022, 12:56:21] Loaded plugin: @switchbot/homebridge-switchbot@2.1.0-beta.7
[13.10.2022, 12:56:21] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'

—SNIP—

[SwitchBot] Initializing SwitchBot platform...
[13.10.2022, 12:56:23] [SwitchBot] [DEBUG] Using Config Logging: debug
[13.10.2022, 12:56:23] [SwitchBot] [DEBUG] Finished initializing platform:
[13.10.2022, 12:56:23] [SwitchBot] Platform Config: {"logging":"debug"}
[13.10.2022, 12:56:23] [SwitchBot] [DEBUG] Using Default Refresh Rate (2 minutes).
[13.10.2022, 12:56:23] [SwitchBot] [DEBUG] Using Default Push Rate.
[13.10.2022, 12:56:23] [SwitchBot] [DEBUG] Config OK

—SNIP—

[13.10.2022, 12:56:25] [SwitchBot] [DEBUG] statusCode: 200
[13.10.2022, 12:56:25] [SwitchBot] [DEBUG] headers: {"date":"Thu, 13 Oct 2022 10:56:25 GMT","content-type":"application/json","content-length":"218","connection":"close","x-amzn-requestid":"99e45111-7599-4868-8e0b-33d47da92e5d","x-amz-apigw-id":"Z8JB7GoJIAMFqFw=","x-amzn-trace-id":"Root=1-6347eed8-0c16034317cf150e16b02129;Sampled=0"}
[13.10.2022, 12:56:25] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceList":[{"deviceId":"My MAC","deviceName":"DoorOpenerBot","deviceType":"Bot","enableCloudService":false,"hubDeviceId":"000000000000"}],"infraredRemoteList":[]},"message":"success"}
[13.10.2022, 12:56:25] [SwitchBot] [DEBUG] devicesAPI: {"deviceList":[{"deviceId":"My MAC","deviceName":"DoorOpenerBot","deviceType":"Bot","enableCloudService":false,"hubDeviceId":"000000000000"}],"infraredRemoteList":[]}
[13.10.2022, 12:56:25] [SwitchBot] Total SwitchBot Devices Found: 1
[13.10.2022, 12:56:25] [SwitchBot] [DEBUG] SwitchBot Device Config Set: [{"deviceId“:“MY MAC“,“configDeviceName":"Eingangstür","configDeviceType":"Bot","connectionType":"BLE","scanDuration":1,"bot":{"mode":"press","deviceType":"door"},"logging":"debug"}]
[13.10.2022, 12:56:25] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug

—SNIP—

@thommyg
Copy link

thommyg commented Oct 13, 2022

I‘m really new here. Not sure if I can contribute, since this is actually my first post here…

But i stumbled over this thread while having issues setting up my new Switchbot and I had the same issue popping up in my homebridge (“toUpperCase”).

I have solved the issue be re-installing the Switchbot app and re-enabling the cloud-services within the Switchbot app itself. Seems like that crashed and hence i wasn’t able to access my Switchbot remotely via my token and secret key.

Don’t know if this helps though… :-)

@donavanbecker
Copy link
Collaborator

Can you try the latest beta:

npm version

Click here to find out how to install Beta

@donavanbecker
Copy link
Collaborator

Closing as it will be resolved with v2.1.0 which I will release right now.

donavanbecker added a commit that referenced this issue Oct 13, 2022
## [Version 2.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.0) (2022-10-13)

## What's Changed

- Added `pushRatePress` config to set how many seconds inbetween doublePresses.
  - Also if `doublePress` isn't set it will not wait to pushChanges.
- Added `customize` config option which will allow for custom On and off commands for IR Devices.
  - Added `customOn` & `customOff` to set custom commands for IR Devices.
- Removed `Other`: `commandOn` & `commandOff` you will have to change your commands to the new `customOn` & `customOff` config under the `customize` config.
- Fixed issue where devices are not exposed to Homekit. [#507](#507), [#508](#508), [#513](#513)
- Fixed issue with Non-group Curtains being removed or not displaying in Homekit. [#510](#510)
- Fixed issue were Plugin was waiting 15 seconds before sending command to SwitchBot API. [#509](#509)
- Housekeeping and updated dependencies.

**Full Changelog**: v2.0.0...v2.1.0
@donavanbecker donavanbecker mentioned this issue Oct 13, 2022
donavanbecker added a commit that referenced this issue Oct 13, 2022
## [Version 2.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.0) (2022-10-13)

## What's Changed

- Added `pushRatePress` config to set how many seconds inbetween doublePresses.
  - Also if `doublePress` isn't set it will not wait to pushChanges.
- Added `customize` config option which will allow for custom On and off commands for IR Devices.
  - Added `customOn` & `customOff` to set custom commands for IR Devices.
- Removed `Other`: `commandOn` & `commandOff` you will have to change your commands to the new `customOn` & `customOff` config under the `customize` config.
- Fixed issue where devices are not exposed to Homekit. [#507](#507), [#508](#508), [#513](#513)
- Fixed issue with Non-group Curtains being removed or not displaying in Homekit. [#510](#510)
- Fixed issue were Plugin was waiting 15 seconds before sending command to SwitchBot API. [#509](#509)
- Housekeeping and updated dependencies.

**Full Changelog**: v2.0.0...v2.1.0
donavanbecker added a commit that referenced this issue Oct 14, 2022
## [Beta - Version 2.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.1) (2022-10-XX)

## What's Changed

- Fixed issue were `CustomOff` would send incorrect commands. Also Resolves [#409](#507).
- Housekeeping and updated dependencies.

**Full Changelog**: v2.1.0...v2.1.1
@yjeanrenaud
Copy link
Author

yjeanrenaud commented Oct 19, 2022

I just checked with v.2.2.1 and an updated nodejs v16.18.0 and it still persists

@donavanbecker
Copy link
Collaborator

@yjeanrenaud

@donavanbecker donavanbecker reopened this Oct 19, 2022
@donavanbecker
Copy link
Collaborator

Can you try the latest beta:

npm version

Click here to find out how to install Beta

Please get me the logs from this

@yjeanrenaud
Copy link
Author

yjeanrenaud commented Oct 19, 2022

done that:

[19/10/2022, 10:50:31] TypeError: Cannot read properties of undefined (reading 'length')
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/@switchbot/homebridge-switchbot/src/platform.ts:292:44)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[19/10/2022, 11:50:38] Got SIGTERM, shutting down Homebridge...

beta keeps crashing homebridge

@donavanbecker
Copy link
Collaborator

yeah figured it would, just trying to see where this is coming from. Lets try the latest beta.

@yjeanrenaud
Copy link
Author

yjeanrenaud commented Oct 19, 2022

no crashing, but still

[19/10/2022, 16:42:43] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'map'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug

the curtains are now grouped, at least two of them. the thirds still is ungrouped but not throwing any errors anymore.
however I get no devices after clearing cache now due to the TypeError. I checked, token and secret are correct.

@donavanbecker
Copy link
Collaborator

@yjeanrenaud Please get me all debug logs.

@yjeanrenaud
Copy link
Author

[19/10/2022, 20:22:22] Loaded plugin: @switchbot/homebridge-switchbot@2.2.2-beta.2
[19/10/2022, 20:22:22] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[19/10/2022, 20:22:22] ---
[19/10/2022, 20:22:22] Loading 9 platforms...
[19/10/2022, 20:22:22] [Google Smart Home] Initializing google-smarthome platform...
[19/10/2022, 20:22:22] [Plex Webhooks Platform] Initializing PlexWebhooks platform...
[19/10/2022, 20:22:22] [Camera FFmpeg] Initializing Camera-ffmpeg platform...
[19/10/2022, 20:22:22] [Homebridge HTTP temperature automation] Initializing homebridge-http-temperature-automation platform...
[19/10/2022, 20:22:22] [AppleTvNowPlayingPlatform] Initializing AppleTvNowPlayingPlatform platform...
[19/10/2022, 20:22:22] [TuyaPlatform] Initializing TuyaPlatform platform...
[19/10/2022, 20:22:22] [RPi] Initializing RPi platform...
[19/10/2022, 20:22:22] [RPi] homebridge-rpi v1.6.1, node v16.18.0, homebridge v1.5.0, homebridge-lib v5.6.8
[19/10/2022, 20:22:22] [RPi] warning: recommended version: node v16.17.1 LTS
[19/10/2022, 20:22:22] [SwitchBot] Initializing SwitchBot platform...
[19/10/2022, 20:22:22] [SwitchBot] [DEBUG] Using Config Logging: debug
[19/10/2022, 20:22:22] [SwitchBot] [DEBUG] Finished initializing platform:
[19/10/2022, 20:22:22] [SwitchBot] Platform Config: {"logging":"debug","refreshRate":30,"pushRate":1}
[19/10/2022, 20:22:22] [SwitchBot] [DEBUG] Config OK
...
[19/10/2022, 20:22:23] [SwitchBot] [DEBUG] Executed didFinishLaunching callback
[19/10/2022, 20:22:23] [SwitchBot] [DEBUG] sing: SOMETHING
Setup Payload:
X-HM://SOMETHING
...
[19/10/2022, 20:22:26] [SwitchBot] [DEBUG] statusCode: 200
[19/10/2022, 20:22:26] [SwitchBot] [DEBUG] headers: {"date":"Wed, 19 Oct 2022 18:22:26 GMT","content-type":"application/json","content-length":"73","connection":"close","x-amzn-requestid":"ad8ffdc5-bbd8-4b89-846a-5e9e551afff2","x-amz-apigw-id":"aQ7_WEp5oAMFxYQ=","x-amzn-trace-id":"Root=1-63504062-1b82bf047c4d9b6657e5e835;Sampled=0"}
[19/10/2022, 20:22:26] [SwitchBot] [DEBUG] d: {"statusCode":190,"body":{},"message":"Requests reached the daily limit"}
[19/10/2022, 20:22:26] [SwitchBot] [DEBUG] devicesAPI: {}
[19/10/2022, 20:22:26] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: undefined
[19/10/2022, 20:22:26] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'map'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug

@donavanbecker
Copy link
Collaborator


{"statusCode":190,"body":{},"message":"Requests reached the daily limit"}

@yjeanrenaud
Copy link
Author

so I set the poll time back to 360. But I am curious how this may even happen. the minimum of 30 seconds should not run out of that limit, no?

@donavanbecker
Copy link
Collaborator

We'll take your 14 devices by 24 (hours in a day) by 60 (minutes in an hour) by 2 (number of 30 seconds in a minute)

142460*2=40,320

Rate limit is 10,000 pre day.

If you are setting it to 30 for a specific device like motion sensors. My recommendation would be to set that one device with a refreshRate of 30 in the SwitchBot device settings with its device id, and then I would set your default refreshRate higher like 15 or 30 minutes.

donavanbecker added a commit that referenced this issue Nov 8, 2023
# Changelog

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [Version 2.11.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.11.0) (2023-11-07)

## What's Changed

- Added Latch Switch to activate Latch on Lock, Thanks [@quebulm](https://github.com/quebulm) [#859](#859)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.10.1...v2.11.0>

## [Version 2.10.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.10.1) (2023-11-01)

## What's Changed

- Added webhook event listener for Bot, Ceiling Light, Color Bulb, Contact, Curtain, IOSensor, Light Strip, Lock, Motion, Plug, & Robot Vacuum Cleaner
- Added Webhook config to Plugin Config UI.

**Full Changelog**: <v2.10.0...v2.10.1>

## [Version 2.10.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.10.0) (2023-10-31)

## What's Changed

- Added webhook event listener for Meter, Meter Plus, & Hub 2, Thanks [@banboobee](https://github.com/banboobee) [#850](#850)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.9.2...v2.10.0>

## [Version 2.9.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.9.2) (2023-10-26)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v2.9.1...v2.9.2>

## [Version 2.9.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.9.1) (2023-10-14)

## What's Changed

- Fix issue with `FirmwareRevision` causing Homebridge Crash. Fixes [#839](#839), [#832](#832), [#829](#829), & [#828](#828)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.9.0...v2.9.1>

## [Version 2.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.9.0) (2023-09-16)

## What's Changed

- Add other `deviceTypes` for IR Type `Other`.
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.8.2...v2.9.0>

## [Version 2.8.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.8.2) (2023-08-27)

## What's Changed

- Fixed issue with `BatteryLevel` & `FirmwareRevision` not displaying correctly for certain deviceTypes.
- Fixed config issue where Eve History was not showing for WoIOSensor.
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.8.1...v2.8.2>

## [Version 2.8.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.8.1) (2023-08-22)

## What's Changed

- Added additional logging to catch statusCodes like 190 (Requests reached the daily limit).
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.8.0...v2.8.1>

## [Version 2.8.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.8.0) (2023-08-19)

## What's Changed

- Add Hub 2 Light-Level Support. [#776](#776)
- Enable Meter Battery Level for OpenAPI, Thanks [@mrlt8](https://github.com/mrlt8) [#782](#782)
- Enable Meter Plus Battery Level for OpenAPI, Thanks [@mrlt8](https://github.com/mrlt8) [#787](#787)
- Enable Battery Level and Version for OpenAPI for BlindTilt, Bot, Ceiling Lights, Color Bulb, Contact, Curtain, Hub, Humidifier, Indoor/Outdoor Sensor, Light Strip, Lock, Meter, Meter Plus, Motion , Plug, Plug Mini, & Robot Vacuum Cleaner
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.7.1...v2.8.0>

## [Version 2.7.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.7.1) (2023-07-29)

## What's Changed

- Fixed Hub 2 temperature/humidity data for AC, Thanks [@mrlt8](https://github.com/mrlt8) [#779](#779)
- Fixed TargetTemperature not being updated in the HomeKit, Thanks [@mrlt8](https://github.com/mrlt8) [#7779](#779)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.7.0...v2.7.1>

## [Version 2.7.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.7.0) (2023-07-25)

## What's Changed

- Will now log if there are no devices discovered by SwitchBot-API.
- Added the ability to use Tempature from a SwitchBot Meter to be used with an IR Air Conditioner, Thanks [@mrlt8](https://github.com/mrlt8) [#761](#761)
- Adds the ability to enable EVE history SwitchBot Curtains, Thanks [@banboobee](https://github.com/banboobee) [#766](#766)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.6.2...v2.7.0>

## [Version 2.6.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.6.2) (2023-04-17)

## What's Changed

- Fix for Commands not being sent, [#721](#721)
- Housekeeping.

**Full Changelog**: <v2.6.1...v2.6.2>

## [Version 2.6.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.6.1) (2023-04-15)

## What's Changed

- Add Support for [SwitchBot Meter Plus (JP)](https://www.switchbot.jp/products/switchbot-meter-plus), Thanks [@tikuwas](https://github.com/tikuwas) [#642](#642)

**Full Changelog**: <v2.6.0...v2.6.1>

## [Version 2.6.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.6.0) (2023-04-15)

## What's Changed

- Add Support for [SwitchBot Hub 2](https://us.switch-bot.com/pages/switchbot-hub-2) Humidity and Temperature Sensor, Thanks [@Alvie](https://github.com/alvie). [#716](#716)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.5.3...v2.6.0>

## [Version 2.5.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.3) (2023-04-08)

## What's Changed

- Removed unneeded async, Thanks [@dnicolson](https://github.com/dnicolson). [#699](#699)
- Removed inMotion condition, Thanks [@dnicolson](https://github.com/dnicolson). [#703](#703)
- Fix async method calls, Thanks [@dnicolson](https://github.com/dnicolson). [#690](#690)
- Improve curtain retry functionality, Thanks [@dnicolson](https://github.com/dnicolson). [#694](#694)
- Add Support for [SwitchBot Indoor/Outdoor Thermo-Hygrometer](https://www.switch-bot.com/products/switchbot-indoor-outdoor-thermo-hygrometer)
- Housekeeping and updated dependencies.
  - This release will end support for Node v14.

**Full Changelog**: <v2.5.2...v2.5.3>

## [Version 2.5.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.2) (2023-02-10)

## What's Changed

- Fixes mappingMode not being read from the config directly, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#667](#667)
- Fixes only_up mode in settings configuration, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#669](#669)
- Removes runStatus check, fixes some logic, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#672](#672)
- Remove unneeded async, Thanks [@dnicolson](https://github.com/dnicolson). [#675](#675)
- Replace switchbot wait with utility function, Thanks [@dnicolson](https://github.com/dnicolson). [#674](#674)
- Remove incorrect warning message, Thanks [@dnicolson](https://github.com/dnicolson). [#673](#673)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.5.1...v2.5.2>

## [Version 2.5.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.1) (2023-01-28)

## What's Changed

- Fix Blind Tilt Config.

**Full Changelog**: <v2.5.0...v2.5.1>

## [Version 2.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.0) (2023-01-28)

## What's Changed

- Add Intial Support for Blind Tilt (OpenAPI Only), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#649](#649)
- Remove incorrect warning message, Thanks [@dnicolson](https://github.com/dnicolson). [#661](#661)
- Replace switchbot wait with utility function, Thanks [@dnicolson](https://github.com/dnicolson). [#633](#633)
- Enhancements to BLE functionality.
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.4.0...v2.5.0>

## [Version 2.4.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.4.0) (2022-12-27)

## What's Changed

- Added a new `Bot` Device Type `Multi-Press`, Thanks [@alvst](https://github.com/alvst). [#628](#628)
- Added `maxRetry` option for `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types, Thanks [@dnicolson](https://github.com/dnicolson). [#631](#631)
- Fix max retry option for `Bot`, `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types, Thanks [@dnicolson](https://github.com/dnicolson). [#630](#628)
- Moved `maxRetry` option from `Bot` level to overall `configDeviceType` level.
  - **If you had this set for your `Bot` you will have to update this config.**
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.3.2...v2.4.0>

## [Version 2.3.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.3.2) (2022-12-16)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v2.3.1...v2.3.2>

## [Version 2.3.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.3.1) (2022-12-11)

## What's Changed

- Fixed TypeError: Cannot read properties of undefined (reading 'setCharacteristic'). [#610](#610)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.3.0...v2.3.1>

## [Version 2.3.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.3.0) (2022-12-08)

## What's Changed

- Added Support for SwitchBot Robot Vacuum Cleaner S1 & SwitchBot Robot Vacuum Cleaner S1 Plus
- Add Read-only BLE Support for Smart Lock.
- Added `disablePushDetail` config to IR Air Conditioners.
- Fixed issue where Meter did not parsing temperature. [#571](#571)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.2.2...v2.3.0>

## [Version 2.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.2) (2022-10-22)

## What's Changed

- Changed from `allowPushOn` and `allowPushOff` configs to `disablePushOn` and `disablePushOff` config, so default is to push changes.
  - Removed `disable_power` config in favor of `disablePushOn` and `disablePushOff` config settings.
- Fixed Issue where IR Devices commands wouldn't send commands. [#551](#551), [#553](#553), [#545](#545)
- Issue where plugin would continue to crash homebridge. [#547](#547)
- Fix for node-switchbot showing not installed.
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.2.1...v2.2.2>

## [Version 2.2.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.1) (2022-10-18)

## What's Changed

- Fix for node-switchbot showing not installed.

**Full Changelog**: <v2.2.0...v2.2.1>

## [Version 2.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.0) (2022-10-18)

## What's Changed

- Moved Air Conditioner config `PushOn` to be an overal IR Device config of `allowPushOn` and `allowPushOff`.
- Fixed Issue where Brightness characteristic received "NaN". [#518](#518)
- Fixed Issue where IR TVs would not default to External Device. [#520](#518)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.1.2...v2.2.0>

## [Version 2.1.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.2) (2022-10-14)

## What's Changed

- Fix issue with IR Devices not having a default `ConnectionType`. [#527](#527)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.1.1...v2.1.2>

## [Version 2.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.1) (2022-10-14)

## What's Changed

- Fixed issue were `CustomOff` would send incorrect commands. Also Resolves [#409](#409).
- Fixed issue were IR Commands were not sent from IR Devices, Thanks [@jonzhan](https://github.com/jonzhan). [#520](#520)
- Fixed issue with Curtain not refreshing moving status. [#517](#517)
- Fix issue with IR Devices not having a default `ConnectionType`. [#527](#527)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.1.0...v2.1.1>

## [Version 2.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.0) (2022-10-13)

## What's Changed

- Added `pushRatePress` config to set how many seconds inbetween doublePresses.
  - Also if `doublePress` isn't set it will not wait to pushChanges.
- Added `customize` config option which will allow for custom On and off commands for IR Devices.
  - Added `customOn` & `customOff` to set custom commands for IR Devices.
- Removed `Other`: `commandOn` & `commandOff` you will have to change your commands to the new `customOn` & `customOff` config under the `customize` config.
- Fixed issue where devices are not exposed to Homekit. [#507](#507), [#508](#508), [#513](#513)
- Fixed issue with Non-group Curtains being removed or not displaying in Homekit. [#510](#510)
- Fixed issue were Plugin was waiting 15 seconds before sending command to SwitchBot API. [#509](#509)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.0.0...v2.1.0>

## [Version 2.0.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.0.0) (2022-10-12)

## What's Changed

- Moved from v1.0 to v1.1 of [OpenAPI](https://github.com/OpenWonderLabs/SwitchBotAPI)
- Added Config that allows device(s) to be published as an external accessory.
- Added `connectionType` config, this replaces the `BLE` config.
  - You can now select Both Connections, Only OpenAPI, Only BLE, or Disable.
    - `Both` will use BLE as the default connection and will use OpenAPI as a backup connection.
    - `OpenAPI` will only allow connections through the OpenAPI.
    - `BLE` will only allow connections through Bluetooth (BLE), .
    - `Disable` will disable all connections. This will also allow you to disable commands and refreshes for a specific device but leave it in HomeKit.
- Added Support for Ceiling Light & Ceiling Light Pro
- Fixes Smart Lock Issues fixed in v1.1 of OpenAPI. [#462](#462)
= Fixes excesive logging from node-switchbot. [#435](#435), [#444](#444), [#446](#446)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.15.0...v2.0.0>

## [Version 1.15.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.15.0) (2022-08-27)

## What's Changed

- Added BLE support for PlugMini (US) & PlugMini (JP)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.14.2...v1.15.0>

## [Version 1.14.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.14.2) (2022-08-20)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v1.14.1...v1.14.2>

## [Version 1.14.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.14.1) (2022-06-28)

## What's Changed

- Fixed some logging.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.14.0...v1.14.1>

## [Version 1.14.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.14.0) (2022-06-25)

## What's Changed

- Added support for Smart Lock commands over OpenAPI. Thanks [tom-todd](https://github.com/tom-todd) [#382](#337) & [#387](#337)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.13.0...v1.14.0>

## [Version 1.13.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.13.0) (2022-05-04)

## What's Changed

- Added MQTT support for Meter and Curtain devices. Thanks [banboobee](https://github.com/banboobee)[#337](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337)
- Added Eve history features for meter devices. Thanks [banboobee](https://github.com/banboobee) [#338](#338)
- Added Config `setOpenMode` and `setCloseMode` so that you can set mode to be Performance or Silent.
- Added Config to allow manually setting firmware version.
- Fixed Smart Lock Display state status.
  - Still unable to control Locks because of API limitations.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.8...v1.13.0>

## [Version 1.12.8](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.8) (2022-03-19)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.7...v1.12.8>

## [Version 1.12.7](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.7) (2022-03-07)

## What's Changed

- Seperated Color Bulb and Strip Lights
  - Strip Lights no longer support Adaptive Lighting.
    - Adaptive Lighting requires Color Temperature, which Strip Lights do not support.
- Seperated Meter and Meter Plus for BLE purposes.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.6...v1.12.7>

## [Version 1.12.6](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.6) (2022-03-04)

## What's Changed

- Fix for Curtain v3.3 and above, from v1.2.0 node-switchbot update.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.5...v1.12.6>

## [Version 1.12.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.5) (2022-02-15)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.4...v1.12.5>

## [Version 1.12.4](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.4) (2022-02-12)

## What's Changed

- Fix support for Meter Plus
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.3...v1.12.4>

## [Version 1.12.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.3) (2022-02-05)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.2...v1.12.3>

## [Version 1.12.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.2) (2022-02-02)

## What's Changed

- Fix: Issue where `PositionState` was not being sent back to Home App. Fixes [#123](#123) Thanks [@dnicolson](https://github.com/dnicolson)!

**Full Changelog**: <v1.12.1...v1.12.2>

## [Version 1.12.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.1) (2022-02-01)

## What's Changed

- Housekeeping and updated dependencies.

**Full Changelog**: <v1.12.0...v1.12.1>

## [Version 1.12.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.0) (2022-01-29)

## What's Changed

- Add option `maxRetry` for bots so you can set the number of retries for sending on or off for Bot.

**Full Changelog**: <v1.11.2...v1.12.0>

## [Version 1.11.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.2) (2022-01-29)

## What's Changed

- Fix: Use `updateRate` instead of `refreshRate` when overriding `scanDuration`.

**Full Changelog**: <v1.11.1...v1.11.2>

## [Version 1.11.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.1) (2022-01-29)

## What's Changed

- Fix: `This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined)`.
- Fix: `This plugin generated a warning from the characteristic 'Color Temperature': characteristic value expected valid finite number and received "undefined" (undefined)`.
- Fix: `This plugin generated a warning from the characteristic 'Hue': characteristic value expected valid finite number and received "undefined" (undefined)`.
- Fix: `This plugin generated a warning from the characteristic 'Saturation': characteristic value expected valid finite number and received "undefined" (undefined)`.

**Full Changelog**: <v1.11.0...v1.11.1>

## [Version 1.11.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.0) (2022-01-29)

## What's Changed

- Add Support for SwitchBot Smart Lock
- Add Support for SwitchBot Strip Light
- Add Support for SwitchBot Meter Plus (US)
- Add Support for SwitchBot Meter Plus (JP)
- Add Support for SwitchBot Plug Mini (US)
- Add Support for SwitchBot Plug Mini (US)
- Fixed: Curtain `set_min` and `set_max` options not work correctly with minimum and maximum curtain state. [#123](#123)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.10.1...v1.11.0>

## [Version 1.10.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.1) (2022-01-26)

## What's Changed

- Fixed: Option `pushOn` was not push `On` commands.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.10.0...v1.10.1>

## [Version 1.10.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.0) (2022-01-21)

## What's Changed

- Add option `pushOn`, this will allow the `On` commands to be sent along side `Status` change commands.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.9.0...v1.10.0>

## [Version 1.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.9.0) (2022-01-20)

## What's Changed

- Add option `allowPush`, this will allow commands to be sent even if device state is already in state that is being pushed.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.8.2...v1.9.0>

## [Version 1.8.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.2) (2022-01-15)

## What's Changed

- Fixed Bug: Only log config if it is set.

**Full Changelog**: <v1.8.1...v1.8.2>

## [Version 1.8.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.1) (2022-01-15)

## What's Changed

- Fixed Bug: Cannot set properties of undefined (setting 'logging')

**Full Changelog**: <v1.8.0...v1.8.1>

## [Version 1.8.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.0) (2022-01-14)

## What's Changed

- Added option to display Bot a Stateful Programmable Switch.
  - This will only Works in 3rd Party Home App, Like [Eve](https://apps.apple.com/us/app/eve-for-homekit/id917695792) or [Home+ 5](https://apps.apple.com/us/app/home-5/id995994352)
- Add option to Hide Motion Sensor's Light Sensor.
- Add option to Set Motion Sensor's Light Sensor `set_minLux` and `set_maxLux`.
- Fixed Bug: Where BLE config would show for devices that don't support BLE.
- Fixed Bug: Contact Sensors's Motion Sensor and Light Sensor showing undefined values.
- Fixed Bug: Motion Sensors's Light Sensor showing undefined values.
- Fixed Bug: Battery Service wouldn't be removed from Curtain, Contact Sensor, or Motion Sensor when switching from BLE to OpenAPI.
- Enhancments: Made some improvemnt on the switch from BLE to OpenAPI when BLE connection fails.
- Enhancments: Made Optional Switchbot Device Settings and Optional IR Device Settings more managable by using Tabs.
- Change: Changed Curtain `refreshRate` to `updateRate`.
  - You will have to update your config for it to pickup the new `updateRate`.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.7.0...v1.8.0>

## [Version 1.7.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.7.0) (2022-01-05)

## What's Changed

- Added option to display Bot a Fan.
- Added option to display Bot a Door. [#179](#179)
- Added option to display Bot a Lock. [#179](#179)
- Added option to display Bot a Faucet.
- Added option to display Bot a Window.
- Added option to display Bot a WindowCovering.
- Added option to display Bot a Garage Door Opener. [#179](#179)

**Full Changelog**: <v1.6.3...v1.7.0>

## [Version 1.6.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.3) (2022-01-03)

## What's Changed

- Quick Fix for for issue not tested in `v1.6.2`.

**Full Changelog**: <v1.6.2...v1.6.3>

## [Version 1.6.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.2) (2022-01-03)

## What's Changed

- Fixed Bug: npm ERR! code 1. [#151](#151)
  - Made `node-switchbot` an optionalDependencies
  - So If `node-switchbot` doesn't get installed successfully then BLE will not work.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.6.1...v1.6.2>

## [Version 1.6.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.1) (2022-01-02)

## What's Changed

- Fixed an issue where when `Adaptive Lighting Shift` was set to -1, Adaptive Lighting would not be removed.
- Fixed an issue with motion sensor refreshStatus that would cause plugin to cause Homebridge restart.
- Fixed Bug: npm ERR! code 1. [#151](#151)
  - Made `node-switchbot` an optionalDependencies
  - So If `node-switchbot` doesn't get installed successfully then BLE will not work.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.6.0...v1.6.1>

## [Version 1.6.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.0) (2021-12-31)

## What's Changed

- Added `scanDuration` config option to set how long BLE scans, Scanning Duration is defaulted to 1 second.
- Now Setting `switch` as the default bot mode for Bots, to change to press, config must be set under `SwitchBot Device Settings` in the Plugin Settings.
- Fixed Bug: Contact Sensor talks about Curtain Light + Motion Sensor. [#164](#164)
- Fixed Bug: Reboot causes No Device Type Set Error. [#172](#172)
- Fixed Bug: Bot Status not working Correction with Switch and Press. [#105](#105), [#130](#130), [#132](#132), [#165](#165), [#174](#174)
- Fixed some issues with the New Logging Options release with v1.5.0, now logging when configured.

**Full Changelog**: <v1.5.0...v1.6.0>

## [Version 1.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.5.0) (2021-12-27)

## What's Changed

### Major Change To `Logging`

- Added the following Logging Options:
  - `Standard`
  - `None`
  - `Debug`
- Removed Device Logging Option, which was pushed into new logging under debug.
- Added Device Logging Override for each Device, by using the Device Config.

### Major Changes to `refreshRate`

- Added an option to override `refreshRate` for each Device, by using the Device Config.

### Other Changes

- Fixed Bug: Air conditioner temperature not able to change. [#43](#43)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.4.0...v1.5.0>

## [Version 1.4.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.4.0) (2021-12-15)

## What's Changed

- Added Status Messages to logs for discoverDevices request.
- Added Cached Status to IR device, Status will be saved to accessory context and restored on restart.
- Added Option `Offline as Off` to be able set the device as off, if API reports offline.
- Removed Meter Unit Config Option as it was confusing and probably never used.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.3.0...v1.4.0>

## [Version 1.3.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.3.0) (2021-12-02)

## What's Changed

- Added Adpative Lighting to Color Bulb
- Added Option `Adaptive Lighting Shift` to be able us this value to increase the mired for the Adaptive Lighting update, making the light appear warmer.
- Fixed Bug: Color Bulb can't change color and is not dimmable. [#97](#97)

**Full Changelog**: <v1.2.5...v1.3.0>

## [Version 1.2.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.5) (2021-11-25)

## What's Changed

- Fixed Bug: Where `set_minLux` & `set_maxLux` config settings not effecting OpenAPI Lux.

**Full Changelog**: <v1.2.4...v1.2.5>

## [Version 1.2.4](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.4) (2021-11-24)

## What's Changed

- Fixed Bug: Cannot read properties of undefined (reading 'updateCharacteristic').

**Full Changelog**: <v1.2.3...v1.2.4>

## [Version 1.2.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.3) (2021-11-24)

## What's Changed

- When BLE Connection isn't established, allow for OpenAPI to kick in if `openToken` is supplied.

**Full Changelog**: <v1.2.2...v1.2.3>

## [Version 1.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.2) (2021-11-24)

## What's Changed

- Allow the `configDeviceName` to override `deviceName`.
- Added Logging when BLE Connection wasn't established.

**Full Changelog**: <v1.2.1...v1.2.2>

## [Version 1.2.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.1) (2021-11-24)

## What's Changed

- Fixed Bug: Curtains alternate between open/close state. [#85](#85)
- Fixed Bug: Meter not working with BLE. [#110](#110)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.2.0...v1.2.1>

## [Version 1.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.0) (2021-11-19)

## What's Changed

- Added option to be able to do Bluetooth Low Energy (BLE) Only Connection.
  - Must supply `Device ID` & `Device Name` to the Device Config
  - Must Check `Enable Bluetooth Low Energy (BLE) Connection`
- Fixed Bug: Air conditioner temperature not able to change. [#43](#43)
- Add option to set Min Lux and Max Lux for Curtain's Light Sensor.
- Add `updateHomeKitCharacteristics` to IR Devices to contain all `updateCharacteristics` in one spot.
- Add `Saturation` and `Hue` to Colorbulb.
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.1.0...v1.2.0>

## [Version 1.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.1.0) (2021-11-16)

## What's Changed

- Fixed Bug: Curtains alternate between open/close state. [#85](#85)
- Fixed Bug: IR Fan won't be hidden in Home app. [#90](#90)
- Fixed Bug: `hide_temperature` config option causing `Cannot read property 'updateCharacteristic' of undefined` for Humidifiers. [#89](#89)
- Add option to Hide Curtain's Light Sensor. [#91](#91)
- Add option to Hide Contact Sensor's Motion Sensor or Light Sensor.

**Full Changelog**: <v1.0.2...v1.1.0>

## [Version 1.0.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.2) (2021-11-15)

## What's Changed

- Fixed Bug: `failed to discover devices. cannot read property 'touppercase' of undefined`. [#84](#84)
- Housekeeping and updated dependencies.

**Full Changelog**: <v1.0.1...v1.0.2>

## [Version 1.0.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.1) (2021-11-14)

## What's Changed

- Fixed `Cannot read properties of undefined (reading 'updateCharacteristic')` on Bots. [#77](#77)
- Fixed Temperature not being retrieved for Switchbot Meter. [#78](#78)

**Full Changelog**: <v1.0.0...v1.0.1>

## [Version 1.0.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.0) (2021-11-13)

## What's Changed

- Offical release of homebridge-Switchbot, which combines both BLE and OpenAPI into 1 plugin.
- Adds Light Sensors to Curtains
  - with iOS 15.1 you can set automations on light sensors.
- Adds Motion Sensor to Contact Sensors
- Adds Support Color Bulbs

**Full Changelog**: <v0.1.1...v1.0.0>

## [Version 0.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.1.1) (2021-09-11)

## What's Changed

- Fix Contact Sensor adding as Motion Sensor instead of Contact Sensor

**Full Changelog**: <v0.1.0...v0.1.1>

## [Version 0.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.1.0) (2021-09-10)

## What's Changed

- Initial release of homebridge-switchbot.
- Adds Support for Motion & Contact Sensors
- Adds Water Level to Humidifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants