Giter Site home page Giter Site logo

youbooks / irbaby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caffreyfans/irbaby

0.0 1.0 0.0 57.6 MB

基于 ESP8266 利用 IRext 开源红外库实现万能红外遥控,已对接 MQTT 协议,可轻松接入 HomeAssistant :bomb:

License: MIT License

irbaby's Introduction

IRbaby

IRbaby 使用 IRext 开源红外库,提供数以万计的红外设备遥控编码。 IRbaby 帮助你使用 ESP8266 系列模块,只需对其进行简单设置就可以快速在 HomeAssisant 里的控制红外设备

forthebadge


特点

  • Irext 强大红外码库
  • 支持基于 ESP8266 的模块
  • MQTT 支持(已对接 HomeAssistant 官方插件)
  • 支持录码
  • 离线解码

架构图

开始使用

  1. 下载 ESP8266 固件并烧写到设备。IRbaby-firmware
  2. 设备上电,移动端搜索连接到 ESP** 信号,并在浏览器中输入 192.168.4.1 对设备进行联网设置
  3. 下载 Android 客户端并运行,对设备进行 MQTT 和红外收发引脚设定。IRbaby-android
  4. 匹配电器,完成控制, HomeAssistant 用户可在控制界面导出配置文件

IRbaby目前仍处于开发阶,目前的交互协议可能随时改变,不保证向后兼容,升级新版本时需要注意公告说明同时升级固件和客户端。

六步连接HomeAssistant

发现设备 配置信息 添加电器
匹配电器 已有电器 导出MQTT

材料

红外接收头可选(如果需要录码功能)

Nodemcu 红外二级管
红外接收头 三级管

关于连线

红外连接图

接线

备注:红外二级管连接的时候也可以尝试不用三级管,直接连接。红外二级管长引脚接gpio,短脚接地。红外接收头的话就照着上图标示的那样与模块连接。红外接收头非必须,如果你不使用录码功能可忽略红外接收头。只要你有一个红外发射管和一块 ESP8266 和一部 Android 手机就可以尝试该项目。另外目前项目只支持空调控制,其他功能暂不支持,后续会添加。匹配客户端目前也只支持 Android,跨平台客户端也在后续添加中

附加下载地址

如果你有在 github releases 下载文件过慢的问题,请在 http://caffreyfans.top/IRbaby 下在对应文件

特别感谢

Strawmanbobi Irext开源库的作者,给予我技术和精神上的支持

irbaby's People

Contributors

caffreyfans avatar imgbotapp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.