AdyRock / com.switchbot

GNU General Public License v3.0
9 stars 5 forks source link

Add device mini robot k10 #92

Open gicro opened 7 months ago

gicro commented 7 months ago

Hello,

Do you allow to add a robot vacuum cleaner device to the application catalog?

To be able to start the robot from homey.

Thanks

Gilles

AdyRock commented 7 months ago

I will need to check the API document to see what features are supported. Do you have a Switchbot hub or do you require direct connection? The hub/web API is documented but the direct connection isn't, so without a device I can't do much for direct connection.

gicro commented 7 months ago

HelloAbsolutely, I understand that you can’t do for the direct connection.I don't have SwitchBot products except the robot I imagined that homey can control this robot via web api like the other devices of this brand.We hope you will find this solution.Thank for your answer quickly.RegardsGilles @.é de mon iPhoneLe 4 janv. 2024 à 07:48, Adrian Rockall @.> a écrit : I will need to check the API document to see what features are supported. Do you have a Switchbot hub or do you require direct connection? The hub/web API is documented but the direct connection isn't, so without a device I can't do much for direct connection.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

darrelletherington commented 7 months ago

Hi Is there any update on this? I assume sevral features would be available to flowcards as it does have a number of features available via IFTTT but would be good to control direct from Homey Advanced Flow? Thanks Darrell

darrelletherington commented 6 months ago

I will need to check the API document to see what features are supported. Do you have a Switchbot hub or do you require direct connection? The hub/web API is documented but the direct connection isn't, so without a device I can't do much for direct connection.

Hi Just checking to see if any progress on this or if there is any alternative way to add the K10+ into Homey Pro - the new vacuum is proving very popular so I'm sure it would be a good addition to the App? Thanks Darrell

AdyRock commented 6 months ago

Sorry, I've not had time to look into this yet.

darrelletherington commented 6 months ago

Ok, thanks for updating is.

Also, great App, happy to make a donation to ongoing development and if I can help in anyway with testing the K10+, please let me know – very happy to try experimental versions.

Thanks

Darrell

From: Adrian Rockall @.> Sent: Thursday, February 1, 2024 12:03 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Sorry, I've not had time to look into this yet.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1921169486 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYOKJSXZC2FCGNKZK3YRN75RAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRRGE3DSNBYGY . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOZHJIWEWFL5C2CAWWTYRN75RA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTSQK4E4.gif Message ID: @. @.> >

AdyRock commented 6 months ago

I have started to look into this and see that the API document only lists the S1 and S1 Plus, so I'm not sure if this is the same as the K10. So I can see what is reported could someone send me the detected log from there Homey Pro? Open the app settings page, tap on Get Hub Devices, wait for the list to fill and then tap on Send Log.

darrelletherington commented 6 months ago

Hi Adrian

That’s great news, thanks for looking into this.

I’ve sent the log as requested below and also attached a screen shot with this email. I did find that Homey will see a SwitchBot Scene so create a scene on the iOS App to start Vacuum, not tried it in a flow yet but was recognised so I’ll try that as an option too.

Thanks

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 10:17 AM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

I have started to look into this and see that the API document only lists the S1 and S1 Plus, so I'm not sure if this is the same as the K10. So I can see what is reported could someone send me the detected log from there Homey Pro? Open the app settings page, tap on Get Hub Devices, wait for the list to fill and then tap on Send Log.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948104220 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOZCWARA3DV5UYVP2SDYT4W2VAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGEYDIMRSGA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO5L3FMM4YFHLBBE2WDYT4W2VA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUDW3BY.gif Message ID: @. @.> >

AdyRock commented 6 months ago

Unfortunately, GitHub doesn't support attachments via email replies, you will need to login to GitHub and upload the image to a new comment.

darrelletherington commented 6 months ago

Ahh ok, I think it will be same as the log anyway so you should have that via Homey. Let me know if received ok?

Thanks

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 11:47 AM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Unfortunately, GitHub doesn't support attachments via email replies, you will need to login to GitHub and upload the image to a new comment.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948244510 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO2D53PCUCMNJQFEO7DYT5BL7AVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGI2DINJRGA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO43P7CWHYZBPKCOZ4DYT5BL7A5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUD7NB4.gif Message ID: @. @.> >

AdyRock commented 6 months ago

In the app settings there is also a tab for Get Status, could you copy the deviceId from the device list and then paste that into the Get Status tabs Device ID field. Then tap on Read Status and send that log. That will show me the reported properties.

