yongman / homeassistant-components Goto Github PK
View Code? Open in Web Editor NEW目前在使用的Homeassistant自定义插件,当前版本Home Assistant 2022.05
目前在使用的Homeassistant自定义插件,当前版本Home Assistant 2022.05
hello 我现在homeassistant使用的2021.3.4版本,直接使用的你的mqtt代码,连接服务器没有问题,但是在ha上按按钮的时候会自动断开服务器,不知道是什么原因。
报错日志如下:
Logger: custom_components.mqtt
Source: custom_components/mqtt/init.py:921
Integration: MQTT (documentation)
First occurred: 下午4:26:56 (1 occurrences)
Last logged: 下午4:26:56
Disconnected from MQTT server ffffcae4711e7829100163e0f811e.mqtt.iot.gz.baidubce.com:1883 (1)
除湿机的型号是DYD-E12A3
DYD-N20A3想控制模式,温度设定,档位,负离子开关等功能,有人知道mqtt topic是什么,还有数据结构吗
报错如下,求教大佬:
2022-12-28 10:39:25.942 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package paho-mqtt==1.5.1: ERROR: Cannot install paho-mqtt==1.5.1 because these package versions have conflicting dependencies.
2022-12-28 10:39:38.750 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package paho-mqtt==1.5.1: ERROR: Cannot install paho-mqtt==1.5.1 because these package versions have conflicting dependencies.
2022-12-28 10:39:52.254 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package paho-mqtt==1.5.1: ERROR: Cannot install paho-mqtt==1.5.1 because these package versions have conflicting dependencies.
2022-12-28 10:39:52.258 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration mqtt: Requirements for mqtt not found: ['paho-mqtt==1.5.1'].
2022-12-28 10:39:52.263 ERROR (MainThread) [homeassistant.config] Platform error: sensor - Integration 'mqtt' not found.
2022-12-28 10:39:52.272 ERROR (MainThread) [homeassistant.config] Platform error: sensor - Requirements for mqtt not found: ['paho-mqtt==1.5.1'].
2022-12-28 10:39:52.275 ERROR (MainThread) [homeassistant.config] Platform error: sensor - Requirements for mqtt not found: ['paho-mqtt==1.5.1'].
2022-12-28 10:39:52.279 ERROR (MainThread) [homeassistant.config] Platform error: sensor - Requirements for mqtt not found: ['paho-mqtt==1.5.1'].
2022-12-28 10:39:52.283 ERROR (MainThread) [homeassistant.config] Platform error: switch - Integration 'mqtt' not found.
HA版本为:
Home Assistant 2022.12.7
前端版本: 20221213.1 - latest
你好,德业全网唯一插件一哥。按照blog 的操作后遇到如下错误,请问插件可以支持 T22A3型号吗?谢谢!
错误提示:
2021-02-16 20:06:43 ERROR (Thread-5) [custom_components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-16 20:06:43 WARNING (Thread-5) [custom_components.mqtt] Disconnected from MQTT server ccae4711e7829100163e.mqtt.iot.gz.baidubce.com:1883 (5)
我的操作:
软件版本:
version | core-2021.2.3 |
---|---|
installation_type | Home Assistant Container |
dev | false |
hassio | false |
docker | true |
virtualenv | false |
python_version | 3.8.7 |
os_name | Linux |
os_version | 5.10.14-v7l+ |
arch | armv7l |
timezone | Asia/Shanghai |
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
dashboards | 1 |
---|---|
resources | 0 |
mode | auto-gen |
可以麻烦详细说明下吗?试了设备发现都木有?
是只要把mqtt组件放在custom_components下面吗?
现在HA 版本是Home Assistant 2021.3.4 下载你的最新的components 把mqtt拷贝进custom_components,按要求编写configuration.yaml 实体switch.deye不可以用
我是群晖下docker的Home Assistant
盼回复
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.