Skip to content

ESPSomfy-RTS

A controller for Somfy RTS shades and blinds

Aimee0

Published February 01, 2026

Original author: rstrouseOriginal source (new tab)

ESPSomfy-RTS

Components

Hardware components

WIZnet parts

Project description

 

ESPSomfy-RTS

๐Ÿ“Œ 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 ๋ณด๋“œ ํ”„๋ฆฌ์…‹๊นŒ์ง€ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“Œ 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 ์ง€์› ์š”๊ตฌ

๐Ÿ“Œ Role and Application of the WIZnet's Chip
๐Ÿ“Œ Role and Application of the WIZnet's Chip
๐Ÿ“Œ Role and Application of the WIZnet's Chip

์›๋ž˜ ESPSomfy-RTS๋Š” Wi-Fi ๊ธฐ๋ฐ˜ ํ†ต์‹ ๋งŒ ์ง€์›ํ–ˆ์œผ๋ฉฐ, ์ผ๋ถ€ ์‚ฌ์šฉ์ž๋Š” Waveshare ESP32-S3 ETH/PoE ๋ณด๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ์ด๋”๋„ท์ด ๋™์ž‘ํ•˜์ง€ ์•Š๋Š”๋‹ค๋Š” issue์™€ ๋ฐ˜์‘ ์ƒ์„ฑ๋จ.

๐Ÿ“Œ Role and Application of the WIZnet's Chip

Issue ์ œ๊ธฐํ•œ Spokplacenta๊ฐ€ ์ง์ ‘ W5500 ์ง€์›ํ•˜๋„๋ก ๊ธฐ๋Šฅ ์ถ”๊ฐ€ํ•˜๊ณ  PR #633์œผ๋กœ ์ƒ์„ฑ. ๋ฐ˜์‘ ๊ธ์ •์ .

W5500 ์ง€์› ์ ์šฉ

๐Ÿ“Œ Role and Application of the WIZnet's Chip

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?

๐Ÿ“Œ External Indicators

๐Ÿ“Œ 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์ด ๋ช…ํ™•ํ•œ ์—ญํ•  ๋ถ„๋‹ด์„ ๊ฐ€์ง‘๋‹ˆ๋‹ค.


 

ESPSomfy-RTS, ๐Ÿ“Œ FAQ

๐Ÿ“Œ 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

๐Ÿ“Œ Role and Application of the WIZnet's Chip
๐Ÿ“Œ Role and Application of the WIZnet's Chip
๐Ÿ“Œ Role and Application of the WIZnet's Chip

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.

๐Ÿ“Œ Role and Application of the WIZnet's Chip

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.

๐Ÿ“Œ Role and Application of the WIZnet's Chip

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?

๐Ÿ“Œ External Indicators

๐Ÿ“Œ 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.

 
 

 

Comments

Similar projects you might like

Comments