darrelletherington commented 6 months ago

Adrian

All done, you should have it now.

{

"deviceId": "360TY420703022324",

"deviceType": "WoSweeperMini",

"workingStatus": "ChargeDone",

"onlineStatus": "online",

"battery": 100

}

Thanks

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 11:53 AM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

In the app settings there is also a tab for Get Status, could you copy the deviceId from the device list and then paste that into the Get Status tabs Device ID field. Then tap on Read Status and send that log. That will show me the reported properties.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948251606 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOZS3ST6L5OLRIOFTJ3YT5CBVAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGI2TCNRQGY . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOYE7XJWO5HAZEALKTLYT5CBVA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUD725M.gif Message ID: @. @.> >

AdyRock commented 6 months ago

Yep, got all that thank you. Hopefully should be in a test version later today.

darrelletherington commented 6 months ago

Adrian

That’s brilliant news, let me know and I’ll give it a full test.

One thing I forgot to mention but I suspect looking at properties is not possible is on the iOS App there is an option to select room you want to clean but it is not available for scene or exposed to Alexa so guessing not available outside the App but if it was possible to include in a flow it would be excellent.

Thanks for all your support.

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 12:02 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Yep, got all that thank you. Hopefully should be in a test version later today.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948265216 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO5ILLKAU3LGFDS43STYT5DENAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGI3DKMRRGY . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO6MLRX6MPR3RFYHRNTYT5DENA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUEAVQA.gif Message ID: @. @.> >

AdyRock commented 6 months ago

New test version is in the store. It has all the available options, so room is not in the API.

darrelletherington commented 6 months ago

Adrian

Looks brilliant so far. A couple of comments below that may or may not be possible but would add value if possible.

When

Vacuum State Changed – could this be a drop down to what the state has changed to? (be useful for adding timeline entries as you don’t know in advance what states are available – I can work them out but maybe useful for less tech users?)

And

Could there be a “And Vacuum stat is” ?? would be useful

Then

Start – works perfectly

Stop – works perfectly

Dock – fails, message “card errored after 8ms” Error: Flow Card not registered (type: action, id: dock)

Set power – still testing

Thanks again, brilliant work.

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 2:59 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

New test version is in the store. It has all the available options, so room is not in the API.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948538860 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYONYIKTWTH7COOLHLYT5X45AVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGUZTQOBWGA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO4IEEZKCH6I2NFJR4LYT5X45A5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUERL6Y.gif Message ID: @. @.> >

darrelletherington commented 6 months ago

Battery status works perfectly in app too.

Thanks.

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 2:59 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

New test version is in the store. It has all the available options, so room is not in the API.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948538860 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYONYIKTWTH7COOLHLYT5X45AVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGUZTQOBWGA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO4IEEZKCH6I2NFJR4LYT5X45A5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUERL6Y.gif Message ID: @. @.> >

gicro commented 6 months ago

New test version is in the store. It has all the available options, so room is not in the API.

Hello,

Where can I find this test version to test it? Thank for your work.

Gilles.

darrelletherington commented 6 months ago

Use this

https://homey.app/en-gb/app/com.switchbot/SwitchBot/test/

From: gicrozat @.> Sent: Friday, February 16, 2024 4:41 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

New test version is in the store. It has all the available options, so room is not in the API.

Hello,

Where can I find this test version to test it? Thank for your work.

Gilles.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948849962 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYHNVTSDRWAHWP45J3YT6D2XAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA2DSOJWGI . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOY2VOA4VWSHQQEWJXLYT6D2XA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUFELSU.gif Message ID: @. @.> >

gicro commented 6 months ago

Thank for quickly. I test now.

AdyRock commented 6 months ago

There will be a new test version in a minute with the bug fixed and the new requests added

AdyRock commented 6 months ago

It's in the store now, so let me know how it goes.

gicro commented 6 months ago

Work without hub switchbot :) I just ordered the action of cleaning and returning to the station. I will test it again. I'll come back if I have a remark.

For the information, I activated the API option from the SWITCHBOT application as I followed the instructions on this link https://github.com/OpenWonderLabs/SwitchBotAPI.

If we can pilot the K10 robot without using SwitchbotAPI?

Thank you for everything. Gilles

AdyRock commented 6 months ago

I guess it uses WiFi to connect directly to the Switchbot cloud.

darrelletherington commented 6 months ago

One small bit on state, says “clearing”, should this be “cleaning”?

