Bypassing Clouds

Hi Everybody,

Personally I hate all these Cloud-based automation and I am very happy Hubitat is not the one.
(Another one I was using for 20+ years is ISY-994IZ. But this one is Insteon (was not bad) plus
ether ZWave OR Zigbee but unfortunately not both at the same time).
As of today I have to use Clouds (Alexa and TuyaSmart) only for the Shades and Curtains.
I have 5 SwitchBot for Curtains one TuyaSmart for Vertical Blinds one one Zigbee enabled
(I am not sure what is a native application for this one but I am using Alexa as a middle man for it).

My BIG dream is to get rid from all these Clouds.

Very BIG THANKS for tomw.
I am using his SwitchBot Curtain Drivers for all my 5 SwitchBot Curtains.
I am very happy, I can bypass Alexa but SwitchBot Cloud is still in place.
I hope at some point SwitchBot will release API for the local WiFi Control.
Also according to tomw there is an API for the Bluetooth local control
and he said he already has something written for for the Raspberry PI.
This will be one extra device (Raspberry PI) but this will MUCH BETTER
than whatever Cloud.

My Vertical Blinds as of today are using two Clouds: TuyaSmart and Alexa.
I will be very happy to get rid from both this Clouds but at least (I think)
I can bypass Alexa. I was searching everything I could but I did not find
a way how to achieve this goal. It might be possible to reflash the controller
with Tasmota but I am afraid to brake this toy.
Any ideas/hints will be a BIG appreciation.

Finally my Window Shade already a Zigbee enabled.
(I was waiting extra few month for Zigbee enabled motor).
I can pair this one directly with Hubitat but unfortunately there is/was
not any ready to go driver for the direct control.
As a result currently I am using Alexa as a middle man.
But I am ready to write my Driver for this toy.
Here is a device capabilities:

fingerprint
inClusters : "0000,0001,0003,0004,0005,0102",
outClusters : "0019",
manufacturer : "yooksmart",
model : "D10110".

So, it will be a very BIG help for me if one of the driver expert
can point me how to start writing a driver.
Furthermore if someone will be willing to draw at least a template
for me will make me extremely happy.

PS.
I am very experienced EE with C/C++ programming skills
but very noviece (basically 0 experience) to all these modern high level languages.
I can design very complex FPGA-based custom electronics but all these Hubitat
projects are 99.999% just a software design and development (Drivers and/or Applications).

Thank you,

  • Vitaliy
1 Like

You can bypass the SwitchBot cloud with a Raspberry Pi. From my experience with a the SwitchBot robot arm, the integration is not problem free and not super fast.

I am not aware of a way to use Tuya devices locally on Hubitat without flashing them. Home Assistant has this option, so I hope we will have it at some point.

1 Like

Thank you very much for the quick response and ofer.
Certainly I will try this option/solution because at this time
bypassing Clouds is my highest priority for my HA project(s).
But as I already mentioned, this will take me a significant time
because I have to learn a lot how to deal with all these SW
pieces in order to put them together and make them working.
But final expected result is definitely worth it.

I do have few RPIs around and I guess one even with built-in
Bluetooth, WiFi etc.
Silly question:
Is it any way you can build me just a ready to go image.
If "yes" I will be extremely happy.
Otherwise I will have to start learning all this SW development things.
This by itself also will be very useful experience.
I am just asking.

Thank you,

  • Vitaliy

I ported this driver over from ST for another member, and at a quick glance it looks like it might work for you:

https://raw.githubusercontent.com/thebearmay/hubitat/main/development/stZigbeeShade.groovy

1 Like

Thank you very much for shearing your code.
I will try it "as is" but I am almost sure it ill not work without adjusting.
Anyway this will be very good starting point.

Thank you very much,

  • Vitaliy
1 Like

I used the python-host API that you linked to write local support for the HT meter and bot by exposing it through a websocket API that I threw together. But as you mentioned, that library has some reliability issues and wasn't really faster than the cloud anyway. So I ended up just keeping mine integrated with Hubitat via the cloud API.

tomw,
Thank you very much for your input.
Taking it in account I will keep my SwitchBot Curtains on yours drivers.
So far everything works very well but Cloud is still in a middle.
Who knows when it will/may start raining or what is even worst - thunderstorming
(or even bigger disaster, unfortunately cases are left and right as we speak).
my very strong opinion - Clouds must not be used for HA.
Clouds could/may be good only for whatever maintenance (even this better
to be local) but absolutely must not be used for real time controls/applications.
In my case so far only Curtains, Blinds and Sheds are using Clouds.
But my goal is to get rid from them all together.

1 Like

I tried your driver to use a roller shutter that normally work with Tuya. I can actuate (not tested yet with the real shutter), but I can't have button on the dashboard. I guess the driver has no buttons capability. Any idea ? Thanks ! Serge

@user1376 you can try also this driver: [RELEASE] Zemismart Zigbee Blind Driver - #233 by kkossev
It has a button capability for easier control of the roller shutter from HE dashboard/.

2 Likes