mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-07 15:57:13 +01:00
deploy:2440c143c0deploy:2440c143c0deploy:296248f64bdeploy:296248f64bdeploy:a0919bbba4deploy:6a4b38a0cbdeploy:4c633da151deploy:5a07020144deploy:25af43bdebdeploy:771b792484deploy:771b792484deploy:7db2e93c28deploy:5421f0e995deploy:5421f0e995deploy:5421f0e995deploy:5421f0e995deploy:5421f0e995deploy:fb42293631deploy:fb42293631deploy:fb42293631deploy:fb42293631deploy:fb42293631deploy:87b26c867fdeploy:2fcfc0f6d2deploy:2fcfc0f6d2deploy:2fcfc0f6d2deploy:2fcfc0f6d2deploy:54b0eaeebfdeploy:28b97183bedeploy:cf21aed90cdeploy:5a36034a2fdeploy:811bc1f608deploy:811bc1f608deploy:673a895d44deploy:673a895d44deploy:ca9ef664abdeploy:ca9ef664abdeploy: 10d7f7465ddd65a1ddcb1bc32504889d85602c4b deploy: 495e1ce6b42f0293e4cf35c41a6bdb0bd229fa07 deploy:ca9ef664abdeploy:ca9ef664abdeploy:ca9ef664abdeploy:5e01f40829deploy:5e01f40829deploy:5e01f40829deploy:5e01f40829deploy:5e01f40829deploy:7a8e8483fddeploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:3984656712deploy:dfa94588d6deploy:dfa94588d6deploy:dfa94588d6deploy:dfa94588d6deploy:e27e055bf8deploy:cbec4292de
72 lines
30 KiB
HTML
72 lines
30 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>RF gateway (433mhz/315mhz) | OpenMQTTGateway DEVELOPMENT SHA:2440c1 TEST ONLY</title>
|
|
<meta name="generator" content="VuePress 1.9.8">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/dev/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/dev/favicon-16x16.png">
|
|
<link rel="icon" href="/dev/img/Openmqttgateway_logo_mini.png">
|
|
<link rel="manifest" href="/dev/manifest.json">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/dev/apple-touch-icon.png">
|
|
<link rel="mask-icon" href="/dev/icons/safari-pinned-tab.svg" color="#3eaf7c">
|
|
<script type="module" src="https://unpkg.com/esp-web-tools@3.4.2/dist/web/install-button.js?module"></script>
|
|
<meta name="description" content="One gateway, many technologies: MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, beacons detection, mi flora / mi jia / LYWSD02/ Mi Scale compatibility, SMS & LORA.">
|
|
<meta name="theme-color" content="#3eaf7c">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="msapplication-TileImage" content="/favicon-144x144.png">
|
|
<meta name="msapplication-TileColor" content="#000000">
|
|
|
|
<link rel="preload" href="/dev/assets/css/0.styles.a0b2d6bb.css" as="style"><link rel="preload" href="/dev/assets/js/app.37616211.js" as="script"><link rel="preload" href="/dev/assets/js/2.fdf4d158.js" as="script"><link rel="preload" href="/dev/assets/js/13.8fdadc95.js" as="script"><link rel="prefetch" href="/dev/assets/js/10.dd089e98.js"><link rel="prefetch" href="/dev/assets/js/11.d490c4a0.js"><link rel="prefetch" href="/dev/assets/js/12.3d9627b5.js"><link rel="prefetch" href="/dev/assets/js/14.53be8b0a.js"><link rel="prefetch" href="/dev/assets/js/15.9e7f640d.js"><link rel="prefetch" href="/dev/assets/js/16.167136e7.js"><link rel="prefetch" href="/dev/assets/js/17.1b24f802.js"><link rel="prefetch" href="/dev/assets/js/18.6002f660.js"><link rel="prefetch" href="/dev/assets/js/19.367029ed.js"><link rel="prefetch" href="/dev/assets/js/20.ea752e98.js"><link rel="prefetch" href="/dev/assets/js/21.18d93d02.js"><link rel="prefetch" href="/dev/assets/js/22.fe03e80f.js"><link rel="prefetch" href="/dev/assets/js/23.b3fe4fb1.js"><link rel="prefetch" href="/dev/assets/js/24.7aba9723.js"><link rel="prefetch" href="/dev/assets/js/25.3066b3ef.js"><link rel="prefetch" href="/dev/assets/js/26.69e1040e.js"><link rel="prefetch" href="/dev/assets/js/27.470891bf.js"><link rel="prefetch" href="/dev/assets/js/28.7bb3bf3e.js"><link rel="prefetch" href="/dev/assets/js/29.2c556663.js"><link rel="prefetch" href="/dev/assets/js/3.34967994.js"><link rel="prefetch" href="/dev/assets/js/30.ce1f59b8.js"><link rel="prefetch" href="/dev/assets/js/31.5f0a3678.js"><link rel="prefetch" href="/dev/assets/js/32.245763a7.js"><link rel="prefetch" href="/dev/assets/js/33.1eca4c74.js"><link rel="prefetch" href="/dev/assets/js/34.e9ee0ad9.js"><link rel="prefetch" href="/dev/assets/js/35.27d21c4b.js"><link rel="prefetch" href="/dev/assets/js/36.f55fd62f.js"><link rel="prefetch" href="/dev/assets/js/37.07a9d001.js"><link rel="prefetch" href="/dev/assets/js/38.4e8718a0.js"><link rel="prefetch" href="/dev/assets/js/39.e533c21d.js"><link rel="prefetch" href="/dev/assets/js/4.0b272843.js"><link rel="prefetch" href="/dev/assets/js/40.7e581684.js"><link rel="prefetch" href="/dev/assets/js/41.81202049.js"><link rel="prefetch" href="/dev/assets/js/42.ef29de3b.js"><link rel="prefetch" href="/dev/assets/js/43.9da33982.js"><link rel="prefetch" href="/dev/assets/js/44.24c08f06.js"><link rel="prefetch" href="/dev/assets/js/45.26e87af9.js"><link rel="prefetch" href="/dev/assets/js/46.39554abd.js"><link rel="prefetch" href="/dev/assets/js/47.7be7d795.js"><link rel="prefetch" href="/dev/assets/js/48.4984bc04.js"><link rel="prefetch" href="/dev/assets/js/49.c8f0c8da.js"><link rel="prefetch" href="/dev/assets/js/5.805ba45a.js"><link rel="prefetch" href="/dev/assets/js/50.88b3398c.js"><link rel="prefetch" href="/dev/assets/js/51.7fb4b9e4.js"><link rel="prefetch" href="/dev/assets/js/52.547bcf23.js"><link rel="prefetch" href="/dev/assets/js/6.a203e05b.js"><link rel="prefetch" href="/dev/assets/js/7.bfb27966.js"><link rel="prefetch" href="/dev/assets/js/8.237c9201.js"><link rel="prefetch" href="/dev/assets/js/9.9ace8522.js">
|
|
<link rel="stylesheet" href="/dev/assets/css/0.styles.a0b2d6bb.css">
|
|
</head>
|
|
<body>
|
|
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/dev/" class="home-link router-link-active"><!----> <span class="site-name">OpenMQTTGateway DEVELOPMENT SHA:2440c1 TEST ONLY</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://shop.theengs.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Shop🆕
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="https://1technophile.blogspot.com" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Blog
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="/dev/" class="nav-link">
|
|
Docs
|
|
</a></div><div class="nav-item"><a href="https://community.openmqttgateway.com" target="_self" class="nav-link external">
|
|
Community
|
|
<!----></a></div><div class="nav-item"><a href="https://compatible.openmqttgateway.com/index.php/devices" target="_self" class="nav-link external">
|
|
Devices
|
|
<!----></a></div><div class="nav-item"><a href="/dev/upload/web-install.html" class="nav-link">
|
|
Upload
|
|
</a></div><div class="nav-item"><a href="https://app.theengs.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Theengs
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <a href="https://github.com/1technophile/OpenMQTTGateway" target="_blank" rel="noopener noreferrer" class="repo-link">
|
|
GitHub
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://shop.theengs.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Shop🆕
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="https://1technophile.blogspot.com" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Blog
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="/dev/" class="nav-link">
|
|
Docs
|
|
</a></div><div class="nav-item"><a href="https://community.openmqttgateway.com" target="_self" class="nav-link external">
|
|
Community
|
|
<!----></a></div><div class="nav-item"><a href="https://compatible.openmqttgateway.com/index.php/devices" target="_self" class="nav-link external">
|
|
Devices
|
|
<!----></a></div><div class="nav-item"><a href="/dev/upload/web-install.html" class="nav-link">
|
|
Upload
|
|
</a></div><div class="nav-item"><a href="https://app.theengs.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
Theengs
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <a href="https://github.com/1technophile/OpenMQTTGateway" target="_blank" rel="noopener noreferrer" class="repo-link">
|
|
GitHub
|
|
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><a href="/dev/" aria-current="page" class="sidebar-link">0 - What is it for 🏠</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>1 - Prerequisites🧭</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>2 - Set it up 🔨</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/dev/setitup/rf.html" aria-current="page" class="active sidebar-link">RF gateway (433mhz/315mhz)</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#protocols-modules-and-library" class="sidebar-link">Protocols, modules and library</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#assembly-soldering-required-parts" class="sidebar-link">Assembly/soldering required parts</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#esp32-hardware-setup" class="sidebar-link">ESP32 Hardware setup</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#esp8266-hardware-setup" class="sidebar-link">ESP8266 Hardware setup</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#arduino-hardware-setup" class="sidebar-link">Arduino Hardware setup</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#sonoff-rf-bridge-hardware-setup" class="sidebar-link">SONOFF RF Bridge Hardware setup</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#sonoff-rfr3-hardware-setup" class="sidebar-link">SONOFF RFR3 Hardware setup</a></li><li class="sidebar-sub-header"><a href="/dev/setitup/rf.html#wifi-rf-gateway-hardware-setup" class="sidebar-link">WIFI RF GATEWAY Hardware setup</a></li></ul></li><li><a href="/dev/setitup/ble.html" class="sidebar-link">BLE gateway</a></li><li><a href="/dev/setitup/ir.html" class="sidebar-link">IR gateway</a></li><li><a href="/dev/setitup/lora.html" class="sidebar-link">LoRa gateway</a></li><li><a href="/dev/setitup/gsm.html" class="sidebar-link">GSM 2G gateway</a></li><li><a href="/dev/setitup/rs232.html" class="sidebar-link">RS232 gateway</a></li><li><a href="/dev/setitup/sensors.html" class="sidebar-link">Sensors</a></li><li><a href="/dev/setitup/actuators.html" class="sidebar-link">Actuators</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>3 - Upload ➡️</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>4 - Use ✈️</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>5 - Integrate 🎉</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>6 - Participate 💻</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="rf-gateway-433mhz-315mhz"><a href="#rf-gateway-433mhz-315mhz" class="header-anchor">#</a> RF gateway (433mhz/315mhz)</h1> <h2 id="protocols-modules-and-library"><a href="#protocols-modules-and-library" class="header-anchor">#</a> Protocols, modules and library</h2> <p>RTL_433 covers OOK protocols detailed <a href="../use/rf#supported-decoders">here</a> and supports auto-discovery following Home Assistant convention. The other libraries/modules are more for advanced users.</p> <table><thead><tr><th>Board</th> <th style="text-align:center;">Protocols</th> <th style="text-align:center;">Assembly/Soldering required</th></tr></thead> <tbody><tr><td>Heltec LORA V2 433Mhz</td> <td style="text-align:center;"><a href="../use/rf#supported-decoders">RTL_433</a>, receiving only</td> <td style="text-align:center;">No</td></tr> <tr><td>LILYGO® LoRa32 V2.1_1.6.1 433 Mhz</td> <td style="text-align:center;"><a href="../use/rf#supported-decoders">RTL_433</a>, receiving only</td> <td style="text-align:center;">No</td></tr> <tr><td>ESP32 + SX127X</td> <td style="text-align:center;"><a href="../use/rf#supported-decoders">RTL_433</a>, receiving only</td> <td style="text-align:center;">Yes</td></tr> <tr><td>ESP32 + CC1101</td> <td style="text-align:center;"><a href="../use/rf#supported-decoders">RTL_433</a>, RF(RCSwitch), RF2(KaKu), Pilight</td> <td style="text-align:center;">Yes</td></tr> <tr><td>ESP8266 + Basic RF modules (SRX, STX, XD RF, FS1000A</td> <td style="text-align:center;">RF(RCSwitch), RF2(KaKu), Pilight</td> <td style="text-align:center;">Yes</td></tr> <tr><td>ESP8266 + CC1101 (might have lower range than with SRX/STX above)</td> <td style="text-align:center;">RF(RCSwitch), RF2(KaKu), Pilight</td> <td style="text-align:center;">Yes</td></tr> <tr><td>ESP32 + Basic RF modules (SRX, STX, XD RF, FS1000A</td> <td style="text-align:center;">RF(RCSwitch), RF2(KaKu), Pilight</td> <td style="text-align:center;">Yes</td></tr></tbody></table> <div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>If you want to try the RTL_433 module with a combination or a board outside of this list, verify that it has an SX1278 or a SX1276</p></div> <p>Heltec LORA V3 is not compatible with RTL_433 library as it is based on an SX1262 module.</p> <h2 id="assembly-soldering-required-parts"><a href="#assembly-soldering-required-parts" class="header-anchor">#</a> Assembly/soldering required parts</h2> <table><thead><tr><th>Module</th> <th>Purpose</th> <th>Compatible modules</th> <th>Receiver Switching</th> <th>Where to Buy</th></tr></thead> <tbody><tr><td>SRX882 or SRX882S (recommended)</td> <td>433Mhz Receiver</td> <td>RF(RCSwitch), RF2(KaKu), Pilight</td> <td>Supported</td> <td><a href="https://compatible.openmqttgateway.com/index.php/parts" target="_blank" rel="noopener noreferrer">compatible parts list<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr> <tr><td>STX882 (recommended)</td> <td>433Mhz Transmitter</td> <td>RF(RCSwitch), RF2(KaKu), Pilight</td> <td>Supported</td> <td><a href="https://compatible.openmqttgateway.com/index.php/parts" target="_blank" rel="noopener noreferrer">compatible parts list<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr> <tr><td>CC1101</td> <td>433Mhz Transceiver</td> <td><a href="../use/rf#supported-decoders">RTL_433</a>, RF(RCSwitch), RF2(KaKu), Pilight</td> <td>Supported</td> <td><a href="https://compatible.openmqttgateway.com/index.php/parts" target="_blank" rel="noopener noreferrer">compatible parts list<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr> <tr><td>SX1276/SX1278</td> <td>433Mhz Transceiver</td> <td><a href="../use/rf#supported-decoders">RTL_433</a></td> <td>Not Supported</td> <td><a href="https://compatible.openmqttgateway.com/index.php/parts" target="_blank" rel="noopener noreferrer">compatible parts list<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr> <tr><td>LilyGo/Heltec</td> <td>433Mhz Transceiver</td> <td><a href="../use/rf#supported-decoders">RTL_433</a></td> <td>Not Supported</td> <td><a href="https://compatible.openmqttgateway.com/index.php/parts" target="_blank" rel="noopener noreferrer">compatible parts list<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr></tbody></table> <h3 id="srx-stx-pinout"><a href="#srx-stx-pinout" class="header-anchor">#</a> SRX STX Pinout</h3> <table><thead><tr><th>Board</th> <th style="text-align:center;">Receiver Pin</th> <th style="text-align:center;">Emitter Pin</th></tr></thead> <tbody><tr><td>Arduino UNO</td> <td style="text-align:center;">D3</td> <td style="text-align:center;">D4</td></tr> <tr><td>ESP8266</td> <td style="text-align:center;">D2/<strong>D3</strong>/D1/D8</td> <td style="text-align:center;"><strong>RX</strong>/D2</td></tr> <tr><td>ESP32</td> <td style="text-align:center;"><strong>27</strong>/26</td> <td style="text-align:center;">12</td></tr> <tr><td>RF BRIDGE</td> <td style="text-align:center;">-</td> <td style="text-align:center;">-</td></tr> <tr><td>RF BRIDGE <a href="https://github.com/xoseperez/espurna/wiki/Hardware-Itead-Sonoff-RF-Bridge---Direct-Hack" target="_blank" rel="noopener noreferrer">DIRECT HACK<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td> <td style="text-align:center;">4</td> <td style="text-align:center;">5</td></tr> <tr><td>SONOFF RFR3</td> <td style="text-align:center;">4</td> <td style="text-align:center;">-</td></tr> <tr><td>RF WIFI GATEWAY</td> <td style="text-align:center;">5</td> <td style="text-align:center;">-</td></tr></tbody></table> <p>Connect the Emitter and Receiver to a 5V or 3.3V supply source, check datasheet of your modules to confirm (<strong>3.3V</strong> for CC1101), and the ground of your supply source to the ground of your board.</p> <div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>With SRX882S receiver connect the CS pin to 3.3V</p></div> <h3 id="cc1101-pinout"><a href="#cc1101-pinout" class="header-anchor">#</a> CC1101 Pinout</h3> <table><thead><tr><th>Board</th> <th style="text-align:center;">Receiver Pin(GDO2)</th> <th style="text-align:center;">Emitter Pin(GDO0)</th> <th style="text-align:center;">SCK</th> <th style="text-align:center;">VCC</th> <th style="text-align:center;">MOSI</th> <th style="text-align:center;">MISO</th> <th style="text-align:center;">CSN</th> <th style="text-align:center;">GND</th></tr></thead> <tbody><tr><td>ESP8266</td> <td style="text-align:center;">D2/<strong>D3</strong>/D1/D8</td> <td style="text-align:center;"><strong>RX</strong>/D2</td> <td style="text-align:center;">D5</td> <td style="text-align:center;"><strong>3V3</strong></td> <td style="text-align:center;">D7</td> <td style="text-align:center;">D6</td> <td style="text-align:center;">D8</td> <td style="text-align:center;">GND</td></tr> <tr><td>ESP32</td> <td style="text-align:center;"><strong>D27</strong></td> <td style="text-align:center;">D12</td> <td style="text-align:center;">D18</td> <td style="text-align:center;"><strong>3V3</strong></td> <td style="text-align:center;">D23</td> <td style="text-align:center;">D19</td> <td style="text-align:center;">D5</td> <td style="text-align:center;">GND</td></tr></tbody></table> <p>To use the CC1101 module, <code>ZradioCC1101</code> must be uncomment in the <code>User_config.h</code> or added to the <code>build_flags</code>.
|
|
More information about the <a href="https://github.com/LSatan/SmartRC-CC1101-Driver-Lib#wiring" target="_blank" rel="noopener noreferrer">CC1101 wiring<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>. ( Please note that with OMG we are recommending CC1101 GDO2 to be connected to ESP32 D27 and GDO0 to be connected to D12, this is different than the LSatan diagram. This is due to the ESP32 using D2 as part of the boot process. )</p> <h2 id="esp32-hardware-setup"><a href="#esp32-hardware-setup" class="header-anchor">#</a> ESP32 Hardware setup</h2> <p><img src="/dev/assets/img/OpenMQTTgateway_ESP32_Addon_RF.e2747c60.png" alt="Addon_RF"></p> <h2 id="esp8266-hardware-setup"><a href="#esp8266-hardware-setup" class="header-anchor">#</a> ESP8266 Hardware setup</h2> <p>If the gateway works only when serial monitor is connected don't use D3 use D2 instead (gpio 4) and modify config_RF.h accordingly.</p> <p>With SRX882 some users reported that D3 is not working use D1 instead in this case and modify config_RF.h accordingly.</p> <p><img src="/dev/assets/img/OpenMQTTgateway_ESP8266_Addon_RF.fc195165.png" alt="Addon_RF"></p> <h2 id="arduino-hardware-setup"><a href="#arduino-hardware-setup" class="header-anchor">#</a> Arduino Hardware setup</h2> <p><img src="/dev/assets/img/OpenMQTTgateway_Arduino_Addon_RF.4de128c9.png" alt="RF"></p> <h2 id="sonoff-rf-bridge-hardware-setup"><a href="#sonoff-rf-bridge-hardware-setup" class="header-anchor">#</a> SONOFF RF Bridge Hardware setup</h2> <p>Per default there is no need on modifying the RF Bridge hardware, unless you don't want to use the provided RF controller (EFM8BB1). Indeed if you want to extend the protocols supported by the bridge you can <a href="https://github.com/xoseperez/espurna/wiki/Hardware-Itead-Sonoff-RF-Bridge---Direct-Hack" target="_blank" rel="noopener noreferrer">bypass this controller<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> and use the ESP8255 capacities to decode RF Signal.
|
|
The RF processing can be achieved after the modification by either RF, RF2 or Pilight gateways.</p> <h2 id="sonoff-rfr3-hardware-setup"><a href="#sonoff-rfr3-hardware-setup" class="header-anchor">#</a> SONOFF RFR3 Hardware setup</h2> <p><a href="https://1technophile.blogspot.com/2019/08/new-sonoff-rfr3-as-433tomqtt-gateway.html" target="_blank" rel="noopener noreferrer">Connect GPIO4 of the ESP8255 to the pin D0 of SYN470<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="wifi-rf-gateway-hardware-setup"><a href="#wifi-rf-gateway-hardware-setup" class="header-anchor">#</a> WIFI RF GATEWAY Hardware setup</h2> <p>This board doesn't require any hardware modifications.</p></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/1technophile/OpenMQTTGateway/edit/development/docs/setitup/rf.md" target="_blank" rel="noopener noreferrer">Edit this page</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">12/12/2023, 8:03:11 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
|
|
←
|
|
<a href="/dev/prerequisites/controller.html" class="prev">
|
|
Controller
|
|
</a></span> <span class="next"><a href="/dev/setitup/ble.html">
|
|
BLE gateway
|
|
</a>
|
|
→
|
|
</span></p></div> </main></div><div class="global-ui"></div></div>
|
|
<script src="/dev/assets/js/app.37616211.js" defer></script><script src="/dev/assets/js/2.fdf4d158.js" defer></script><script src="/dev/assets/js/13.8fdadc95.js" defer></script>
|
|
</body>
|
|
</html>
|