hillerpa / Somfy-RTS-RollerShutter-Control-via-ESPhome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Somfy-RTS-RollerShutter-Control-via-ESPhome

This is mainly based on the articel but I had some issues and adopted on some points as well as documented it for my needs.

Roller Shutter sniffing

Hardware required:

  • Ubuntu 20.04 Distribution or something similar
  • RTL-SDR Sniffer e.g. Sniffer

Basic Software required (from blank ubuntu):

  • net-tools for IP detection and ssh access
  • git for git Data
  • build-essential for make
  • rtl-sdr to detect the HW
sudo apt install net-tools
sudo apt install ssh
sudo apt install git
sudo apt install build-essential
sudo apt install rtl-sdr

RTL-SDR Preparation:

  • Clone Repository
  • make C Files
git clone https://github.com/dimhoff/radio_stuff
cd radio_stuff/
make -C converters am_to_ook
make -C decoders decode_somfy

RTL-SDR Sniffing:

sudo  rtl_fm -M am -f 433.42M -s 270K | converters/am_to_ook -d 10 -t 2000 -  | decoders/decode_somfy

Hardware Preparation

Wiring

grafik

I use the NodeMCU V3 which have the same config as the D1 mini. and the new TI-CC1101 design: grafik

ESP32 TI CC1101
GPIO2 GD00 3
GPIO4 GD02 8
GPIO18 SCK 5
3V3 VCC 2
GPIO23 MOSI 6
GPIO19 MISO 7
GPIO5 CSN/CKN 4
GND GND 1

ESPHome Software Config

  • Install in HomeAssistant Settings->Addon -> ESPHome
  • Connect ESP8266 to the PC for initial Flashing

About


Languages

Language:C++ 100.0%