ESPSomfy-RTS
A controller for Somfy RTS shades and blinds
0
Project description

๐ Overview
ESPSomfy-RTS๋ Somfy RTS(433MHz ๊ณ์ด) ์ ๋ ๋ธ๋ผ์ธ๋/์ปคํผ/์ด๋ ๋ฑ์ ESP32 ๊ธฐ๋ฐ ์ปจํธ๋กค๋ฌ๋ก ์ ์ดํ๊ณ , ์น UIยท์์ผยทMQTT๋ก ํ ์คํ ๋ฉ์ด์ (์: Home Assistant)๊ณผ ์ฐ๋ํ๋ ์คํ์์ค ํ๋ก์ ํธ์ ๋๋ค.
ํนํ โ๊ธฐ์กด ๋ฆฌ๋ชจ์ปจ๋ ๊ณ์ ์ฐ๊ณ ์ถ๋คโ๋ ์๊ตฌ๋ฅผ ๋ฐ์ํด, ๋จ์ ์ก์ ๋ง์ด ์๋๋ผ ์ธ๋ถ ๋ฆฌ๋ชจ์ปจ ์กฐ์์ ๊ฐ์ง(์์ )ํด ์์น/์ํ๋ฅผ ํจ๊ป ๊ด๋ฆฌํ๋ ค๋ ๋ฐฉํฅ์ฑ์ด ๊ฐ์กฐ๋ฉ๋๋ค.
์ด๋ฒ PR #633์์ WIZnet W5500(SPI Ethernet) ๊ธฐ๋ฐ ์ ์ ์ด๋๋ท ์ง์ ์ถ๊ฐ๋ก, Wi-Fi๊ฐ ๋ถ์์ ํ๊ฑฐ๋ PoE/์ ์ ๋ง์ด ํ์ํ ์ค์น ํ๊ฒฝ๊น์ง ๋ฒ์๋ฅผ ๋ํ์ต๋๋ค.
๐ Features
- Somfy RTS/RTx(433MHz) ๋ค์ ์ปค๋ฒ ์ ์ด
- ์ต๋ ๊ฐ๋ณ 32๊ฐ, ๊ทธ๋ฃน 16๊ฐ๊น์ง ์ ์ด๋ฅผ ๋ชฉํ๋ก ์ค๋ช ๋ฉ๋๋ค.
- ์น UI + ์์ผ + MQTT ์ ๊ณต
- ๋ก์ปฌ ์น ํ๋ฉด์์ ์ง์ ์กฐ์ ๊ฐ๋ฅํ๊ณ , ์๋ํ ์์คํ ์ MQTT/์์ผ์ผ๋ก ์ฐ๋ํฉ๋๋ค.
- Home Assistant ์ฐ๋(HACS ๊ธฐ๋ฐ ํตํฉ) ์ํ๊ณ ํ์ฅ
- Home Assistant ์ปค๋ฎค๋ํฐ์์ ์ฅ๊ธฐ ์ค๋ ๋๋ก ์ด์๋ ์ ๋๋ก ์ค์ ์ฌ์ฉ/๋ฌธ์๊ฐ ํ๋ฐํฉ๋๋ค.
- CC1101 ํธ๋์๋ฒ(SPI) ๊ธฐ๋ฐ ์กยท์์ ์ค์ฌ์ ์ค๊ณ
- ESP32 + CC1101 ์กฐํฉ์ผ๋ก RTS ์ ํธ๋ฅผ ๋ค๋ฃจ๋ฉฐ, โ๊ธฐ์กด ๋ฆฌ๋ชจ์ปจ๋ ๋ณํ ์ฌ์ฉโ ์๋๋ฆฌ์ค๋ฅผ ๊ณ ๋ คํฉ๋๋ค.
- (์ ๊ท ํฌ์ธํธ) W5500 ๊ธฐ๋ฐ ์ ์ Ethernet ์ง์(๋ณด๋ ํ๋ฆฌ์
ํฌํจ)
- PR์์ W5500์ ESP-IDF
esp_eth_*API๋ก ์ง์ ์ด๊ธฐํ, DHCP/DNS ์๋ ๊ด๋ฆฌ, ์น UI์์ SPI ํ ์ค์ ๋ฐ Waveshare ESP32-S3 W5500 PoE ๋ณด๋ ํ๋ฆฌ์ ๊น์ง ํฌํจํฉ๋๋ค.
- PR์์ W5500์ ESP-IDF
๐ System Architecture
๊ตฌ์ฑ ์์
- MCU: ESP32/ESP32-S3 ๊ณ์ด
- RF(433MHz): CC1101 ํธ๋์๋ฒ(ESP32์ SPI ์ฐ๊ฒฐ)
- ๋คํธ์ํฌ: Wi-Fi ๋๋ Ethernet(W5500, SPI)
- ์๋น์ค ์ธํฐํ์ด์ค: ๋ด์ฅ Web UI, Socket, MQTT
- ์ฐ๋ ํ๋ซํผ(์ ํ): Home Assistant(HACS)
๐ Role and Application of the WIZnet's Chip
์ฌ์ฉ๋ WIZnet ์นฉ: W5500
๋คํธ์ํฌ์์์ ์ญํ
- ESP32-S3 ๋ฑ MCU๊ฐ ์ ํ๋ฆฌ์ผ์ด์ ์ ์ํํ๊ณ , W5500์ด ์ ์ ์ด๋๋ท ๋งํฌ(๋ฌผ๋ฆฌ/ํ์ ๊ณ์ธต) ๋ฐ TCP/IP ์คํ๋ก๋ฉ์ ๋ด๋นํ๋ ๊ตฌ์กฐ์ ๋๋ค. (๋ณธ ํ๋ก์ ํธ PR ์ค๋ช ๊ธฐ์ค: W5500์ SPI๋ก ๋ถ์ฌ ESP-IDF ์ด๋๋ท ์คํ์ผ๋ก ๊ตฌ๋)
- ์์ ์ ํ๋ฆฌ์ผ์ด์ ์ธํฐํ์ด์ค๋ HTTP(์น UI), ์์ผ, MQTT ํํ๋ก ์ ๊ณต๋ฉ๋๋ค.
W5500 ์ ์ฉ ๊ณผ์
W5500 ์ง์ ์๊ตฌ
- Issue #471 : https://github.com/rstrouse/ESPSomfy-RTS/issues/471

