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

2 from 3 Curtain Devices are not exposed to Homekit #508

Closed
Spy-1 opened this issue Oct 12, 2022 · 25 comments
Closed

2 from 3 Curtain Devices are not exposed to Homekit #508

Spy-1 opened this issue Oct 12, 2022 · 25 comments
Assignees
Labels
bug Something isn't working

Comments

@Spy-1
Copy link

Spy-1 commented Oct 12, 2022

Describe The Bug

2 from 3 Curtain Devices are not exposed to Homekit.Balkon is exposed, Terrase and Garage are not.

To Reproduce

Expected behavior

Relevant log output

-

Config for homebridge-switchbot

{
            "platform": "SwitchBot",
            "name": "SwitchBot",
            "credentials": {
                "token": "4d9c6329abf7fe8a8d1d68af78e5d321xxxxxxxxxxxxxxxxxxxxxxxxxxxfd402d8b9be20f22151d78",
                "secret": "e1517xxxxxxxxxxxxxxxxxxxxxxxxxa87d1",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "FF9F5CBB1165",
                        "configDeviceName": "Vorhang Balkon",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "0",
                            "setCloseMode": "1",
                            "hide_lightsensor": true
                        },
                        "logging": "none"
                    },
                    {
                        "deviceId": "F4701513B4F2",
                        "configDeviceName": "Vorhang Terrasse",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "0",
                            "setCloseMode": "1",
                            "hide_lightsensor": true
                        }
                    },
                    {
                        "deviceId": "E803133283D4",
                        "configDeviceName": "Vorhang Garage",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "0",
                            "setCloseMode": "1",
                            "hide_lightsensor": true
                        }
                    },
                    {
                        "deviceId": "C88C404D64BC",
                        "configDeviceName": "Wohnzimmer Temperatur",
                        "configDeviceType": "MeterPlus",
                        "connectionType": "OpenAPI",
                        "history": true
                    },
                    {
                        "deviceId": "E2E64A679F6E",
                        "configDeviceName": "Meter Plus Büro",
                        "configDeviceType": "MeterPlus",
                        "connectionType": "OpenAPI",
                        "history": true
                    }
                ]
            }
        },

Screenshots

Device & Model

Node.js Version

v16.17.1

NPM Version

aktuell

Homebridge Version

v1.5.0

Homebridge Switchbot Plugin Version

v.2.0.0

Homebridge Config UI X Plugin Version

v4.50.1

Operating System

Docker

@donavanbecker
Copy link
Collaborator

So you have only 2 of your 3 curtains showing? Can you turn on debug mode for the plugin and get me more logs.

@Spy-1
Copy link
Author

Spy-1 commented Oct 12, 2022

No, 1 of my 3 is showing. Rerrasse and Garage are not showing and are ere
ased from cache in the log.
This one is showing (Wohnzimmer) are two, grouped as one in the switchbot app.
Debug log is:

