Git Product home page Git Product logo

Comments (11)

donavanbecker avatar donavanbecker commented on May 23, 2024

same is #816.
Can you try the latest beta:

npm version

Click here to find out how to install Beta

And please provide debug logs.

from homebridge-switchbot.

bscheffel avatar bscheffel commented on May 23, 2024

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

Can you try the latest beta:

npm version

Click here to find out how to install Beta

from homebridge-switchbot.

bscheffel avatar bscheffel commented on May 23, 2024

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

First, please respond on GitHub and not through email as it adds a lot of extra stuff (had to delete the extra stuff)

Second I need logs, and version of beta you are on.

from homebridge-switchbot.

bscheffel avatar bscheffel commented on May 23, 2024

Sorry, will only reply on GitHub.

The plugin version is: v2.9.1-beta.2

Below are the debug logs. The curtain device that is not showing is the Balcony Curtain that appears in the device list in the logs.

[9/16/2023, 9:58:54 AM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 101D) is running on port 51436.
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] body: {"_readableState":{"objectMode":false,"highWaterMark":65536,"buffer":{"head":{"data":{"type":"Buffer","data":[123,34,115,116,97,116,117,115,67,111,100,101,34,58,49,48,48,44,34,98,111,100,121,34,58,123,34,100,101,118,105,99,101,76,105,115,116,34,58,91,123,34,100,101,118,105,99,101,73,100,34,58,34,67,50,54,65,49,67,69,67,66,68,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,97,108,99,111,110,121,32,67,117,114,116,97,105,110,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,99,117,114,116,97,105,110,68,101,118,105,99,101,115,73,100,115,34,58,91,34,67,50,54,65,49,67,69,67,66,68,48,52,34,93,44,34,99,97,108,105,98,114,97,116,101,34,58,116,114,117,101,44,34,103,114,111,117,112,34,58,102,97,108,115,101,44,34,109,97,115,116,101,114,34,58,116,114,117,101,44,34,111,112,101,110,68,105,114,101,99,116,105,111,110,34,58,34,108,101,102,116,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,67,57,50,65,52,66,65,48,67,48,65,53,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,84,111,114,99,104,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,66,111,116,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,83,119,105,116,99,104,98,111,116,72,117,98,77,105,110,105,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,72,117,98,32,77,105,110,105,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,48,48,48,48,48,48,48,48,48,48,48,48,34,125,93,44,34,105,110,102,114,97,114,101,100,82,101,109,111,116,101,76,105,115,116,34,58,91,123,34,100,101,118,105,99,101,73,100,34,58,34,48,50,45,50,48,50,51,48,57,49,52,49,52,53,54,45,49,50,49,52,48,52,53,54,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,108,111,99,107,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,70,97,110,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,125,93,125,44,34,109,101,115,115,97,103,101,34,58,34,115,117,99,99,101,115,115,34,125]},"next":null},"tail":{"data":{"type":"Buffer","data":[123,34,115,116,97,116,117,115,67,111,100,101,34,58,49,48,48,44,34,98,111,100,121,34,58,123,34,100,101,118,105,99,101,76,105,115,116,34,58,91,123,34,100,101,118,105,99,101,73,100,34,58,34,67,50,54,65,49,67,69,67,66,68,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,97,108,99,111,110,121,32,67,117,114,116,97,105,110,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,99,117,114,116,97,105,110,68,101,118,105,99,101,115,73,100,115,34,58,91,34,67,50,54,65,49,67,69,67,66,68,48,52,34,93,44,34,99,97,108,105,98,114,97,116,101,34,58,116,114,117,101,44,34,103,114,111,117,112,34,58,102,97,108,115,101,44,34,109,97,115,116,101,114,34,58,116,114,117,101,44,34,111,112,101,110,68,105,114,101,99,116,105,111,110,34,58,34,108,101,102,116,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,67,57,50,65,52,66,65,48,67,48,65,53,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,84,111,114,99,104,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,66,111,116,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,83,119,105,116,99,104,98,111,116,72,117,98,77,105,110,105,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,72,117,98,32,77,105,110,105,34,44,34,101,110,97,98,108,101,67,108,111,117,100,83,101,114,118,105,99,101,34,58,116,114,117,101,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,48,48,48,48,48,48,48,48,48,48,48,48,34,125,93,44,34,105,110,102,114,97,114,101,100,82,101,109,111,116,101,76,105,115,116,34,58,91,123,34,100,101,118,105,99,101,73,100,34,58,34,48,50,45,50,48,50,51,48,57,49,52,49,52,53,54,45,49,50,49,52,48,52,53,54,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,108,111,99,107,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,70,97,110,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,125,93,125,44,34,109,101,115,115,97,103,101,34,58,34,115,117,99,99,101,115,115,34,125]},"next":null},"length":1},"length":679,"pipes":[],"flowing":null,"ended":true,"endEmitted":false,"reading":false,"constructed":true,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":true,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":0}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] statusCode: 200
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] headers: {"date":"Sat, 16 Sep 2023 13:58:11 GMT","content-type":"application/json","content-length":"679","connection":"keep-alive","x-amzn-requestid":"24c8083e-bf7e-4d9b-8f76-1ba3b69f6fca","x-amz-apigw-id":"LWkiEGHEIAMETNg=","x-amzn-trace-id":"Root=1-6505b473-6b7f29ba713d384b055682da;Sampled=0;lineage=c8c2b0f2:0|bf95bacf:0"}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] devicesAPI: {"statusCode":100,"body":{"deviceList":[{"deviceId":"C26A1CECBD04","deviceName":"Balcony Curtain","enableCloudService":true,"hubDeviceId":"CA3EA229345C","curtainDevicesIds":["C26A1CECBD04"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"C92A4BA0C0A5","deviceName":"Torch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"CA3EA229345C"},{"deviceId":"CA3EA229345C","deviceName":"SwitchbotHubMini","deviceType":"Hub Mini","enableCloudService":true,"hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202309141456-12140456","deviceName":"Clock","remoteType":"DIY Fan","hubDeviceId":"CA3EA229345C"}]},"message":"success"}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] devicesAPI Body: {"deviceList":[{"deviceId":"C26A1CECBD04","deviceName":"Balcony Curtain","enableCloudService":true,"hubDeviceId":"CA3EA229345C","curtainDevicesIds":["C26A1CECBD04"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"C92A4BA0C0A5","deviceName":"Torch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"CA3EA229345C"},{"deviceId":"CA3EA229345C","deviceName":"SwitchbotHubMini","deviceType":"Hub Mini","enableCloudService":true,"hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202309141456-12140456","deviceName":"Clock","remoteType":"DIY Fan","hubDeviceId":"CA3EA229345C"}]}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] devicesAPI StatusCode: 100
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] statusCode: 200 & devicesAPI StatusCode: 100
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DeviceLists: [{"deviceId":"C26A1CECBD04","deviceName":"Balcony Curtain","enableCloudService":true,"hubDeviceId":"CA3EA229345C","curtainDevicesIds":["C26A1CECBD04"],"calibrate":true,"group":false,"master":true,"openDirection":"left"},{"deviceId":"C92A4BA0C0A5","deviceName":"Torch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"CA3EA229345C"},{"deviceId":"CA3EA229345C","deviceName":"SwitchbotHubMini","deviceType":"Hub Mini","enableCloudService":true,"hubDeviceId":"000000000000"}]
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DeviceLists Length: 3
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: undefined
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Discovered Bot: C92A4BA0C0A5
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Discovered Hub Mini: CA3EA229345C
[9/16/2023, 9:58:54 AM] [SwitchBot] Total SwitchBot Devices Found: 3
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] IR Device Config Not Set: undefined
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Discovered DIY Fan: 02-202309141456-12140456
[9/16/2023, 9:58:54 AM] [SwitchBot] Restoring existing accessory from cache: Clock DeviceID: 02-202309141456-12140456
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan: Clock Using Platform Config Logging: debug
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan: Clock Config: {"connectionType":"OpenAPI"}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan: Clock accessory.context.FirmwareRevision: 2.1.1
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan: Clock RotationSpeed Characteristic was not removed/added, Clear Cache on Clock to remove Chracteristic
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan: Clock Swing Mode Characteristic was not removed/added, Clear Cache on Clock To Remove Chracteristic
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] DIY Fan uuid: 02-202309141456-12140456-DIY Fan, (0f01fae2-2385-48b3-b7e3-4867a7c5627a)
[9/16/2023, 9:58:54 AM] [SwitchBot] Total IR Devices Found: 1
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Device: Torch registerDevice: true
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Device: Torch connectionType: OpenAPI, will display in HomeKit
[9/16/2023, 9:58:54 AM] [SwitchBot] Restoring existing accessory from cache: Torch DeviceID: C92A4BA0C0A5
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Using Platform Config Logging: debug
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Using Device Type: SwitchBot: Bot, from Accesory Cache.
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Using Platform Config refreshRate: 120
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Using Default Bot pushRatePress: 15
[9/16/2023, 9:58:54 AM] [SwitchBot] Bot: Torch does not have bot mode set in the Plugin's SwitchBot Device Settings,
[9/16/2023, 9:58:54 AM] [SwitchBot] Bot: Torch is defaulting to "switch" mode, you may experience issues.
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Allowing Push Changes: false
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Config: {"connectionType":"OpenAPI"}
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch openAPIRefreshStatus
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch accessory.context.FirmwareRevision: V4.5
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch Displaying as Outlet
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic On: false
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic BatteryLevel: 100
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic StatusLowBattery: 0
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot: Torch FirmwareRevision: undefined
[9/16/2023, 9:58:54 AM] [SwitchBot] [DEBUG] Bot uuid: C92A4BA0C0A5-Bot, (74d9b46f-8378-4fa9-ad4e-9b86c9091d1a)
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch body: {"_readableState":{"objectMode":false,"highWaterMark":65536,"buffer":{"head":{"data":{"type":"Buffer","data":[123,34,115,116,97,116,117,115,67,111,100,101,34,58,49,48,48,44,34,98,111,100,121,34,58,123,34,100,101,118,105,99,101,73,100,34,58,34,67,57,50,65,52,66,65,48,67,48,65,53,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,66,111,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,118,101,114,115,105,111,110,34,58,34,86,52,46,53,34,44,34,112,111,119,101,114,34,58,34,111,110,34,44,34,98,97,116,116,101,114,121,34,58,49,57,44,34,100,101,118,105,99,101,77,111,100,101,34,58,34,112,114,101,115,115,77,111,100,101,34,125,44,34,109,101,115,115,97,103,101,34,58,34,115,117,99,99,101,115,115,34,125]},"next":null},"tail":{"data":{"type":"Buffer","data":[123,34,115,116,97,116,117,115,67,111,100,101,34,58,49,48,48,44,34,98,111,100,121,34,58,123,34,100,101,118,105,99,101,73,100,34,58,34,67,57,50,65,52,66,65,48,67,48,65,53,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,66,111,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,67,65,51,69,65,50,50,57,51,52,53,67,34,44,34,118,101,114,115,105,111,110,34,58,34,86,52,46,53,34,44,34,112,111,119,101,114,34,58,34,111,110,34,44,34,98,97,116,116,101,114,121,34,58,49,57,44,34,100,101,118,105,99,101,77,111,100,101,34,58,34,112,114,101,115,115,77,111,100,101,34,125,44,34,109,101,115,115,97,103,101,34,58,34,115,117,99,99,101,115,115,34,125]},"next":null},"length":1},"length":189,"pipes":[],"flowing":null,"ended":true,"endEmitted":false,"reading":false,"constructed":true,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":true,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":0}
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch statusCode: 200
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch headers: {"date":"Sat, 16 Sep 2023 13:58:11 GMT","content-type":"application/json","content-length":"189","connection":"keep-alive","x-amzn-requestid":"559fc855-92ed-481b-8d9b-4ae27fa1caab","x-amz-apigw-id":"LWkiHGEdoAMEFWA=","x-amzn-trace-id":"Root=1-6505b473-110f3f4575857183001654bc;Sampled=0;lineage=bf95bacf:0"}
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch deviceStatus: {"statusCode":100,"body":{"deviceId":"C92A4BA0C0A5","deviceType":"Bot","hubDeviceId":"CA3EA229345C","version":"V4.5","power":"on","battery":19,"deviceMode":"pressMode"},"message":"success"}
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch deviceStatus body: {"deviceId":"C92A4BA0C0A5","deviceType":"Bot","hubDeviceId":"CA3EA229345C","version":"V4.5","power":"on","battery":19,"deviceMode":"pressMode"}
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch deviceStatus statusCode: 100
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch statusCode: 200 & deviceStatus StatusCode: 100
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch openAPIparseStatus
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch On: false
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch BatteryLevel: 19, StatusLowBattery: 0
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic On: false
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic BatteryLevel: 19
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic StatusLowBattery: 0
[9/16/2023, 9:58:55 AM] [SwitchBot] [DEBUG] Bot: Torch updateCharacteristic FirmwareRevision: V4.5

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

Sorry, will only reply on GitHub.

Thanks, just so much easier to read without the extra stuff.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

@bscheffel Did you change your config?

from homebridge-switchbot.

bscheffel avatar bscheffel commented on May 23, 2024

Yes - I just got the Hub 2 and added the Curtain 3 to HomeKit via Matter.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

Well that will work too. But if you would have put your config back to what you put up above it should have worked.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 23, 2024

See this issue #816. If you set your config correctly Curtain 3 will display.

from homebridge-switchbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.