Closed MalachiteXD closed 6 months ago
@MalachiteXD have you tried the plugin?
@donavanbecker yeah on my homebridge, and the code is what told me to submit a feature request
Can you enable debug logs so I can see what the api displays?
@donavanbecker like this?
device name is “Janet”
[29/11/2023, 11:15:30] [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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,74,97,110,101,116,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,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,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,68,53,69,48,53,70,66,49,65,53,53,69,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,107,105,116,99,104,101,110,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,69,56,66,54,48,50,67,68,68,56,49,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,101,100,114,111,111,109,32,72,117,98,32,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,76,105,118,105,110,103,32,82,111,111,109,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,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,49,49,48,49,54,50,48,50,57,45,57,54,51,51,51,48,52,48,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,97,115,116,108,101,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,76,105,103,104,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,74,97,110,101,116,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,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,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,68,53,69,48,53,70,66,49,65,53,53,69,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,107,105,116,99,104,101,110,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,69,56,66,54,48,50,67,68,68,56,49,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,101,100,114,111,111,109,32,72,117,98,32,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,76,105,118,105,110,103,32,82,111,111,109,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,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,49,49,48,49,54,50,48,50,57,45,57,54,51,51,51,48,52,48,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,97,115,116,108,101,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,76,105,103,104,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,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":670,"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}
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] statusCode: 200
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] headers: {"date":"Wed, 29 Nov 2023 19:15:30 GMT","content-type":"application/json","content-length":"670","connection":"keep-alive","x-amzn-requestid":"8724f4a7-5fd9-4d39-b3f8-00482117179f","x-amz-apigw-id":"PLMY5HzeoAMEJPQ=","x-amzn-trace-id":"Root=1-65678dd2-7cce1966595659bb7383b145;Sampled=0;lineage=c8c2b0f2:0|bf95bacf:0"}
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] devicesAPI: {"statusCode":100,"body":{"deviceList":[{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202110162029-96333040","deviceName":"Castle","remoteType":"DIY Light","hubDeviceId":"F3EA5C129E3C"}]},"message":"success"}
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] devicesAPI Body: {"deviceList":[{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202110162029-96333040","deviceName":"Castle","remoteType":"DIY Light","hubDeviceId":"F3EA5C129E3C"}]}
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] devicesAPI StatusCode: 100
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] statusCode: 200 & devicesAPI StatusCode: 100
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] DeviceLists: [{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}]
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] DeviceLists Length: 4
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: undefined
[29/11/2023, 11:15:30] [SwitchBot] Device: Janet with Device Type: WoSweeperMini, is currently not supported.
[29/11/2023, 11:15:30] [SwitchBot] Submit Feature Requests Here: https://tinyurl.com/SwitchBotFeatureRequest
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] Discovered Hub Mini: D5E05FB1A55E
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] Discovered Hub Mini: E8B602CDD814
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] Discovered Hub Mini: F3EA5C129E3C
[29/11/2023, 11:15:30] [SwitchBot] Total SwitchBot Devices Found: 4
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] IR Device Config Not Set: undefined
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202110162029-96333040
[29/11/2023, 11:15:30] [SwitchBot] Restoring existing accessory from cache: Castle DeviceID: 02-202110162029-96333040
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] DIY Light: Castle Using Platform Config Logging: debug
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] DIY Light: Castle Config: {"connectionType":"OpenAPI"}
[29/11/2023, 11:15:30] [SwitchBot] [DEBUG] DIY Light uuid: 02-202110162029-96333040-DIY Light, (4717bb26-263a-4fd6-87e9-78f7d28ac6dc)
[29/11/2023, 11:15:30] [SwitchBot] Total IR Devices Found: 1
Can you try the latest beta:
Click here to find out how to install Beta
I have added the deviceType: WoSweeperMini
as part of the Robot Vacuum Cleaner
that the OpenAPI talks about ,since there isn't any documentation on the Mini Vacuum k10+. We will see if that works for you.
Okay so it’s showing as a light (same if I add it as a device as a vacuum through the plugin settings), and I can turn it on but then later it shows off I’m not sure if that’s all I should be able to do, if anything this works since I mainly need it to start it! Here’s debug if you need anything
[29/11/2023, 18:09:09] [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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,74,97,110,101,116,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,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,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,68,53,69,48,53,70,66,49,65,53,53,69,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,107,105,116,99,104,101,110,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,69,56,66,54,48,50,67,68,68,56,49,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,101,100,114,111,111,109,32,72,117,98,32,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,76,105,118,105,110,103,32,82,111,111,109,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,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,49,49,48,49,54,50,48,50,57,45,57,54,51,51,51,48,52,48,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,97,115,116,108,101,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,76,105,103,104,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,74,97,110,101,116,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,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,34,125,44,123,34,100,101,118,105,99,101,73,100,34,58,34,68,53,69,48,53,70,66,49,65,53,53,69,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,107,105,116,99,104,101,110,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,69,56,66,54,48,50,67,68,68,56,49,52,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,66,101,100,114,111,111,109,32,72,117,98,32,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,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,44,123,34,100,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,67,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,72,117,98,32,77,105,110,105,32,76,105,118,105,110,103,32,82,111,111,109,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,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,49,49,48,49,54,50,48,50,57,45,57,54,51,51,51,48,52,48,34,44,34,100,101,118,105,99,101,78,97,109,101,34,58,34,67,97,115,116,108,101,34,44,34,114,101,109,111,116,101,84,121,112,101,34,58,34,68,73,89,32,76,105,103,104,116,34,44,34,104,117,98,68,101,118,105,99,101,73,100,34,58,34,70,51,69,65,53,67,49,50,57,69,51,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":670,"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}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] statusCode: 200
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] headers: {"date":"Thu, 30 Nov 2023 02:09:09 GMT","content-type":"application/json","content-length":"670","connection":"keep-alive","x-amzn-requestid":"1e331dc8-3a80-42c6-8d59-5165af190cfe","x-amz-apigw-id":"PMI-4GQPIAMEFAA=","x-amzn-trace-id":"Root=1-6567eec5-3cff2e97761c8ae744a3c3dd;Sampled=0;lineage=c8c2b0f2:0|bf95bacf:0"}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] devicesAPI: {"statusCode":100,"body":{"deviceList":[{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202110162029-96333040","deviceName":"Castle","remoteType":"DIY Light","hubDeviceId":"F3EA5C129E3C"}]},"message":"success"}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] devicesAPI Body: {"deviceList":[{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}],"infraredRemoteList":[{"deviceId":"02-202110162029-96333040","deviceName":"Castle","remoteType":"DIY Light","hubDeviceId":"F3EA5C129E3C"}]}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] devicesAPI StatusCode: 100
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] statusCode: 200 & devicesAPI StatusCode: 100
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] DeviceLists: [{"deviceId":"360TY420703023604","deviceName":"Janet","deviceType":"WoSweeperMini","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D5E05FB1A55E","deviceName":"Hub Mini kitchen","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"E8B602CDD814","deviceName":"Bedroom Hub Mini","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"F3EA5C129E3C","deviceName":"Hub Mini Living Room","deviceType":"Hub Mini","hubDeviceId":"000000000000"}]
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] DeviceLists Length: 4
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: undefined
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Discovered WoSweeperMini: 360TY420703023604
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Discovered Hub Mini: D5E05FB1A55E
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Discovered Hub Mini: E8B602CDD814
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Discovered Hub Mini: F3EA5C129E3C
[29/11/2023, 18:09:09] [SwitchBot] Total SwitchBot Devices Found: 4
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] IR Device Config Not Set: undefined
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Discovered DIY Light: 02-202110162029-96333040
[29/11/2023, 18:09:09] [SwitchBot] Restoring existing accessory from cache: Castle DeviceID: 02-202110162029-96333040
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] DIY Light: Castle Using Platform Config Logging: debug
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] DIY Light: Castle Config: {"connectionType":"OpenAPI"}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] DIY Light uuid: 02-202110162029-96333040-DIY Light, (4717bb26-263a-4fd6-87e9-78f7d28ac6dc)
[29/11/2023, 18:09:09] [SwitchBot] Total IR Devices Found: 1
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Device: Janet registerDevice: true
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] Device: Janet connectionType: OpenAPI, will display in HomeKit
[29/11/2023, 18:09:09] [SwitchBot] Restoring existing accessory from cache: Janet DeviceID: 360TY420703023604
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] WoSweeperMini: Janet Using Platform Config Logging: debug
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] WoSweeperMini: Janet Using Platform Config refreshRate: 120
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] WoSweeperMini: Janet Config: {"connectionType":"OpenAPI"}
[29/11/2023, 18:09:09] [SwitchBot] [DEBUG] WoSweeperMini: Janet openAPIRefreshStatus
[29/11/2023, 18:09:10] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Firmware Revision': characteristic value expected string and received undefined. See https://homebridge.io/w/JtMGR for more info.
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic On: false
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic Brightness: 0
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet BatteryLevel: undefined
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet StatusLowBattery: undefined
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini uuid: 360TY420703023604-WoSweeperMini, (b72540f9-ccd2-4201-82e8-a565d428a0df)
[29/11/2023, 18:09:10] [TplinkSmarthome] [C] getValue: Invalid Watts: undefined
[29/11/2023, 18:09:10] [TplinkSmarthome] [M] getValue: Invalid Watts: undefined
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet 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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,77,105,110,105,34,44,34,119,111,114,107,105,110,103,83,116,97,116,117,115,34,58,34,67,104,97,114,103,101,68,111,110,101,34,44,34,111,110,108,105,110,101,83,116,97,116,117,115,34,58,34,111,110,108,105,110,101,34,44,34,98,97,116,116,101,114,121,34,58,49,48,48,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,51,54,48,84,89,52,50,48,55,48,51,48,50,51,54,48,52,34,44,34,100,101,118,105,99,101,84,121,112,101,34,58,34,87,111,83,119,101,101,112,101,114,77,105,110,105,34,44,34,119,111,114,107,105,110,103,83,116,97,116,117,115,34,58,34,67,104,97,114,103,101,68,111,110,101,34,44,34,111,110,108,105,110,101,83,116,97,116,117,115,34,58,34,111,110,108,105,110,101,34,44,34,98,97,116,116,101,114,121,34,58,49,48,48,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":174,"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}
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet statusCode: 200
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet headers: {"date":"Thu, 30 Nov 2023 02:09:10 GMT","content-type":"application/json","content-length":"174","connection":"keep-alive","x-amzn-requestid":"d16233e4-4776-4aad-9699-103131931362","x-amz-apigw-id":"PMI_GGoDoAMEERA=","x-amzn-trace-id":"Root=1-6567eec6-67cadd833495ea8940bc5eac;Sampled=0;lineage=bf95bacf:0"}
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet deviceStatus: {"statusCode":100,"body":{"deviceId":"360TY420703023604","deviceType":"WoSweeperMini","workingStatus":"ChargeDone","onlineStatus":"online","battery":100},"message":"success"}
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet deviceStatus body: {"deviceId":"360TY420703023604","deviceType":"WoSweeperMini","workingStatus":"ChargeDone","onlineStatus":"online","battery":100}
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet deviceStatus statusCode: 100
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet statusCode: 200 & deviceStatus StatusCode: 100
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet openAPIparseStatus
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet On: false
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] Janet BatteryLevel: 100, StatusLowBattery: 0
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic On: false
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic Brightness: 0
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic BatteryLevel: 100
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet updateCharacteristic StatusLowBattery: 0
This is actually the first time that I have ever had anyone open an issue for a Robot Vacuum. I will look into this and let you know what I find.
@MalachiteXD, can you please monitor your logs and see you are being any changes to the workingStatus
on the deviceStatus body?
Example:
[29/11/2023, 18:09:10] [SwitchBot] [DEBUG] WoSweeperMini: Janet deviceStatus: {"statusCode":100,"body":{"deviceId":"360TY420703023604","deviceType":"WoSweeperMini","workingStatus":"ChargeDone","onlineStatus":"online","battery":100},"message":"success"}
We might be able to use this to better update the status, currently I am not using that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Problem
No response
Solution
Add support for K10+ please
Alternatives
No response
Additional context
Logs say device: WoSweeper Mini