Also, just tried trigger on state change to “Clearing” in advanced flow and didn’t trigger but variable did change so may be the Homey, will do some more checks.

Darrell

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 4:48 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

It's in the store now, so let me know how it goes.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1948866902 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYFKCQ47XIHHGUHNCLYT6EVLAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA3DMOJQGI . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO7ZEU43UTO6EQY6NBTYT6EVLA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUFFMVM.gif Message ID: @. @.> >

AdyRock commented 6 months ago

I did wonder that myself, so copied and pasted the value from the API document. It is possibly a spelling error in there, but as I don't have a device I could only go with it. If you can say for sure it's cleaning then I will change it and report the error to SwitchBot.

darrelletherington commented 6 months ago

Just checked app on iPhone and all references are clean or cleaning so think must be typo.Darrell Best regards Darrell EtheringtonTelephone: +44 7768 107111On 16 Feb 2024, at 17:59, Adrian Rockall @.***> wrote: I did wonder that myself, so copied and pasted the value from the API document. It is possibly a spelling error in there, but as I don't have a device I could only go with it. If you can say for sure it's cleaning then I will change it and report the error to SwitchBot.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

AdyRock commented 6 months ago

OK, I have changed the clearing to cleaning and will report the error that's in the API documents. New test version is now in the store.

darrelletherington commented 6 months ago

Ok thanks, I’ll try and test all cards tomorrow and let you know.Best regards Darrell EtheringtonTelephone: +44 7768 107111On 16 Feb 2024, at 19:52, Adrian Rockall @.***> wrote: OK, I have changed the clearing to cleaning and will report the error that's in the API documents. New test version is now in the store.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

darrelletherington commented 6 months ago

Hi Adrian

Fab work on this, couple more bits I’ve found during testing but nothing major:

Also, an observation, in the setup for SwitchBot App I couldn’t see an obvious place to enter account credentials or is this just because it is experimental version? Mine had somehow got lost but found the option on the device settings un try to repair may be by design I guess but might be confusing for less techy users?

Thanks again.

Darrell

Vacuum Status in iOS App shows Clearing not Cleaning

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 7:52 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

OK, I have changed the clearing to cleaning and will report the error that's in the API documents. New test version is now in the store.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1949230692 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO7LJDLX555YI6H72A3YT62GFAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGIZTANRZGI . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOYGIM6ZZ6VZAEGH64LYT62GFA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUF3TGI.gif Message ID: @. @.> >

AdyRock commented 6 months ago

Interesting, the status is a text field that just shows that value that is returned by the API, so it seems clearing is not a typo in the document. I will double check dormat again, but I copied and paste the values from the document.

Account details are entered the first time a device is added and then the token is remembered. This is the way Athom want it to be and the app uses the standard OAUTH2 implementation. Also, Homey cloud has no app settings, so the only way to enter anything is via a device.

I will check the quiet setting.

darrelletherington commented 6 months ago

Adrian

Understood on the OAUTH2, I think mine somehow lost the token when upgrading App but no worries. It is weird on the clearing bit as SwitchBot’s App refers to it as Cleaning. Let me know if you want to me test anything, I’m away for a couple of days but can do a full test of all cards when I’m back if you make any changes.

Thanks

Darrell

From: Adrian Rockall @.> Sent: Saturday, February 17, 2024 9:55 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Interesting, the status is a text field that just shows that value that is returned by the API, so it seems clearing is not a typo in the document. I will double check dormat again, but I copied and paste the values from the document.

Account details are entered the first time a device is added and then the token is remembered. This is the way Athom want it to be and the app uses the standard OAUTH2 implementation. Also, Homey cloud has no app settings, so the only way to enter anything is via a device.

I will check the quiet setting.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1950403128 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO2MSGBK56GE5FVHLMLYUERKVAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGQYDGMJSHA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO3VFKC3OMFF46Y7PMDYUERKVA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUIDFDQ.gif Message ID: @. @.> >

darrelletherington commented 5 months ago

Hi Adrian

Sorry, I had to take an urgent trip away so didn’t get chance to do any more testing. I’m back now so will do that in next day or so. I’ll create a flow to test all cards and let you know how it goes.

Thanks again.

Darrell

From: Adrian Rockall @.> Sent: Saturday, February 17, 2024 9:55 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Interesting, the status is a text field that just shows that value that is returned by the API, so it seems clearing is not a typo in the document. I will double check dormat again, but I copied and paste the values from the document.