- Issue #629 : https://github.com/rstrouse/ESPSomfy-RTS/issues/629


์๋ ESPSomfy-RTS๋ Wi-Fi ๊ธฐ๋ฐ ํต์ ๋ง ์ง์ํ์ผ๋ฉฐ, ์ผ๋ถ ์ฌ์ฉ์๋ Waveshare ESP32-S3 ETH/PoE ๋ณด๋๋ฅผ ์ฌ์ฉํ๋๋ฐ ์ด๋๋ท์ด ๋์ํ์ง ์๋๋ค๋ issue์ ๋ฐ์ ์์ฑ๋จ.

Issue ์ ๊ธฐํ Spokplacenta๊ฐ ์ง์ W5500 ์ง์ํ๋๋ก ๊ธฐ๋ฅ ์ถ๊ฐํ๊ณ PR #633์ผ๋ก ์์ฑ. ๋ฐ์ ๊ธ์ ์ .
W5500 ์ง์ ์ ์ฉ

Waveshare ESP32-S3 W5500 PoE ๋ณด๋์์ ESP32์ SPI ๋ฒ์ค๋ฅผ ์ด์ฉํด W5500 ๊ณผ ์ง์ ์ฐ๊ฒฐํ๋๋ก ํ์ฅ.
๐ External Indicators
GitHub ๋ฆฌํฌ์งํ ๋ฆฌ ์งํ
- Stars: 988, Forks: 96, Issues: 157
์ปค๋ฎค๋ํฐ ๋ฐ์
https://community.home-assistant.io/t/esp-somfy-rts-integration/543401?

