# mqtt_to_rf433 **Repository Path**: frxc/mqtt_to_rf433 ## Basic Information - **Project Name**: mqtt_to_rf433 - **Description**: 通过mqtt发送rf433信号 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-05 - **Last Updated**: 2021-05-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Arduino_RF433_RF315 #### 介绍 使用mqtt发送RF遥控信号,可接入Home Assistant。这里是一个开关车库的示例。使用之前首先需要知道自己的RF信号是什么,可以参考这篇:https://bbs.hassbian.com/thread-1314-1-9.html #### 准备工作 1. arduino+w5100开发板(需使用有线)或nodemuc v3(WiFi连接,同时控制板更小,推荐使用)(IDE需要安装两个库:RCSwitch、PubSubClient) 2. RF433模块 3. Home Assistant服务器 4. mqtt服务器 #### 安装教程 1. arduino版本:RF433模块VCC接8号引脚(原因见文件注释),DATA接9号引脚,GND接GND 2. nodemuc v3版本:RF433模块VCC接D8号引脚(原因见文件注释),DATA接D2号引脚,GND接GND #### 使用说明 1. Home Assistant 配置文件添加: ~~~ cover: - platform: mqtt name: "车库" icon: mdi:garage-variant command_topic: "Home/RF/433/send" payload_open: "xxxxxxxx" //开门信号 payload_close: "xxxxxxxx" //关门信号 payload_stop: "xxxxxxxx" //停止信号 ~~~ ![home assistant 截图](https://images.gitee.com/uploads/images/2021/0505/112515_3d2ef7c3_1219033.png "QQ截图20210505112527.png")