惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

PCI Perspectives
PCI Perspectives
C
CERT Recently Published Vulnerability Notes
Project Zero
Project Zero
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threatpost
NISL@THU
NISL@THU
H
Help Net Security
G
Google Developers Blog
S
Securelist
Recorded Future
Recorded Future
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
V
Vulnerabilities – Threatpost
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
T
Tenable Blog
M
MIT News - Artificial intelligence
罗磊的独立博客
WordPress大学
WordPress大学
I
Intezer
V2EX - 技术
V2EX - 技术
Schneier on Security
Schneier on Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Secure Thoughts
C
Cybersecurity and Infrastructure Security Agency CISA
Recent Announcements
Recent Announcements
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Cisco Blogs
大猫的无限游戏
大猫的无限游戏
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
Lohrmann on Cybersecurity
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
宝玉的分享
宝玉的分享
腾讯CDC
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
美团技术团队
H
Heimdal Security Blog
Hugging Face - Blog
Hugging Face - Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy
博客园 - 司徒正美
博客园 - Franky
W
WeLiveSecurity

阿锦在线[ajinol.com]

ESP8266+ESPHome+Homeassistant实现地暖水温监测 追觅L10 Pro扫地机更换电池方法 Bitwarden:修改docker-compose配置邮件服务及管理员面板 斐讯DC1插排故障(通电无反应)维修方法 最近喜欢的歌曲:【4K Hi-Res】程艾影_赵雷 halo-hao主题友链页面的设置方法 Z2M 2.0.0启动zigbee2mqtt失败:cannot discover tcp adapters at this time DNS解析的整个过程 好歌推荐:赵雷《朵》【Hi-res】 Dify:社区版v0.15.3升级至v1.0.0教程 Dify:环境变量说明 部分AI大模型API调用价格汇总 Dify:docker-compose.yaml和.env.example文件的注释说明 Halo-Hao主题“在线工具”页面模板代码 智能家居HomeAssistant系列:配置教程 童年回忆之:四驱赛车 收藏几个动态懒加载图片 收藏几个在线自动生成文章封面、海报的网址 1panel面板的快照恢复或服务器业务迁移教程
新版homeassistant core 2025.3.0 bemfa 加载失败解决方法
标签 · 2025-04-25 · via 阿锦在线[ajinol.com]

新homeassistant core升级到新版 2025.3.0后, 加载项bemfa一直提示加载失败,在错误日志里提示“paho-mqtt==1.6.1” 。这是由于bemfa依赖旧版的 paho-mqtt<2.0.0,导致兼容性错误,集成无法加载。

临时解决方法:

\homeassistant\custom_components\bemfa文件夹下
manifest.json中的
"requirements": ["paho-mqtt==1.6.1"]
修改为
"requirements": ["paho-mqtt>=2.0.0"]

mqtt.py中
self._mqttc = mqtt.Client(uid, mqtt.MQTTv311)
修改为
self._mqttc = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1, client_id=uid, protocol=mqtt.MQTTv311)
保存 重启HA 后生效

阿锦在线[ajinol.com]

记录生活点滴!