SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Add Battery and Firmware Info to Device status

Open strunker opened this issue 4 years ago • 13 comments

Is that something that can perhaps be added as well? Would be nice to be able to query for that and monitor for when it starts to get low, do not believe the app warns\monitors in its current form.

thanks.

strunker avatar Dec 31 '20 06:12 strunker

@SwitchBot-Wonderlabs Absolutely. Most devices of SwitchBot work with Battery. The battery level of a device should be available via Open API. Looking forward to have this available at a given time in homebridge-switchbot-openapi @donavanbecker

DJay-X avatar Dec 31 '20 14:12 DJay-X

Thirded!

nigels0 avatar Jan 04 '21 13:01 nigels0

Yes, I think it's important to have the information, especially when we have many devices.

MSBIZ avatar Mar 12 '21 08:03 MSBIZ

I know developers are very busy with new switch-bot products but could this API improvement be implemented? Not sure it will take so much time, it would be only an attribute to add as this information can be get even remotely.

Nardol avatar May 14 '21 09:05 Nardol

Yes, please! :) Also, would be nice to be able to read solar panel connectivity as well. Opens up a lot of opportunities

alamers avatar Jul 10 '21 12:07 alamers

Yep, would be very useful. I get it via BLE so don't see why it can't be in the API.

AdyRock avatar Oct 08 '21 07:10 AdyRock

Are any of the improvements or enhancements pinned on Git going to be worked? Its been literally years now these issues have been opened for. Thanks.

strunker avatar Jan 07 '22 02:01 strunker

Would be very useful. We could prevent bots from stopping working!

gpuccio87 avatar Feb 26 '22 14:02 gpuccio87

Would be very useful. We could prevent bots from stopping working!

I wouldn't hold your breath. I stopped investing in Switchbot products\code due to lack of API support. It's really not acceptable for a mainstream product, not in 2022. API first has been a concept for like years now, don't think Switchbot got that memo.

ganlbarone avatar Feb 27 '22 12:02 ganlbarone

Yes, integrate this please! Thank you very much :-)

Plasmachef avatar Aug 03 '22 07:08 Plasmachef

@chenliuyun can you help with this one?

AdyRock avatar Aug 30 '22 07:08 AdyRock

Another +1 on this feature request to return battery percentage via status command.

For example:

{
    "statusCode": 100,
    "body": {
        "deviceId": "E2F6032048AB",
        "deviceType": "Bot",
        "currentBattery": 100
    },
    "message": "success"
}

slimninja avatar Nov 11 '22 23:11 slimninja

Please add possibility to see Smart Lock battery status on Homey. And for other devices.

Francas555 avatar Nov 13 '22 18:11 Francas555

I'd like to see battery status to, from my Switchbot devices.

robindelange avatar Jan 31 '23 17:01 robindelange

Hi guys, we've managed to implement battery status and firmware version for most of the products.

Minsheng avatar Mar 22 '23 08:03 Minsheng

Wow, took over 2 years to complete, but yeah. I will take a look for this later on, this will be a useful addition for sure.

strunker avatar Mar 22 '23 12:03 strunker

Hi guys, we've managed to implement battery status and firmware version for most of the products.

Thank you for the hard work! Can you confirm if this is available in the v1.0 API, or only in the V1.1 API? Us HomeAssistant users are still mostly using the V1.0 API (https://community.home-assistant.io/t/switch-bot-api-integration/270550)

slimninja avatar Mar 22 '23 16:03 slimninja