AdyRock / com.switchbot

GNU General Public License v3.0
11 stars 6 forks source link

Unable to detect push on/off on Switchbot BOT #113

Open felixoslo opened 6 months ago

felixoslo commented 6 months ago

I use Switchbot BOT to open a gate, it's impossible to make a flow to detect if the Bot is turned on/off or pushed.

AdyRock commented 6 months ago

There is a Flow trigger card for turned on and a condition card for is on. What else do you need,?

felixoslo commented 6 months ago

The BOT is in push mode, I can only chose “when turned on” and off and they don’t trigger when the BOT is in push bode. The reason I need it is that when the BOT pushes once, it should always push one more time after x seconds.

Fra: Adrian Rockall @.> Sendt: tirsdag 23. april 2024 22:21 Til: AdyRock/com.switchbot @.> Kopi: Thomas Klevenberg (klevenberg.no) @.>; Author @.> Emne: Re: [AdyRock/com.switchbot] Unable to detect push on/off on Switchbot BOT (Issue #113)

There is a Flow trigger card for turned on and a condition card for is on. What else do you need,?

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/113#issuecomment-2073375438, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJMGFB5JJ2ZATMBUDNKWUP3Y627CTAVCNFSM6AAAAABGVHPPDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGM3TKNBTHA. You are receiving this because you authored the thread.Message ID: @.**@.>>

AdyRock commented 6 months ago

Ok, I will check that as I thought it should still trigger the on/off.

AdyRock commented 6 months ago

I think I have found a solution to the On/Off not triggering in Push Mode and applied a possible fix. Unfortunately, my Bot is packed in a box somewhere while I decorate / refit my study, so I can't test it yet. As soon as I can check it and post a test version I will let you know, but it might be a week or two as making all the new furniture for the study is taking longer than expected.

felixoslo commented 6 months ago

Thx!!!

Fra: Adrian Rockall @.> Sendt: onsdag 24. april 2024 10:22 Til: AdyRock/com.switchbot @.> Kopi: Thomas Klevenberg (klevenberg.no) @.>; Author @.> Emne: Re: [AdyRock/com.switchbot] Unable to detect push on/off on Switchbot BOT (Issue #113)

I think I have found a solution to the On/Off not triggering in Push Mode and applied a possible fix. Unfortunately, my Bot is packed in a box somewhere while I decorate / refit my study, so I can't test it yet. As soon as I can check it and post a test version I will let you know, but it might be a week or two as making all the new furniture for the study is taking longer than expected.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/113#issuecomment-2074370795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJMGFB6H4PMB7O47V2DCD53Y65TRJAVCNFSM6AAAAABGVHPPDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGM3TANZZGU. You are receiving this because you authored the thread.Message ID: @.**@.>>