[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] headers: {"date":"Wed, 12 Oct 2022 12:54:40 GMT","content-type":"application/json","content-length":"1676","connection":"close","x-amzn-requestid":"4f1fc66c-8edf-4821-9338-fe068abf4fa4","x-amz-apigw-id":"Z5HaiGMAIAMFltg=","x-amzn-trace-id":"Root=1-6346b910-04968c442e480aae292708fd;Sampled=0"}
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceList":[{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}],"infraredRemoteList":[{"deviceId":"02-202111211826-60466149","deviceName":"Kerzen","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"},{"deviceId":"02-202111211929-98644637","deviceName":"Weihnachtsbaum","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"}]},"message":"success"}
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] devicesAPI: {"deviceList":[{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}],"infraredRemoteList":[{"deviceId":"02-202111211826-60466149","deviceName":"Kerzen","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"},{"deviceId":"02-202111211929-98644637","deviceName":"Weihnachtsbaum","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"}]}
[10/12/2022, 2:54:40 PM] [SwitchBot] Total SwitchBot Devices Found: 7
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] SwitchBot Device Config Set: [{"deviceId":"FF9F5CBB1165","configDeviceName":"Vorhang Balkon","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"logging":"none"},{"deviceId":"F4701513B4F2","configDeviceName":"Vorhang Terrasse","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true}},{"deviceId":"E803133283D4","configDeviceName":"Vorhang Garage","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true}},{"deviceId":"C88C404D64BC","configDeviceName":"Wohnzimmer Temperatur","hide_device":false,"configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true},{"deviceId":"E2E64A679F6E","configDeviceName":"Meter Plus Büro","configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true}]
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] SwitchBot Devices: [{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","configDeviceName":"Wohnzimmer Temperatur","hide_device":false,"configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true,"deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","configDeviceName":"Meter Plus Büro","configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true,"deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","configDeviceName":"Vorhang Garage","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","configDeviceName":"Vorhang Terrasse","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","configDeviceName":"Vorhang Balkon","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"logging":"none","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}]
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered Curtain Curtain EA: C31B41C2EBEA
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered MeterPlus: C88C404D64BC
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered MeterPlus: E2E64A679F6E
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Garage: E803133283D4
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Terrasse: F4701513B4F2
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered Hub Mini: FA501BD00CF9
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Balkon: FF9F5CBB1165
[10/12/2022, 2:54:40 PM] [SwitchBot] Total IR Devices Found: 2
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] IR Device Config Not Set: [Undefined]
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202111211826-60466149
[10/12/2022, 2:54:40 PM] [SwitchBot] Restoring existing accessory from cache: Kerzen DeviceID: 02-202111211826-60466149
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202111211929-98644637
[10/12/2022, 2:54:40 PM] [SwitchBot] Restoring existing accessory from cache: Weihnachtsbaum DeviceID: 02-202111211929-98644637
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Curtain EA connectionType: OpenAPI, hide_device: undefined,  will not display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Wohnzimmer Temperatur registerDevice: true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Wohnzimmer Temperatur connectionType: OpenAPI, will display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Meter Plus Büro registerDevice: true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Meter Plus Büro connectionType: OpenAPI, will display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] deviceName: Vorhang Garage deviceId: E803133283D4, curtainDevicesIds: E803133283D4, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/12/2022, 2:54:40 PM] [SwitchBot] deviceName: Vorhang Garage [Curtain Config] disable_group: true, UnGrouping true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Garage registerCurtains: false
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] deviceName: Vorhang Terrasse deviceId: F4701513B4F2, curtainDevicesIds: F4701513B4F2, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/12/2022, 2:54:40 PM] [SwitchBot] deviceName: Vorhang Terrasse [Curtain Config] disable_group: true, UnGrouping true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse registerCurtains: false
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] deviceName: Vorhang Balkon deviceId: FF9F5CBB1165, curtainDevicesIds: FF9F5CBB1165,C31B41C2EBEA, master: true, group: true, disable_group: undefined, connectionType: OpenAPI
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] deviceName: Vorhang Balkon [Curtain Config] disable_group: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Balkon registerCurtains: true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen Using Platform Config Logging: debug
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Kerzen this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light uuid: 02-202111211826-60466149-DIY Light, (22c6136e-e495-4bb5-8fe0-ce5b2c393b02)
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum Using Platform Config Logging: debug
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] DIY Light uuid: 02-202111211929-98644637-DIY Light, (4ceb1d8d-d196-4609-b252-9223a68d566a)
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device not registered: Curtain EA Curtain DeviceID: C31B41C2EBEA
[10/12/2022, 2:54:40 PM] [SwitchBot] Restoring existing accessory from cache: Wohnzimmer Temperatur DeviceID: C88C404D64BC
[10/12/2022, 2:54:40 PM] [SwitchBot] Restoring existing accessory from cache: Meter Plus Büro DeviceID: E2E64A679F6E
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Garage Curtain registerDevice: false
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Garage connectionType: OpenAPI, will display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse Curtain registerDevice: false
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse connectionType: OpenAPI, will display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Balkon Curtain registerDevice: true
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] Device: Vorhang Balkon connectionType: OpenAPI, will display in HomeKit
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Using Platform Config Logging: debug
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Using Platform Config refreshRate: 120
[10/12/2022, 2:54:40 PM] [SwitchBot] MeterPlus: Wohnzimmer Temperatur Config: {"connectionType":"OpenAPI"}
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur openAPIRefreshStatus
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur sign: hCJjObwgFgB2NvLMl3DPp9b8D/JIbjy7yjitlAPLYZA=
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Add Temperature Sensor Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Add Humidity Sensor Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Removing Battery Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur updateCharacteristic CurrentRelativeHumidity: 0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur updateCharacteristic CurrentTemperature: 0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus uuid: C88C404D64BC-MeterPlus, (41e7dd7a-0b96-4405-8411-173530630cdc)
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Using Platform Config Logging: debug
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Using Platform Config refreshRate: 120
[10/12/2022, 2:54:40 PM] [SwitchBot] MeterPlus: Meter Plus Büro Config: {"connectionType":"OpenAPI"}
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro openAPIRefreshStatus
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro sign: RwEx9HesKgCz6cNy4ZHS9zSX0z05ruUVds7P9BNk7iI=
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro accessory.context.FirmwareRevision: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro device.firmware: undefined
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro this.platform.version: 2.0.0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Add Temperature Sensor Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Add Humidity Sensor Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Removing Battery Service
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro updateCharacteristic CurrentRelativeHumidity: 0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro updateCharacteristic CurrentTemperature: 0
[10/12/2022, 2:54:40 PM] [SwitchBot] [DEBUG] MeterPlus uuid: E2E64A679F6E-MeterPlus, (dbb72852-9c17-41ce-b0c5-b22be0fa7849)
[10/12/2022, 2:54:40 PM] [SwitchBot] Removing existing accessory from cache: Vorhang Garage
[10/12/2022, 2:54:40 PM] [SwitchBot] Removing existing accessory from cache: Vorhang Terrasse
[10/12/2022, 2:54:40 PM] [SwitchBot] Restoring existing accessory from cache: Vorhang Balkon DeviceID: FF9F5CBB1165```

@donavanbecker
Copy link
Collaborator

Okay thanks for the logs. I will look though and see if I can see why this happened. Sorry about this.

@iu3564
Copy link

iu3564 commented Oct 12, 2022

got same issue , in logs found

[10/12/2022, 5:43:49 PM] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')
[10/12/2022, 5:43:49 PM] [SwitchBot] deviceName: Curtain DF [Curtain Config] disable_group: true, UnGrouping true
[10/12/2022, 5:43:49 PM] [SwitchBot] deviceName: Curtain 86 [Curtain Config] disable_group: true, UnGrouping true

@donavanbecker
Copy link
Collaborator

@Spy-1 @iu3564

Can you try the latest beta:

npm version

Click here to find out how to install Beta

@Spy-1
Copy link
Author

Spy-1 commented Oct 13, 2022

I installed beta 5. No change with the curtains. Debug output is:

[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] statusCode: 200
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] headers: {"date":"Thu, 13 Oct 2022 05:40:49 GMT","content-type":"application/json","content-length":"1676","connection":"close","x-amzn-requestid":"6779c3df-b433-431f-bb20-923759945e9c","x-amz-apigw-id":"Z7azNFqhIAMFxMA=","x-amzn-trace-id":"Root=1-6347a4e1-3fae55e86bdae42654920816;Sampled=0"}
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] d: {"statusCode":100,"body":{"deviceList":[{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}],"infraredRemoteList":[{"deviceId":"02-202111211826-60466149","deviceName":"Kerzen","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"},{"deviceId":"02-202111211929-98644637","deviceName":"Weihnachtsbaum","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"}]},"message":"success"}
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] devicesAPI: {"deviceList":[{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}],"infraredRemoteList":[{"deviceId":"02-202111211826-60466149","deviceName":"Kerzen","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"},{"deviceId":"02-202111211929-98644637","deviceName":"Weihnachtsbaum","remoteType":"DIY Light","hubDeviceId":"FA501BD00CF9"}]}
[10/13/2022, 7:40:49 AM] [SwitchBot] Total SwitchBot Devices Found: 7
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] SwitchBot Device Config Set: [{"deviceId":"FF9F5CBB1165","configDeviceName":"Vorhang Balkon","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"logging":"none"},{"deviceId":"F4701513B4F2","configDeviceName":"Vorhang Terrasse","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true}},{"deviceId":"E803133283D4","configDeviceName":"Vorhang Garage","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true}},{"deviceId":"C88C404D64BC","configDeviceName":"Wohnzimmer Temperatur","hide_device":false,"configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true},{"deviceId":"E2E64A679F6E","configDeviceName":"Meter Plus Büro","configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true}]
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] SwitchBot Devices: [{"deviceId":"C31B41C2EBEA","deviceName":"Curtain EA","deviceType":"Curtain","hubDeviceId":"000000000000","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":false,"group":true,"master":false,"openDirection":"right"},{"deviceId":"C88C404D64BC","configDeviceName":"Wohnzimmer Temperatur","hide_device":false,"configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true,"deviceName":"Wohnzimmer Temperatur","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E2E64A679F6E","configDeviceName":"Meter Plus Büro","configDeviceType":"MeterPlus","connectionType":"OpenAPI","history":true,"deviceName":"Meter Plus","deviceType":"MeterPlus","enableCloudService":true,"hubDeviceId":"FA501BD00CF9"},{"deviceId":"E803133283D4","configDeviceName":"Vorhang Garage","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"deviceName":"Vorhang Garage","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["E803133283D4"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"F4701513B4F2","configDeviceName":"Vorhang Terrasse","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"disable_group":true,"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"deviceName":"Vorhang Terrasse","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["F4701513B4F2"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"FA501BD00CF9","deviceName":"Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FF9F5CBB1165","configDeviceName":"Vorhang Balkon","configDeviceType":"Curtain","connectionType":"OpenAPI","curtain":{"setOpenMode":"0","setCloseMode":"1","hide_lightsensor":true},"logging":"none","deviceName":"Vorhang Balkon","deviceType":"Curtain","enableCloudService":true,"hubDeviceId":"FA501BD00CF9","curtainDevicesIds":["FF9F5CBB1165","C31B41C2EBEA"],"calibrate":true,"group":true,"master":true,"openDirection":"left"}]
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered Curtain Curtain EA: C31B41C2EBEA
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered MeterPlus: C88C404D64BC
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered MeterPlus: E2E64A679F6E
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Garage: E803133283D4
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Terrasse: F4701513B4F2
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered Hub Mini: FA501BD00CF9
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered Curtain Vorhang Balkon: FF9F5CBB1165
[10/13/2022, 7:40:49 AM] [SwitchBot] Total IR Devices Found: 2
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] IR Device Config Not Set: [Undefined]
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202111211826-60466149
[10/13/2022, 7:40:49 AM] [SwitchBot] Restoring existing accessory from cache: Kerzen DeviceID: 02-202111211826-60466149
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202111211929-98644637
[10/13/2022, 7:40:49 AM] [SwitchBot] Restoring existing accessory from cache: Weihnachtsbaum DeviceID: 02-202111211929-98644637
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Curtain EA connectionType: OpenAPI, hide_device: undefined,  will not display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Wohnzimmer Temperatur registerDevice: true
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Wohnzimmer Temperatur connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Meter Plus Büro registerDevice: true
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Meter Plus Büro connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Garage deviceId: E803133283D4, curtainDevicesIds: E803133283D4, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Garage [Curtain Config] disable_group: true, UnGrouping true, device.group: false
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Garage registerCurtains: false, device.connectionType: OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Terrasse deviceId: F4701513B4F2, curtainDevicesIds: F4701513B4F2, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Terrasse [Curtain Config] disable_group: true, UnGrouping true, device.group: false
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse registerCurtains: false, device.connectionType: OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Balkon deviceId: FF9F5CBB1165, curtainDevicesIds: FF9F5CBB1165,C31B41C2EBEA, master: true, group: true, disable_group: undefined, connectionType: OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] deviceName: Vorhang Balkon [Curtain Config] device.master: true, group: true connectionType; OpenAPI
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Balkon registerCurtains: true
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen Using Platform Config Logging: debug
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Kerzen this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light uuid: 02-202111211826-60466149-DIY Light, (22c6136e-e495-4bb5-8fe0-ce5b2c393b02)
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum Using Platform Config Logging: debug
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light: Weihnachtsbaum this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] DIY Light uuid: 02-202111211929-98644637-DIY Light, (4ceb1d8d-d196-4609-b252-9223a68d566a)
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device not registered: Curtain EA Curtain DeviceID: C31B41C2EBEA
[10/13/2022, 7:40:49 AM] [SwitchBot] Restoring existing accessory from cache: Wohnzimmer Temperatur DeviceID: C88C404D64BC
[10/13/2022, 7:40:49 AM] [SwitchBot] Restoring existing accessory from cache: Meter Plus Büro DeviceID: E2E64A679F6E
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Garage Curtain registerDevice: false
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Garage connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse Curtain registerDevice: false
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Terrasse connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Balkon Curtain registerDevice: true
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device: Vorhang Balkon connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Using Platform Config Logging: debug
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Using Platform Config refreshRate: 120
[10/13/2022, 7:40:49 AM] [SwitchBot] MeterPlus: Wohnzimmer Temperatur Config: {"connectionType":"OpenAPI"}
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur openAPIRefreshStatus
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur sign: VpgPpR5pS573cxt8v0Glcsf+QtrVdUjmBHpTOLn4Ea0=
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Add Temperature Sensor Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Add Humidity Sensor Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur Removing Battery Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur updateCharacteristic CurrentRelativeHumidity: 0
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Wohnzimmer Temperatur updateCharacteristic CurrentTemperature: 0
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus uuid: C88C404D64BC-MeterPlus, (41e7dd7a-0b96-4405-8411-173530630cdc)
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Using Platform Config Logging: debug
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Using Platform Config refreshRate: 120
[10/13/2022, 7:40:49 AM] [SwitchBot] MeterPlus: Meter Plus Büro Config: {"connectionType":"OpenAPI"}
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro openAPIRefreshStatus
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro sign: OaLY3AxDMHzJZBZhK0Wi0bqerBYXTPApfaCXPfGRGTY=
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro accessory.context.FirmwareRevision: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro device.firmware: undefined
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro this.platform.version: 2.1.0-beta.5
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Add Temperature Sensor Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Add Humidity Sensor Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro Removing Battery Service
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro updateCharacteristic CurrentRelativeHumidity: 0
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus: Meter Plus Büro updateCharacteristic CurrentTemperature: 0
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] MeterPlus uuid: E2E64A679F6E-MeterPlus, (dbb72852-9c17-41ce-b0c5-b22be0fa7849)
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device not registered: Vorhang Garage Curtain DeviceID: E803133283D4
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Device not registered: Vorhang Terrasse Curtain DeviceID: F4701513B4F2
[10/13/2022, 7:40:49 AM] [SwitchBot] Restoring existing accessory from cache: Vorhang Balkon DeviceID: FF9F5CBB1165
[10/13/2022, 7:40:49 AM] [SwitchBot] [DEBUG] Curtain uuid: FF9F5CBB1165-Curtain, (c33959be-6ae3-476b-9175-afede356fda1)

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@donavanbecker

@Spy-1 @iu3564

Can you try the latest beta:

npm version

nothing changed , but in logs issue with reading 'toUpperCase' still exists

[10/13/2022, 9:46:28 AM] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug

@donavanbecker
Copy link
Collaborator

@Spy-1 okay made another change try next beta.

npm version

@donavanbecker
Copy link
Collaborator

@iu3564 I would need to know more about your setup with that TypeError

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@iu3564 I would need to know more about your setup with that TypeError

{
            "name": "SwitchBot",
            "credentials": {
                "token": "token",
                "secret": "secret",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "12121212121",
                        "configDeviceName": "Bot FC",
                        "hide_device": false,
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch"
                        },
                        "external": true,
                        "logging": "none"
                    },
                    {
                        "deviceId": "12121212121212",
                        "configDeviceName": "Curtain 86",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "disable_group": true,
                            "hide_lightsensor": true
                        },
                        "history": false,
                        "external": true,
                        "logging": "none"
                    },
                    {
                        "deviceId": "1212121212121",
                        "configDeviceName": "Curtain DF",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "disable_group": true,
                            "hide_lightsensor": true
                        },
                        "history": false,
                        "external": true,
                        "logging": "none"
                    }
                ],
                "irdevices": [
                    {
                        "deviceId": "1111111111",
                        "configDeviceName": "Air Conditioner",
                        "configRemoteType": "Air Conditioner",
                        "irair": {
                            "hide_automode": true,
                            "pushOn": true
                        },
                        "external": true,
                        "logging": "none"
                    }
                ],
                "logging": "standard"
            },
            "platform": "SwitchBot"
        }

@donavanbecker
Copy link
Collaborator

@iu3564, thanks. Can I also get more logs around that type error to see if I can see where that is coming from.

@Spy-1
Copy link
Author

Spy-1 commented Oct 13, 2022

Witht beta 7 the missing curtains appear in Homekit!

but, the control in Homekit is not yet correct. For example, when I open the curtain garage fully (and it is fully opened) I see in Homekit only 83% opening.
The update of the tiles in Homekit still takes a long time.

In the screenshot, the balcony curtain is actually open, but it is displayed as closed.

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@iu3564, thanks. Can I also get more logs around that type error to see if I can see where that is coming from.

[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Discovered Hub Mini: 1212121212121
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Discovered Curtain Curtain DF: 1212121212121
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Discovered Curtain Curtain 86: 1212121212121
[10/13/2022, 1:19:26 PM] [SwitchBot] Total IR Devices Found: 1
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] IR Device Config Set: [{"deviceId":"1212121212121","configDeviceName":"Air Conditioner","configRemoteType":"Air Conditioner","irair":{"hide_automode":true,"pushOn":true},"external":true,"logging":"none"}]
[10/13/2022, 1:19:26 PM] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Bot FC registerDevice: true
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Bot FC connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] deviceName: Curtain DF deviceId: 1212121212121, curtainDevicesIds: 1212121212121, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] deviceName: Curtain DF [Curtain Config] disable_group: true, UnGrouping true, device.group: false
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain DF registerCurtains: false, device.connectionType: OpenAPI
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] deviceName: Curtain 86 deviceId: 1212121212121, curtainDevicesIds: 1212121212121, master: true, group: false, disable_group: true, connectionType: OpenAPI
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] deviceName: Curtain 86 [Curtain Config] disable_group: true, UnGrouping true, device.group: false
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain 86 registerCurtains: false, device.connectionType: OpenAPI
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] "press"
[10/13/2022, 1:19:26 PM] [SwitchBot] Restoring existing accessory from cache: Bot FC DeviceID: 1212121212121
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain DF Curtain registerDevice: false
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain DF connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain 86 Curtain registerDevice: false
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device: Curtain 86 connectionType: OpenAPI, will display in HomeKit
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Bot uuid: 1212121212121-Bot, (1212121212121)
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device not registered: Curtain DF Curtain DeviceID: 1212121212121
[10/13/2022, 1:19:26 PM] [SwitchBot] [DEBUG] Device not registered: Curtain 86 Curtain DeviceID: 1212121212121

@donavanbecker
Copy link
Collaborator

donavanbecker commented Oct 13, 2022

Witht beta 7 the missing curtains appear in Homekit!

but, the control in Homekit is not yet correct. For example, when I open the curtain garage fully (and it is fully opened) I see in Homekit only 83% opening. The update of the tiles in Homekit still takes a long time.

In the screenshot, the balcony curtain is actually open, but it is displayed as closed.

Seems like a calibration issue to me... but could be wrong. Als you could try setting max close/open:

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@donavanbecker I successfully registered curtains when I set external param as false ,so in beta7 all works. Last thing what should to be fixed this is message "API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug" it shown after discovering devises when I restart homebridge

@Spy-1
Copy link
Author

Spy-1 commented Oct 13, 2022

first step for me was deleting all curtains and readding them to the switchbot App.
After this all curtains were calibrated again.
I'll try the new setting tomorrow morning.

@donavanbecker
Copy link
Collaborator

donavanbecker commented Oct 13, 2022

@iu3564 @Spy-1, Can you try the latest beta:

npm version

Click here to find out how to install Beta

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@iu3564 @Spy-1, Can you try the latest beta:

npm version

Click here to find out how to install Beta

ok for me

@donavanbecker
Copy link
Collaborator

@iu3564 so that fixes your issue?

@iu3564
Copy link

iu3564 commented Oct 13, 2022

@iu3564 so that fixes your issue?

yes. message "API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')" is gone , I see in logs all discovered devices , all exposed to HomeKit and works

@donavanbecker
Copy link
Collaborator

awesome!

@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
@Spy-1
Copy link
Author

Spy-1 commented Oct 14, 2022

Thanks for your support!

@donavanbecker
Copy link
Collaborator

No problem

@Spy-1
Copy link
Author

Spy-1 commented Oct 14, 2022

There is still a small problem with the status of the curtains in Homekit.
When I press the slider in the HomeApp and open the curtain completely it does that.
However, the percentage display then slowly jumps from 20%, 60%, 80% only after it is completely open.
After about a minute, the status is then updated and displayed correctly.

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

8 participants