[Release] Sonoff RF Bridge - Window Shade,Curtain,Blind and Switch,Plug - Device Drivers
These are the device drivers that I use to control my roller shades, curtain motors, and on/off plugs with my Sonoff RF bridge. The shade/curtain driver supports, Set level/Position, Start level change up/down, and stop level change.
All drivers are based on the Hubitat community driver httpGetSwitch
https://raw.githubusercontent.com/hubitat/HubitatPublic/master/examples/drivers/httpGetSwitch.groovy
The shade/curtain driver would not be possible without the work of Brian Wilson @brianwilson and his work on the Neo-Smart-Controler for blinds Neo Smart Controller for blinds
To use these drivers, your Sonoff RF bridge needs to be flashed with both Tasmota and Portisch firmwares (instructions for flashing here) - Sonoff RF Bridge 433 - Tasmota
Once flashed, You will need to learn your RF codes from your RF remotes. Enter "Raw 177" in the console and push the corresponding button on the remote you want to learn. you then need to convert the "B1" codes to "B0" codes using Bitbucket converter http://bbconv.hrbl.pl/
Additional instruction details are located at the bottom of the flashing instruction page.
These drivers have been working well for me so I thought I would share them………
Shade driver for button controllers
- Usage case - use for button control when you have a z wave or zigbee shade that tracks level changes but does not have a "stop" command
-examples-
push button - if shade is opening/closing" = "stop" , else = "open/close"
or
push and hold = "open" , release "stop"
Side notes
To keep the curtain shades "in sync" they should only be controlled by hubitat. I use Google, Lutron Pico's, and Automation through hubitat to control mine. If you use the remote that came with your motor, your device in hubitat will not be aware of the changes.
The "Level" is time based. It's a very good estimate but not always perfect since signals could be delayed etc... you can adjust the travel time for the best results.
**(updated 9/16/2020 -Added sending "RF Raw Off" after sending commands)
***(updated 9/17/2020 -Added option to disable sending "RF Raw Off", for those that don't need that)
****(updated 10/18/2020 -Added Simple Shade driver for button controllers *
****(updated 11/2/2021 -Added Stop Position Change and Start Position Change commands for Curtain/Shade Driver *