๐ WIZnet Strategic Value
(by ChatGPT)
โ์ค๋งํธํ ๋ ํธ๋กํโ์ด๋ผ๋ ๋์ค์ ์์ฅ์์, W5500์ด ESP32 ์ํ๊ณ์ ์ค์ ์๊ตฌ(์ ์ /PoE/์ค์น ์์ ์ฑ)๋ฅผ ํด๊ฒฐํ๋ ์ฌ๋ก๋ก ์ ์๋ฉ๋๋ค.
W5500์ ๋จ์ํ MCU์ ์ด๋๋ท์ ๋ถ์ด๋ ๋ถํ์ด ์๋๋ผ, ์คํ์์ค ํ์คํ ๋ฉ์ด์ ํ๋ก์ ํธ๊ฐ ์ฑํํ ๋งํผ ๋ณดํธ์ ์ด๊ณ ํ์ฅ ๊ฐ๋ฅํ ๋คํธ์ํฌ ์ต์ ์ด๋ผ๋ ๋ฉ์์ง๋ฅผ ์ ๋ฌํ ์ ์์ต๋๋ค.
๊ฐ์ ํจํด(ESP32 + SPI Ethernet + ์์ ํ๋กํ ์ฝ MQTT/HTTP)์ ๊ฒ์ดํธ/์ฐจ๊ณ ๋ฌธ, ์กฐ๋ช , HVAC, ์ผ์ ํ๋ธ ๋ฑ์ผ๋ก ์ฌ์ฌ์ฉ ๊ฐ๋ฅ์ฑ์ด ํฝ๋๋ค. (๋จ, ๊ฐ ๋๋ฉ์ธ๋ณ ์ค์๊ฐ์ฑ/๋ณด์/OTA ์๊ตฌ์ฌํญ์ ์ฌ์ ์ํด์ผ ํฉ๋๋ค.)
๐ Summary
ESPSomfy-RTS๋ Somfy RTS(433MHz) ๊ธฐ๋ฐ ์ ๋ ๋ธ๋ผ์ธ๋ยท์ปคํผยท์ด๋๊ณผ ๊ฐ์ ์ปค๋ฒ ์์คํ ์ ESP32 ๊ธฐ๋ฐ ์ปจํธ๋กค๋ฌ๋ก ํตํฉ ์ ์ดํ ์ ์๋๋ก ๋ง๋ ์คํ์์ค ํ๋ก์ ํธ์ ๋๋ค. ์ฌ์ฉ์๋ ์น UI๋ฅผ ํตํด ์ง์ ์กฐ์ํ ์ ์๊ณ , MQTT๋ ์์ผ ํต์ ์ ํตํด Home Assistant ๊ฐ์ ์ค๋งํธํ ํ๋ซํผ๊ณผ๋ ์์ฐ์ค๋ฝ๊ฒ ์ฐ๋ํ ์ ์์ต๋๋ค. ๋จ์ํ RF ์ ํธ๋ฅผ ์ก์ ํ๋ ์์ค์ ๋์ด, ๊ธฐ์กด ๋ฆฌ๋ชจ์ปจ ์กฐ์์ ๋ณํํ๋ฉด์๋ ์ํ์ ๋์ ํ๋ฆ์ ํจ๊ป ๊ด๋ฆฌํ๋ ค๋ ๊ตฌ์กฐ๋ฅผ ๊ฐ์ถ๊ณ ์์ด ์ค์ ์ฃผ๊ฑฐ ๋ฐ ์์ ๊ณต๊ฐ ์๋ํ์ ์ ์ฉ ๊ฐ๋ฅ์ฑ์ด ๋์ต๋๋ค.
ํนํ Issue #541์์ ์ ๊ธฐ๋ โW5500 ๊ธฐ๋ฐ Ethernet ๋ณด๋๊ฐ ์ง์๋์ง ์๋๋คโ๋ ์๊ตฌ๋ฅผ ๊ณ๊ธฐ๋ก, Pull Request #633์์๋ WIZnet W5500์ SPI ์ธํฐํ์ด์ค๋ก ESP32์ ์ฐ๊ฒฐํด ์ ์ Ethernet ๊ธฐ๋ฅ์ ํ์ฅํ๋ ๊ณผ์ ์ด ๋ณธ๊ฒฉ์ ์ผ๋ก ์งํ๋์์ต๋๋ค. ์ด ์ ์ฉ์ Arduino ๊ธฐ๋ณธ ETH ํด๋์ค์ ํ๊ณ๋ฅผ ๋์ด ESP-IDF ๋ค์ดํฐ๋ธ Ethernet API๋ฅผ ํ์ฉํด ์ด๊ธฐํ, DHCP, DNS ๊ตฌ์ฑ, ๋งํฌ ์ํ ๊ด๋ฆฌ๊น์ง ํฌํจํ๋ ํํ๋ก ๊ตฌํ๋๋ฉฐ, Wi-Fi๊ฐ ๋ถ์์ ํ ํ๊ฒฝ์ด๋ PoE ๊ธฐ๋ฐ ์ค์น ์๋๋ฆฌ์ค์์ ์์คํ ์ ๋ขฐ์ฑ์ ํฌ๊ฒ ๋์ผ ์ ์๋ ๋ฐฉํฅ์ฑ์ ๋ณด์ฌ์ค๋๋ค.
๐ FAQ
Q1. ESPSomfy-RTS ํ๋ก์ ํธ๋ ์ด๋ค ๋คํธ์ํฌ ๋ฐฉ์์ ์ฌ์ฉํ๋์?
A: ESPSomfy-RTS๋ ESP8266 ๋๋ ESP32์ ๋ด์ฅ Wi-Fi ๊ธฐ๋ฅ๊ณผ LwIP ์ํํธ์จ์ด TCP/IP ์คํ์ ์ฌ์ฉํด ๋คํธ์ํฌ ํต์ ์ ์ํํฉ๋๋ค. ์น UI, MQTT, REST API, Home Assistant ์ฐ๋ ๋ฑ ๋ชจ๋ ์ ์ด ๊ฒฝ๋ก๊ฐ Wi-Fi ๊ธฐ๋ฐ์ผ๋ก ๋์ํ๋ฉฐ, ๊ณต์ ๊ธฐ ๋ฐ ๋ฌด์ ํ๊ฒฝ์ ํ์ง์ ์ง์ ์ ์ธ ์ํฅ์ ๋ฐ์ต๋๋ค. ์ด๋ ์ค์น๊ฐ ๊ฐํธํ๋ค๋ ์ฅ์ ์ด ์์ง๋ง, ์ง์ฐ ์๊ฐ๊ณผ ์ฐ๊ฒฐ ์์ ์ฑ์ ๋คํธ์ํฌ ํ๊ฒฝ์ ๋ฐ๋ผ ๋ฌ๋ผ์ง ์ ์์ต๋๋ค.
Q2. PR #633์ ์ด ํ๋ก์ ํธ์์ ์ด๋ค ์๋ฏธ๋ฅผ ๊ฐ์ง๋์?
A: PR #633์ ESPSomfy-RTS์ ๋คํธ์ํฌ ๋ฐ ์์คํ ๋์ ์์ ์ฑ ๊ฐ์ ๊ณผ ๊ด๋ จ๋ ๋ณ๊ฒฝ์ ํฌํจํ๊ณ ์์ผ๋ฉฐ, ์ฅ์๊ฐ ์คํ ํ๊ฒฝ์์์ ์์ธ ์ฒ๋ฆฌ, ์ํ ๊ด๋ฆฌ, ๋๋ ํต์ ์ ๋ขฐ์ฑ๊ณผ ๊ฐ์ ์ค์ฌ์ฉ ์ด์๋ฅผ ๋ค๋ฃจ๋ ํ๋ฆ์ ์ํฉ๋๋ค. ์ด๋ ์ด ํ๋ก์ ํธ๊ฐ ๋จ์ํ ๋ฐ๋ชจ ์์ค์ ๋์ด ํญ์ ๋์ํ๋ ํ ์คํ ๋ฉ์ด์ ์ปจํธ๋กค๋ฌ๋ก ์ฌ์ฉ๋๊ณ ์์์ ๋ณด์ฌ์ฃผ๋ฉฐ, ๋คํธ์ํฌ ์์ ์ฑ์ด ํต์ฌ ์๊ตฌ์ฌํญ์์ ๊ฐ์ ์ ์ผ๋ก ๋๋ฌ๋ ๋๋ค.
Q3. ์ด๋ฐ ํ ์คํ ๋ฉ์ด์ ํ๋ก์ ํธ์์ ์ WIZnet W5500 ๊ฐ์ Ethernet ์นฉ์ ๊ณ ๋ คํ ์ ์๋์?
A: ๋ธ๋ผ์ธ๋ยท์ ํฐ ์ ์ด๋ โ๋น ๋ฆโ๋ณด๋ค ํ์คํ ์ ๋ฌ๊ณผ ์์ธก ๊ฐ๋ฅํ ์๋ต์ด ๋ ์ค์ํฉ๋๋ค. WIZnet W5500์ ํ๋์จ์ด TCP/IP ์คํ์ ๋ด์ฅํ Ethernet ์ปจํธ๋กค๋ฌ๋ก, ESP32๊ฐ LwIP ์ฒ๋ฆฌ, ์ฌ์ ์ก ํ์ด๋จธ, ์์ผ ๊ด๋ฆฌ๋ฅผ ์ง์ ์ํํ์ง ์์๋ ๋ฉ๋๋ค. ๊ทธ ๊ฒฐ๊ณผ CPU ๋ถํ๊ฐ ์ค๊ณ , ๋ฌด์ ๊ฐ์ญ์ด๋ AP ์ฌ์ฐ๊ฒฐ ๋ฌธ์ ์์ด ํญ์ ๋์ผํ ๋คํธ์ํฌ ํ์ง์ ์ ์งํ ์ ์์ด, ๊ณ ์ ์ค์นํ ํ ์คํ ๋ฉ์ด์ ํ๋ธ์ ์ ํฉํ ์ ํ์ง๊ฐ ๋ฉ๋๋ค.
Q4. Wi-Fi ๊ธฐ๋ฐ ESPSomfy-RTS์ Ethernet(W5500) ๊ธฐ๋ฐ ์ค๊ณ์ ํต์ฌ ์ฐจ์ด๋ ๋ฌด์์ธ๊ฐ์?
A: Wi-Fi ๊ธฐ๋ฐ ์ค๊ณ๋ ์ค์น๊ฐ ๊ฐํธํ์ง๋ง, RSSI ๋ณํยท์ฑ๋ ๊ฐ์ญยท๊ณต์ ๊ธฐ ์ฌ๋ถํ ๋ฑ์ผ๋ก ์ธํด ์ง์ฐ ์๊ฐ๊ณผ ์ฐ๊ฒฐ ์ํ๊ฐ ๋น๊ฒฐ์ ์ ์ ๋๋ค. ๋ฐ๋ฉด Ethernet + W5500 ์ค๊ณ๋ ๋งํฌ ์ ์ํ๊ฐ ์ ์ง๋๋ ํ ์ง์ฐ์ด ๋งค์ฐ ์์ ์ ์ด๋ฉฐ, ํจํท ์์ค ๊ฐ๋ฅ์ฑ์ด ๋ฎ์ต๋๋ค. ํนํ ์ฌ๋ฌ ๊ฐ์ RTS ์ฅ์น๋ฅผ ๋์์ ์ ์ดํ๊ฑฐ๋, Home Assistant ์๋ํ ํธ๋ฆฌ๊ฑฐ์ ์ ํํ ๋ฐ์ํด์ผ ํ๋ ํ๊ฒฝ์์๋ Ethernet ๊ธฐ๋ฐ ์ค๊ณ๊ฐ ๋ ์์ธก ๊ฐ๋ฅํ ๋์์ ์ ๊ณตํฉ๋๋ค.
Q5. ESPSomfy-RTS์ WIZnet์ ์ค์ ๋ก ์ ์ฉํ๋ ค๋ฉด ์ด๋ค ๊ตฌ์กฐ๊ฐ ์ ํฉํ๊ฐ์?
A: ์ด ํ๋ก์ ํธ์ WIZnet์ ์ ์ฉํ๋ค๋ฉด, ESP32 + W5500(SPI) ๋๋ W55RP20(RP2040 + W5500 ํตํฉ ์นฉ) ๊ตฌ์กฐ๊ฐ ํ์ค์ ์ ๋๋ค. W5500์ ๋คํธ์ํฌ ์ ์ก ๊ณ์ธต๋ง ๋ด๋นํ๊ณ , ๊ธฐ์กด ESPSomfy-RTS์ ์ ํ๋ฆฌ์ผ์ด์ ๋ก์ง(Web UI, MQTT, Somfy RTS ์ก์ ๋ก์ง)์ ๊ทธ๋๋ก ์ ์งํ ์ ์์ต๋๋ค. ์ด ๊ฒฝ์ฐ Wi-Fi ๊ด๋ จ ์ฝ๋(LwIP, WiFi ์ด๋ฒคํธ ์ฒ๋ฆฌ)๋ ์ ๊ฑฐ๋๊ณ , ์์คํ ์ ์ ์ ๋คํธ์ํฌ ๊ธฐ๋ฐ์ ํญ์ ์ฐ๊ฒฐ๋ RTS ์ปจํธ๋กค๋ฌ๋ก ์ฑ๊ฒฉ์ด ๋ฐ๋๋๋ค.
Q6. ์ด๋ณด์์๊ฒ๋ Wi-Fi์ Ethernet ์ค ์ด๋ค ์ ๊ทผ์ด ๋ ์ ํฉํ๊ฐ์?
A: ์ด๊ธฐ ํ ์คํธ์ ๋น ๋ฅธ ์ค์ ์๋ Wi-Fi ๊ธฐ๋ฐ ESPSomfy-RTS๊ฐ ํจ์ฌ ์ ๊ทผ์ฑ์ด ์ข์ต๋๋ค. ํ์ง๋ง ์์คํ ์ 24/7๋ก ์ด์ฉํ๊ณ , ์๋ํ ์คํจ๊ฐ ๊ณง ์ฌ์ฉ์ ๋ถํธ์ผ๋ก ์ด์ด์ง๋ ํ๊ฒฝ์ด๋ผ๋ฉด Ethernet ๊ธฐ๋ฐ ์ค๊ณ๊ฐ ์ฅ๊ธฐ์ ์ผ๋ก ๋ ์์ ์ ์ ๋๋ค. ์ฆ, ํ์ตยทํ๋กํ ํ์ ๋จ๊ณ๋ Wi-Fi, ์ค์ฌ์ฉยท๊ณ ์ ์ค์น ๋จ๊ณ๋ WIZnet Ethernet์ด ๋ช ํํ ์ญํ ๋ถ๋ด์ ๊ฐ์ง๋๋ค.