Account details are entered the first time a device is added and then the token is remembered. This is the way Athom want it to be and the app uses the standard OAUTH2 implementation. Also, Homey cloud has no app settings, so the only way to enter anything is via a device.

I will check the quiet setting.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1950403128 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO2MSGBK56GE5FVHLMLYUERKVAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGQYDGMJSHA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO3VFKC3OMFF46Y7PMDYUERKVA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUIDFDQ.gif Message ID: @. @.> >

darrelletherington commented 5 months ago

Hi Adrian

Sorry for late reply, been away for a few days but back now and did a bit more testing, I think I found out why my flows were not working and in fact the ‘when’ card for state changed still shows charging even after vacuum has started. It seems to be there is a variable called ‘state’ (shown on the when card) and also a variable called ‘status’ (available on a then card). The status one does seem to reflect what the vacuum is doing i.e. charging, cleaning etc. Does this make sense?

Also, it does still say clearing on status variable and not cleaning as it does in the App.

I’ll continue testing and feedback but thanks again for adding this.

Darrell

From: Adrian Rockall @.> Sent: Saturday, February 17, 2024 9:55 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Interesting, the status is a text field that just shows that value that is returned by the API, so it seems clearing is not a typo in the document. I will double check dormat again, but I copied and paste the values from the document.

Account details are entered the first time a device is added and then the token is remembered. This is the way Athom want it to be and the app uses the standard OAUTH2 implementation. Also, Homey cloud has no app settings, so the only way to enter anything is via a device.

I will check the quiet setting.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1950403128 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO2MSGBK56GE5FVHLMLYUERKVAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGQYDGMJSHA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO3VFKC3OMFF46Y7PMDYUERKVA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUIDFDQ.gif Message ID: @. @.> >

darrelletherington commented 5 months ago

Sorry, I meant to attached the screen grab too showing the overlap of the two variables – this grab was taken while the vacuum is cleaning.

From: Darrell Etherington @.> Sent: Tuesday, March 5, 2024 4:56 PM To: 'AdyRock/com.switchbot' @.>; 'AdyRock/com.switchbot' @.> Cc: 'Comment' @.> Subject: RE: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Hi Adrian

Sorry for late reply, been away for a few days but back now and did a bit more testing, I think I found out why my flows were not working and in fact the ‘when’ card for state changed still shows charging even after vacuum has started. It seems to be there is a variable called ‘state’ (shown on the when card) and also a variable called ‘status’ (available on a then card). The status one does seem to reflect what the vacuum is doing i.e. charging, cleaning etc. Does this make sense?

Also, it does still say clearing on status variable and not cleaning as it does in the App.

I’ll continue testing and feedback but thanks again for adding this.

Darrell

From: Adrian Rockall @. @.> > Sent: Saturday, February 17, 2024 9:55 PM To: AdyRock/com.switchbot @. @.> > Cc: darrelletherington @. @.> >; Comment @. @.> > Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Interesting, the status is a text field that just shows that value that is returned by the API, so it seems clearing is not a typo in the document. I will double check dormat again, but I copied and paste the values from the document.

Account details are entered the first time a device is added and then the token is remembered. This is the way Athom want it to be and the app uses the standard OAUTH2 implementation. Also, Homey cloud has no app settings, so the only way to enter anything is via a device.

I will check the quiet setting.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-1950403128 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO2MSGBK56GE5FVHLMLYUERKVAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGQYDGMJSHA . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MO3VFKC3OMFF46Y7PMDYUERKVA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUIDFDQ.gif Message ID: @. @.> >

AdyRock commented 5 months ago

Unfortunately GitHub doesn't support email attachments, so you will need to go to the issue and insert the image.

gicro commented 4 months ago

Hello Is it normal that we can no longer use cloud connection to operate the K10 vacuum robot because the test mode application for Homey is disappearing today?

thank Gilles

AdyRock commented 4 months ago

I submitted the test app for review today, so maybe that has caused an issue.

Pehbor1 commented 2 months ago

Hi,

I'm trying to connect my mini K10+ to Homey.

I have the Hub2 and the K10 installed in the switch it app. In the Homey app I can see both devices when I press Get Hub Devices. If I try to get status on the device id it only says error.

And when I try to add a device the app says no new devices found.

Any lead to so you have a step by step manual to see if I missed something.

Help very appreciated.

AdyRock commented 2 months ago

Could you send the Log?

Pehbor1 commented 2 months ago

Hi,

Log sent.

Skickat från Outlook för iOShttps://aka.ms/o0ukef


