Git Product home page Git Product logo

Comments (9)

Caffreyfans avatar Caffreyfans commented on September 7, 2024

是否跟手机型号有关?
不,是只能输入数字这是 APP 的设定跟手机无关。
字母定义的引脚最终会转换成对应的 gpio 引脚,比如在 nodemcu 上 D5 对应的 gpio 14,那么要用 D5 引脚,就填 14 就行了。
为什么不能用字母定义的引脚?
考虑到固件的通用性,字母对应引脚只针对某些开发板,不同的开发板可能不同,所以这里采用更通用的方式直接填写 gpio 引脚。

from irbaby.

gzsjw avatar gzsjw commented on September 7, 2024

多谢了。
发射红外信号时,是不是会有一点光闪一下,我这里没看到有发光,空调也没有响应。
我用的是5mm的红外发射管,还有一种是3mm,不知道跟这个口径有没关系?

from irbaby.

gzsjw avatar gzsjw commented on September 7, 2024

请教以下大拿,这个项目是用什么开发环境的,VSCode + PlatformIO IDE 插件吗,能不能调试代码的?

from irbaby.

Caffreyfans avatar Caffreyfans commented on September 7, 2024

多谢了。
发射红外信号时,是不是会有一点光闪一下,我这里没看到有发光,空调也没有响应。
我用的是5mm的红外发射管,还有一种是3mm,不知道跟这个口径有没关系?

没有关系,我用的也是 5mm 二级管,是可以直接驱动的。你用摄像头去拍二级管是能看到闪红光的。如果没有响应应该注意自己引脚是否设置正确。

from irbaby.

Caffreyfans avatar Caffreyfans commented on September 7, 2024

请教以下大拿,这个项目是用什么开发环境的,VSCode + PlatformIO IDE 插件吗,能不能调试代码的?

可以啊,你可以自己用 pio 编译,很方便的。然后你自己也可以看看串口打印的消息,看看哪里不对。波特率 115200。

from irbaby.

gzsjw avatar gzsjw commented on September 7, 2024

把灯都关掉,终于能拍到闪光了;
加了3级管,亮度好像亮一些;
可惜空调还是没反应,估计是码库不支持了;
另外,我观察到mqtt信号,好像是4个一组,第2个是温度,其他是些on\off\auto,大神能否公布下mqtt负载的信息含义?

from irbaby.

Caffreyfans avatar Caffreyfans commented on September 7, 2024
  1. 同一空调品牌会有多种编码,如果一种不行再试试另一种,都不行的情况下才能得出该码库无效的结果。
  2. MQTT 负载的含义没什么特别,是根据 HomeAssistant HV/AC MQTT插件来定义的。具体含义你可以根据它英文意思推测出来啊,我详细写后面会在 WIkI 上专门吧它列出来。

from irbaby.

gzsjw avatar gzsjw commented on September 7, 2024

很高兴你能及时回应,我的空调是海信日立的风管机,有8个编码选择,都试过了没反应;
我再找台美的的试试,是不是格力、美的这些容易接入,日立有点小众,好像连个APP都没有;

from irbaby.

Caffreyfans avatar Caffreyfans commented on September 7, 2024

我不清楚海信日立是两个品牌还是一个品牌,然后你尝试过品牌下所有编码后都没有效果的话就说明码库里确实没有,这没有办法。

from irbaby.

Related Issues (20)

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.