๐ Overview
ESPSomfy-RTS is an open-source project that controls Somfy RTS (433 MHz series) motorized blinds, curtains, and awnings using an ESP32-based controller, and integrates with home automation systems (e.g., Home Assistant) via a web UI, sockets, and MQTT.
In particular, it emphasizes a direction that reflects the requirement of โwanting to keep using existing remotes,โ focusing not only on simple transmission but also on detecting (receiving) external remote control actions and managing position and state accordingly.
With PR #633, support for wired Ethernet based on the WIZnet W5500 (SPI Ethernet) was added, expanding the projectโs applicability to installation environments where Wi-Fi is unstable or where PoE / wired networks are required.
๐ Features
- Somfy RTS/RTx (433MHz) multi-cover control
- It is described with the goal of supporting control of up to 32 individual devices and up to 16 groups.
- A web UI, socket interface, and MQTT are provided.
- Direct operation is possible from the local web interface, while automation systems integrate through MQTT or sockets.
- Ecosystem expansion through Home Assistant integration (HACS-based component)
- Real-world usage and inquiries are very active, to the extent that it has been maintained as a long-term thread in the Home Assistant community.
- A transmit/receiveโfocused design based on the CC1101 transceiver (SPI)
- The ESP32 + CC1101 combination is used to handle RTS signals, with consideration for scenarios where โexisting remotes are used in parallel.โ
- (New point) Wired Ethernet support based on W5500
- In the PR, the W5500 is directly initialized using the ESP-IDF esp_eth_* API, with manual management of DHCP/DNS, SPI pin configuration through the web UI, and even presets included for the Waveshare ESP32-S3 W5500 PoE board.
๐ System Architecture
Components
- MCU: ESP32 / ESP32-S3 series
- RF (433 MHz): CC1101 transceiver (SPI connection to ESP32)
- Network: Wi-Fi or Ethernet (W5500, SPI)
- Service interfaces: Built-in Web UI, Socket, MQTT
- Integration platform (optional): Home Assistant (HACS)
๐ Role and Application of the WIZnet's Chip
WIZnet chip used: W5500
Role in the network
- The architecture is such that an MCU like the ESP32-S3 runs the application, while the W5500 handles the wired Ethernet link (physical/lower layers) and TCP/IP offloading. (According to the project PR description: the W5500 is connected via SPI and operated through the ESP-IDF Ethernet stack.)
- The higher-level application interfaces are provided in the form of HTTP (web UI), sockets, and MQTT.
W5500 integration process
Request for W5500 support
- Issue #471 : https://github.com/rstrouse/ESPSomfy-RTS/issues/471