Från: Adrian Rockall @.> Skickat: Tuesday, June 18, 2024 10:27:30 PM Till: AdyRock/com.switchbot @.> Kopia: Pehbor1 @.>; Comment @.> Ämne: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Could you send the Log?

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2176912107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEXNHXZFQJYYUN6O6OOSSCDZICJ3FAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHEYTEMJQG4. You are receiving this because you commented.Message ID: @.***>

darrelletherington commented 2 months ago

Hi

I’m away at the moment but thought I’d check my Homey and saw I had an error too although mine is not connected via Hub, just via Cloud/Wi-Fi. Not sure if something changes recently but I got the following message. If anything I can do top help while away (or back home next weekend), let me know.

Cheers

Darrell

From: Adrian Rockall @.> Sent: Tuesday, June 18, 2024 1:28 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Could you send the Log?

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2176912107 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO7YJGMFRNC3KGY4RLLZICJ3FAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHEYTEMJQG4 . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOYKSZTBM5QZDNOINKLZICJ3FA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUBYEFOW.gif Message ID: @. @.> >

Pehbor1 commented 1 month ago

Hi,

Grusa that mine is wifi connected as well. I got no other option when I set it up. Thought that you always needed a hub? But that might be the standard hub? I bought the hub2.

Skickat från Outlook för iOShttps://aka.ms/o0ukef


Från: darrelletherington @.> Skickat: Wednesday, June 19, 2024 2:07:55 AM Till: AdyRock/com.switchbot @.> Kopia: Pehbor1 @.>; Comment @.> Ämne: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Hi

I’m away at the moment but thought I’d check my Homey and saw I had an error too although mine is not connected via Hub, just via Cloud/Wi-Fi. Not sure if something changes recently but I got the following message. If anything I can do top help while away (or back home next weekend), let me know.

Cheers

Darrell

From: Adrian Rockall @.> Sent: Tuesday, June 18, 2024 1:28 PM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

Could you send the Log?

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2176912107 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MO7YJGMFRNC3KGY4RLLZICJ3FAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHEYTEMJQG4 . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOYKSZTBM5QZDNOINKLZICJ3FA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUBYEFOW.gif Message ID: @. @.> >

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2177279330, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEXNHX5ZTQK6754TTUCJRMLZIDDVXAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGI3TSMZTGA. You are receiving this because you commented.Message ID: @.***>

AdyRock commented 1 month ago

The hub is required for all the BLE devices, but devices that support wifi don't use it.

Pehbor1 commented 1 month ago

Okej, so the Wifi devices should just direct connect to the app in Homey or are they not supported. Reading back it seems like it should be working?

Skickat från Outlook för iOShttps://aka.ms/o0ukef


Från: Adrian Rockall @.> Skickat: Thursday, June 20, 2024 4:02:41 PM Till: AdyRock/com.switchbot @.> Kopia: Pehbor1 @.>; Comment @.> Ämne: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

The hub is required for all the BLE devices, but devices that support wifi don't use it.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2180790235, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEXNHX6XMCQ5BN75JGLFPWTZILOIDAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQG44TAMRTGU. You are receiving this because you commented.Message ID: @.***>

AdyRock commented 1 month ago

I have just realised you have the K10+. The SwitchBot documents don't specifically list that model yet, so it may not be supported by the API, but I have now published an update to the app so it will be recognised.

darrelletherington commented 1 month ago

Hi

Just travelling back home, will test this weekend and let you know, thanks for update and continued support.

Cheers

Darrell

From: Adrian Rockall @.> Sent: Friday, June 21, 2024 8:43 AM To: AdyRock/com.switchbot @.> Cc: darrelletherington @.>; Comment @.> Subject: Re: [AdyRock/com.switchbot] Add device mini robot k10 (Issue #92)

I have just realised you have the K10+. The SwitchBot documents don't specifically list that model yet, so it may not be supported by the API, but I have now published an update to the app so it will be recognised.

— Reply to this email directly, view it on GitHub https://github.com/AdyRock/com.switchbot/issues/92#issuecomment-2182189516 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFO2MOYTJGSPI3E26VYYP63ZIPKPFAVCNFSM6AAAAABBMOMBTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGE4DSNJRGY . You are receiving this because you commented. https://github.com/notifications/beacon/BFO2MOYILCKXSX6HHN3B2PDZIPKPFA5CNFSM6AAAAABBMOMBTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUCCGI4Y.gif Message ID: @. @.> >