Giter VIP home page Giter VIP logo

Comments (9)

xrh0905 avatar xrh0905 commented on June 19, 2024

添加没有成功吗?

from ha-dsair.

JinKC avatar JinKC commented on June 19, 2024

同问,DTA117D611,添加不成功。之前本来是正常的,几个月前突然就显示“不可用”。删除集成重新添加,会卡在选择要添加的传感器实体界面(一直转),然后报错。

现在显示“未加载”
IMG_4249

点开“选项”显示如下
IMG_4250

不知与“金制空气” App 的升级是否有关。感谢开发者🌹

from ha-dsair.

xrh0905 avatar xrh0905 commented on June 19, 2024

日志中有任何异常吗? @JinKC

from ha-dsair.

xrh0905 avatar xrh0905 commented on June 19, 2024

是什么类型的安装? core(直接pip装) docker 还是OS 或者 Supervisor?

from ha-dsair.

JinKC avatar JinKC commented on June 19, 2024

日志中有任何异常吗?

此错误来自自定义集成。

Logger: aiohttp.server
Source: custom_components/ds_air/ds_air_service/service.py:205
Integration: DS-AIR (documentation)
First occurred: 10:54:48 (8 occurrences)
Last logged: 11:46:57

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 215, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 70, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 222, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 240, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1555, in async_create_flow
return HANDLERS[entry.domain].async_get_options_flow(entry)
File "/config/custom_components/ds_air/config_flow.py", line 81, in async_get_options_flow
return DsAirOptionsFlowHandler(config_entry)
File "/config/custom_components/ds_air/config_flow.py", line 93, in init
self._climates = list(map(lambda state: state.alias, Service.get_aircons()))
File "/config/custom_components/ds_air/ds_air_service/service.py", line 205, in get_aircons
return Service._new_aircons+Service._aircons+Service._bathrooms
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

from ha-dsair.

JinKC avatar JinKC commented on June 19, 2024

是什么类型的安装? core(直接pip装) docker 还是OS 或者 Supervisor?

docker 中的 supervisor。

之前是成功过的,忘了从什么时候开始突然就不行了,也没注意是否与 App 升级有关。

from ha-dsair.

mypal avatar mypal commented on June 19, 2024

#50

from ha-dsair.

hging avatar hging commented on June 19, 2024

这个最后我检查了下问题,是因为 D611 的网关是无线网关,导致实际使用的是两个 ip,但是在路由器中仅显示一个。
获取到真实 ip 后成功接入。
例如我在路由器中看到的 ip 是 192.168.0.3
实际设备的使用 ip 是 192.168.0.4
通过设备发送的网络请求发现了该问题。

from ha-dsair.

mypal avatar mypal commented on June 19, 2024

这个最后我检查了下问题,是因为 D611 的网关是无线网关,导致实际使用的是两个 ip,但是在路由器中仅显示一个。 获取到真实 ip 后成功接入。 例如我在路由器中看到的 ip 是 192.168.0.3 实际设备的使用 ip 是 192.168.0.4 通过设备发送的网络请求发现了该问题。

你有传感器设备么,传感器是esp32通过WiFi接入的,也会拥有一个IP,是不是用成这个IP了

from ha-dsair.

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.