- Issue #629 : https://github.com/rstrouse/ESPSomfy-RTS/issues/629


Originally, ESPSomfy-RTS supported only Wi-Fiโbased communication, and some users reported issues and feedback indicating that Ethernet did not work when using Waveshare ESP32-S3 ETH/PoE boards.

The user Spokplacenta, who raised the issue, directly added functionality to support the W5500 and created it as PR #633. The response has been positive.

Expanded to directly connect the W5500 using the ESP32โs SPI bus on the Waveshare ESP32-S3 W5500 PoE board.
๐ External Indicators
GitHub repository metrics
- Stars: 988, Forks: 96, Issues: 157
Community response
https://community.home-assistant.io/t/esp-somfy-rts-integration/543401?

๐ WIZnet Strategic Value
(by ChatGPT)
In the popular โsmart home retrofitโ market, this is presented as a case where the W5500 addresses real needs within the ESP32 ecosystem, such as wired connectivity, PoE support, and installation stability.
The message can be conveyed that the W5500 is not merely a component for adding Ethernet to an MCU, but rather a universal and scalable networking option adopted by open-source home automation projects.
The same pattern (ESP32 + SPI Ethernet + higher-level protocols like MQTT/HTTP) has strong potential for reuse across applications such as gates/garage doors, lighting, HVAC, and sensor hubs. (However, real-time requirements, security considerations, and OTA update needs must be redefined for each domain.)
๐ Summary
ESPSomfy-RTS is an open-source project that enables integrated control of Somfy RTS (433 MHz)โbased cover systems such as motorized blinds, curtains, and awnings using an ESP32-based controller. Users can operate devices directly through a web UI, and seamlessly integrate them with smart home platforms such as Home Assistant via MQTT or socket communication. Going beyond simple RF signal transmission, the project is designed to manage state and operation flows while continuing to support existing physical remote controls, making it highly applicable to real residential and commercial automation scenarios.
In particular, a request raised in Issue #541โstating that โW5500-based Ethernet boards are not supportedโโbecame the trigger for more substantial development. In Pull Request #633, support for wired Ethernet was actively expanded by connecting the WIZnet W5500 to the ESP32 via an SPI interface. This implementation goes beyond the limitations of the Arduino default ETH class and instead leverages the ESP-IDF native Ethernet API, covering initialization, DHCP, DNS configuration, and link status management. As a result, it demonstrates a direction that significantly improves system reliability in environments with unstable Wi-Fi or in PoE-based installation scenarios.
๐ FAQ
Q1. What network method does the ESPSomfy-RTS project use?
A: ESPSomfy-RTS performs network communication using the built-in Wi-Fi functionality of ESP8266 or ESP32 along with the LwIP software TCP/IP stack. All control pathsโsuch as the web UI, MQTT, REST API, and Home Assistant integrationโoperate over Wi-Fi and are directly affected by the quality of the wireless environment. While this offers ease of installation, latency and connection stability can vary depending on network conditions.
Q2. What significance does PR #633 have for this project?
A: PR #633 includes changes related to improving network and system operation stability in ESPSomfy-RTS, addressing real-world usage issues such as exception handling, state management, and communication reliability during long-term operation. This indicates that the project is being used not merely as a demo, but as an always-on home automation controller, where network stability is a core requirement.
Q3. Why consider an Ethernet chip like the WIZnet W5500 in home automation projects like this?
A: In blind and shutter control, reliable delivery and predictable responses are more important than raw speed. The WIZnet W5500 is an Ethernet controller with a built-in hardware TCP/IP stack, meaning the ESP32 does not need to directly handle LwIP processing, retransmission timers, or socket management. This reduces CPU load and avoids issues such as wireless interference or access point reconnections, making it a suitable choice for fixed-installation home automation hubs that require consistent network quality.
Q4. What is the key difference between Wi-Fiโbased ESPSomfy-RTS and an Ethernet (W5500)โbased design?
A: Wi-Fiโbased designs are easy to install but suffer from non-deterministic latency and connection states due to RSSI fluctuations, channel interference, or router reboots. In contrast, an Ethernet + W5500 design provides highly stable latency and low packet loss as long as the link remains up. This makes Ethernet-based designs more predictable, especially in environments where multiple RTS devices must be controlled simultaneously or where precise responses to Home Assistant automation triggers are required.
Q5. What architecture is suitable for applying WIZnet solutions to ESPSomfy-RTS?
A: A realistic architecture would be ESP32 + W5500 (SPI) or W55RP20 (RP2040 with integrated W5500). In this setup, the W5500 handles only the network transport layer, while the existing ESPSomfy-RTS application logic (web UI, MQTT, Somfy RTS transmission logic) remains unchanged. Wi-Fi-related code (LwIP, Wi-Fi event handling) is removed, and the system effectively becomes an always-connected, wired-networkโbased RTS controller.
Q6. For beginners, which approach is more suitable: Wi-Fi or Ethernet?
A: For initial testing and quick setup, the Wi-Fiโbased ESPSomfy-RTS approach is far more accessible. However, if the system is intended to run 24/7 and automation failures directly impact user experience, an Ethernet-based design is more stable in the long term. In short, Wi-Fi is well suited for learning and prototyping stages, while WIZnet Ethernet clearly fits the role of stable, fixed-installation, real-world deployment.
