Tasmota: 8.2.0 升级后“BH1750”现在被视为“AM2301 露点”传感器。

创建于 2020-03-21  ·  3评论  ·  资料来源: arendst/Tasmota

感谢您报告此项目的问题。 请先阅读:此问题模板仅用于报告 Tasmota 软件问题 请不要打开问题: - 如果您的 Tasmota 版本不是开发分支的最新版本,请在提交问题之前更新您的设备。 你的问题可能已经解决了。 Tasmota 的最新预编译二进制文件可以从 http://thehackbox.org/tasmota/ 下载 - 如果您在通过 Tuya Convert 刷机时遇到问题,请联系 Tuya Convert 团队 - 如果您的问题是刷机问题,请在 [Tasmota 支持聊天室](https://discord.gg/Ks2Kzd4) 中解决 - 如果您的问题是编译问题,请在 [Tasmota 支持聊天室](https://discord.gg/Ks2Kzd4) 中解决- 如果您的问题之前已解决(即重复问题),请在原始问题中提问 - 如果您的问题是 Wi-Fi 问题或 MQTT 问题,请尝试 [FAQ] 中提供的步骤(https:// tasmota.github.io/docs/#/help/FAQ) 和 [疑难解答](https://tasmota.github.io/docs/#/help/Troubleshooting) 请花几分钟时间完成以下要求的信息。 没有它,我们提供援助的能力就会受到极大的阻碍。 所要求的详细信息可能会影响要采用的选项。 您花在完成模板上的少量时间也将帮助为您提供帮助的志愿者减少帮助您所需的时间。 请勿从该模板中删除任何文本! 否则问题将自动关闭。

问题描述

升级到 8.2.0 后,传感器“BH1750”现在被视为“AM2301 露点”传感器。

索取资料

_在提交问题之前,请确保您已执行所有步骤并选中适用的框。 谢谢!_

  • [x] 阅读贡献指南和政策以及行为准则
  • [x] 在问题中搜索问题
  • [x] 在文档中搜索问题
  • [x] 在论坛搜索问题
  • [x] 在聊天中搜索问题
  • [x] 使用的设备(例如 Sonoff Basic):NodeMCU
  • [x] 使用的 Tasmota 二进制固件版本号:8.2.0

    • [x] 预编译

    • [ ] 自编译

    • [ ] 使用的 IDE/编译器:_____

  • [x] 使用的刷机工具:OTA
  • [x] 提供命令的输出: Backlog Template; Module; GPIO 255
  Configuration output here:
20:30:48 MQT: tasmotaTempSensor/stat/RESULT = {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18}
20:30:49 MQT: tasmotaTempSensor/stat/RESULT = {"Module":{"0":"Generic"}}
20:30:49 MQT: tasmotaTempSensor/stat/RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"6":"I2C SDA"},"GPIO5":{"5":"I2C SCL"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"2":"AM2301"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"}}

  • [ ] 如果使用规则,请提供此命令的输出: Backlog Rule1; Rule2; Rule3
  Rules output here:


  • [x] 提供此命令的输出: Status 0
  STATUS 0 output here:
20:30:03 CMD: Status 0
20:30:03 MQT: tasmotaTempSensor/stat/STATUS = {"Status":{"Module":0,"FriendlyName":["Tasmota TempSensor"],"Topic":"tasmotaTempSensor","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":6,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":1,"PowerRetain":0}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:19:00","StartupUTC":"2020-03-21T20:11:03","Sleep":100,"CfgHolder":4617,"BootCount":72,"BCResetTime":"2020-03-21T18:59:42","SaveCount":118,"SaveAddress":"FB000"}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS2 = {"StatusFWR":{"Version":"8.2.0(tasmota)","BuildDateTime":"2020-03-20T14:45:23","Boot":31,"Core":"STAGE","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8266EX","CR":"397/699"}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["MartinRouterKing",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["000A8209","2805C8000100060000005A00000000000000","00000200","00000000"]}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS4 = {"StatusMEM":{"ProgramSize":577,"Free":424,"Heap":23,"ProgramFlashSize":1024,"FlashSize":4096,"FlashChipId":"164020","FlashMode":3,"Features":["00000809","8FDAE397","043683A0","000000CD","010013C0","C000F981","00000004"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37","Sensors":"1,2,3,4,5,6"}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS5 = {"StatusNET":{"Hostname":"tasmotaTempSensor","IPAddress":"192.168.1.59","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"DC:4F:22:7D:79:AB","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.107","MqttPort":1883,"MqttClientMask":"TempSensor","MqttClient":"TempSensor","MqttUser":"MQTT-user","MqttCount":2,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS7 = {"StatusTIM":{"UTC":"2020-03-21T20:30:03","Local":"2020-03-21T20:30:03","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+00:00","Sunrise":"05:49","Sunset":"18:04"}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS10 = {"StatusSNS":{"Time":"2020-03-21T20:30:03","AM2301":{"Temperature":19.1,"Humidity":64.6,"DewPoint":12.3},"TempUnit":"C"}}
20:30:03 MQT: tasmotaTempSensor/stat/STATUS11 = {"StatusSTS":{"Time":"2020-03-21T20:30:03","Uptime":"0T00:19:00","UptimeSec":1140,"Heap":23,"SleepMode":"Dynamic","Sleep":100,"LoadAvg":9,"MqttCount":2,"Wifi":{"AP":1,"SSId":"MartinRouterKing","BSSId":"38:2C:4A:CA:92:80","Channel":1,"RSSI":100,"Signal":-25,"LinkCount":1,"Downtime":"0T00:00:06"}}}

  • [ ] 当您遇到问题时提供控制台日志输出的输出; 如果适用:
    _(请使用_ weblog 4 _了解更多调试信息)_
  Console output here:


复制

_重现行为的步骤:_

预期行为

_对您期望发生的事情的清晰简明描述。_

截图

_如果适用,请添加屏幕截图以帮助解释您的问题。_

附加上下文

_在此处添加有关该问题的任何其他上下文。_

(请记得在问题解决后关闭问题)

question

所有3条评论

如果您查看新版本变更日志的第一点,您将看到:

Change default my_user_config.h driver and sensor support removing most sensors and adding most drivers to tasmota.bin

当您使用{"StatusFWR":{"Version":"8.2.0(tasmota)" ,BH1750 不在那里,您必须使用 Tasmota-sensors.bin 才能使其正常工作。
有关每个固件支持的传感器的实际列表,请参见此处

顺便说一下,露点是一种嵌入在所有湿度传感器中的新型传感器。

哦射击!
谢谢你的提醒伙伴。 我现在会尝试,然后我将关闭该主题。

干杯,周末愉快。

2020 年 3 月 21 日星期六,20:48 Federico Leoni, notifications@ github.com 写道:

顺便说一下,露点是一种嵌入在所有湿度传感器中的新型传感器。


您收到此消息是因为您创作了该线程。
直接回复本邮件,在GitHub上查看
https://github.com/arendst/Tasmota/issues/7974#issuecomment-602102687
或退订
https://github.com/notifications/unsubscribe-auth/ABD4PLCONLJBXY4VRTOAFIDRIURY3ANCNFSM4LRBF73A
.

此页面是否有帮助?
0 / 5 - 0 等级