I'm using your curtain driver but having a bit of an issue, wondering if you could help?
The switchbot system driver has created my curtain device, and if I go into that device and use the SwitchBot app, I can see the "Current States" changing from open to closed (although they're the wrong way around for me).
However I cant control it from Hubitat, I dont see any logs generated when I click anything.
E.g. I've tried On/Off toggles, I've tried Set Level/Set Position - but none seem to actually send anything to the device.
I am a noob using hubitat, can someone show a step by step on how to execute a switchbot ir command,for example volumeAdd (I already have my curtains working)
Hi @mdjuarez, welcome to the hubitat family You've posted your question in the thread about my driver which only supports the Bot. And no other features/devices of SwitchBot.
You may referring to the driver @tomw created. In that case, please post your question in this thread: SwitchBot gets an open API!
Does this work with a Hub Mini?
I have the Open Token and the curl command works, however I cannot get either of the two drivers to control my Bots.
I see the following in the curl command however -
"enableCloudService":false,"hubDeviceId":"000000000000"
Hi @philpugh It does work with a Hub Mini (I use one myself ). I assume you have the bots connected to the hub and you can control them using the hub.
To check this: you need to see, in the SwitchBot app, a cloud with the each of the bots you want to control (and not a bluetooth symbol).
Hope this helps.
In the settings of each bot, there is an option "Cloud Service". This should be set to "On". The message of the curl command suggests that that is not the case.
If that is set to "on", your hub is properly connected to the internet and you still get the "enabledCloudService: false", then you may need to check with SwitchBot on how to resolve that....
Apologies for the noobie question, but I just got my first (and likely only) bot and just realized it was only bluetooth. So I suppose I need the hub to integrate it with hubitat, but curious if I am able to use something more universal like the Bond or Broadlink instead of the bot one..?
Hi @bpgd486 , interesting question. It would be an interesting feature for sure. However, this battery percentage value is not send back from the hub using the local api So, unfortunately no....
Didn't realise it was local cool. As the battery is of lower importance, couldn't the remote API be used for that?
But then for me when it comes to the battery life of my meters they were showing zero bars for months before they died.