Control your Somfy receivers with a Sonoff RF Bridge. Generate RfRaw B0 commands from a sniffed B1 string.
git clone https://github.com/sehaas/yfmos
cd yfmos
virtualenv .
. ./bin/activate
pip install -r requirements.txt
Put your Sonoff RF Bridge in RfRaw sniffing mode and long-press one of the buttons on you Somfy remote.
Initialize new profile with a custom (unique) device ID. The B1 string is mainly used to initialize the bucket timings. If the device ID is omitted, the original device ID will be used.
python yfmos.py init --device 0xaabbcc --rollingcode 0 --profile kitchen AA B1 05 09F6 12CA 04EC 0276 68BA 000000000000001222233333323323333332332223333332332223333332233332233332233222333322332222222234 55
Generate a new pairing code.
python yfmos.py gen --profile kitchen --repeat 8 --command PROG
Put your receiver in programming mode (holding PROG on an already paired remote until the shades make a sharp movement). Broadcast the resulting B0 string with the Sonoff RF Bride - the shades should confirm the new remote with a movement.
Please feel free to submit feedback, bug reports or pull requests