『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: Yonsm

[插件集成] ZhiMrBond - 邦先生晾衣架插件

[复制链接]

21

主题

294

帖子

2551

积分

论坛技术达人

积分
2551
金钱
2207
HASS币
180

教程狂人

 楼主| 发表于 2021-3-7 23:32:36 | 显示全部楼层
yueye1235 发表于 2021-3-7 21:28
关闭(或者开启) 时候 Ha 状态显示有点延迟
具体描述:
晾衣架灯点击了 "开启" 后,  灯立即开启,  但是ha的 ...

看起来是问题,后面我改一下
回复

使用道具 举报

0

主题

129

帖子

911

积分

高级会员

Rank: 4

积分
911
金钱
782
HASS币
0
发表于 2021-3-9 10:50:18 | 显示全部楼层
谢谢分享
回复

使用道具 举报

0

主题

102

帖子

1051

积分

金牌会员

Rank: 6Rank: 6

积分
1051
金钱
949
HASS币
0
发表于 2021-3-9 11:43:51 | 显示全部楼层
感谢分享!!!
回复

使用道具 举报

5

主题

259

帖子

1590

积分

金牌会员

Rank: 6Rank: 6

积分
1590
金钱
1331
HASS币
0
发表于 2021-3-20 16:22:00 | 显示全部楼层
楼主好,正好要买个晾衣架,好像没有M1了,新版是M1S和M1Spro,不知道这两款能不能接入
回复

使用道具 举报

57

主题

629

帖子

3856

积分

论坛元老

Rank: 8Rank: 8

积分
3856
金钱
3222
HASS币
20
发表于 2021-3-24 23:20:00 | 显示全部楼层
大佬 更新最新插件 ha直接启动不了 不知道什么问题
回复

使用道具 举报

21

主题

294

帖子

2551

积分

论坛技术达人

积分
2551
金钱
2207
HASS币
180

教程狂人

 楼主| 发表于 2021-3-25 08:38:04 | 显示全部楼层
gmshiwoge 发表于 2021-3-24 23:20
大佬 更新最新插件 ha直接启动不了 不知道什么问题

新版改成依赖ZhiMi了,Cloud MIoT的模式,比Local MiIO稳定快速多了
回复

使用道具 举报

57

主题

629

帖子

3856

积分

论坛元老

Rank: 8Rank: 8

积分
3856
金钱
3222
HASS币
20
发表于 2021-3-25 12:00:09 来自手机 | 显示全部楼层
Yonsm 发表于 2021-3-25 08:38
新版改成依赖ZhiMi了,Cloud MIoT的模式,比Local MiIO稳定快速多了

有什么方法可以让她运行起来吗 上个版本可以进入ha但是不能显示实体 昨天那个版本重启后ha启动不起来了
回复

使用道具 举报

0

主题

55

帖子

741

积分

高级会员

Rank: 4

积分
741
金钱
686
HASS币
0
发表于 2021-3-28 13:22:49 | 显示全部楼层
大佬求问,添加后启动报错,报错信息如下,麻烦帮忙看下:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1504, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1523, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 712, in admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 117, in async_handle_core_service
    errors = await conf_util.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/config.py", line 885, in async_check_ha_config_file
    res = await check_config.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 204, in async_check_ha_config_file
    platform = p_integration.get_platform(domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 499, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 504, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/zhimrbond/light.py", line 2, in <module>
    from ..zhimi.entity import ZhiMIoTEntity, ZHI_MIOT_SCHEMA
  File "/config/custom_components/zhimi/entity.py", line 10, in <module>
    ZHI_MIOT_SCHEMA = ZHI_SCHEMA | {vol.Required(CONF_DID): cv.string}
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
回复

使用道具 举报

21

主题

294

帖子

2551

积分

论坛技术达人

积分
2551
金钱
2207
HASS币
180

教程狂人

 楼主| 发表于 2021-4-1 18:02:12 | 显示全部楼层
gujcong 发表于 2021-3-28 13:22
大佬求问,添加后启动报错,报错信息如下,麻烦帮忙看下:
Traceback (most recent call last):
  File "/u ...

python 3.8了吗?
回复

使用道具 举报

57

主题

629

帖子

3856

积分

论坛元老

Rank: 8Rank: 8

积分
3856
金钱
3222
HASS币
20
发表于 2021-4-4 20:21:13 | 显示全部楼层
Yonsm 发表于 2021-4-1 18:02
python 3.8了吗?

大佬在docker终端和Mac运行pip3 install miservice报错
python版本 Python 3.9.2 和 Python 3.8.7
Collecting miservice
  Using cached miservice-2021.3.24.tar.gz (11 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... 11ab8ab3430fc36b719 (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... 11ab8ab3430fc36b719 has inconsistent version: filename has '2021.3.24', but metadata has '2021.4.4'
  Using cached miservice-2021.3.22.tar.gz (11 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... 01cfe12cd492705f4cd (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... 01cfe12cd492705f4cd has inconsistent version: filename has '2021.3.22', but metadata has '2021.4.4'
  Using cached miservice-2021.3.20.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... adb924dc17098d868fe (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... adb924dc17098d868fe has inconsistent version: filename has '2021.3.20', but metadata has '2021.4.4'
  Using cached miservice-2021.3.18.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... 93f4989e6ded9adb2ca (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... 93f4989e6ded9adb2ca has inconsistent version: filename has '2021.3.18', but metadata has '2021.4.4'
  Using cached miservice-2021.3.17.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... c33cf00ea759fde8681 (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... c33cf00ea759fde8681 has inconsistent version: filename has '2021.3.17', but metadata has '2021.4.4'
  Using cached miservice-2021.3.16.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... efd1cd3e695e45e47c6 (from https://pypi.org/simple/miservice/) (requires-python:>=3.7). Requested miservice from https://files.pythonhosted.org/p ... efd1cd3e695e45e47c6 has inconsistent version: filename has '2021.3.16', but metadata has '2021.4.4'
  Using cached miservice-2021.3.1.tar.gz (8.0 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... 81a7e30c93cac6a4bd5 (from https://pypi.org/simple/miservice/) (requires-python:>=3.6). Requested miservice from https://files.pythonhosted.org/p ... 81a7e30c93cac6a4bd5 has inconsistent version: filename has '2021.3.1', but metadata has '2021.4.4'
  Using cached miservice-2021.2.24.tar.gz (8.0 kB)
WARNING: Discarding https://files.pythonhosted.org/p ... 58a6f48ea4dc81c1779 (from https://pypi.org/simple/miservice/) (requires-python:>=3.6). Requested miservice from https://files.pythonhosted.org/p ... 58a6f48ea4dc81c1779 has inconsistent version: filename has '2021.2.24', but metadata has '2021.4.4'
ERROR: Could not find a version that satisfies the requirement miservice
ERROR: No matching distribution found for miservice
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-14 11:15 , Processed in 0.076760 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表