Git Product home page Git Product logo

homeassistant-components's Issues

deye 成功接入 ha mqtt 服务器后不能控制

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

求助,想通过大佬的mqtt接入德业,重启HA报错paho-mqtt==1.5.1

报错如下,求教大佬:
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

Homeassistant mqtt 报错 - 德业型号 T22A3

你好,德业全网唯一插件一哥。按照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)

我的操作:

  1. 沿用HA的MQTT源码(复制到custom_components)
  2. 修改MQTT switch.py 配置

软件版本:

System Health

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
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Lovelace
dashboards 1
resources 0
mode auto-gen

我的DYD-E12A3接入也不成功

现在HA 版本是Home Assistant 2021.3.4 下载你的最新的components 把mqtt拷贝进custom_components,按要求编写configuration.yaml 实体switch.deye不可以用
我是群晖下docker的Home Assistant
盼回复

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.