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

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

[插件集成] 斐讯悟空 M1 插件完美无忧版

  [复制链接]

7

主题

1974

帖子

5657

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
5657
金钱
3683
HASS币
145

灌水之王

发表于 2018-7-18 02:34:33 | 显示全部楼层
本帖最后由 xieahui 于 2018-7-18 10:37 编辑

有出来这个错误 大神求解
2018-07-18 02:32:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for climate.broadlink which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-18 02:32:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch.konke which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-18 02:33:05 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform ping is taking over 10 seconds.
2018-07-18 02:33:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
    return await task
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 116, in _async_setup_component
    conf_util.async_process_component_config(hass, config, domain)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/config.py", line 673, in async_process_component_config
    platform = get_platform(hass, domain, p_name)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/loader.py", line 58, in get_platform
    return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/loader.py", line 86, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 781, in get_code
  File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/sensor/phicomm.py", line 7
    <!DOCTYPE html>
    ^
SyntaxError: invalid syntax

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
自己逗比了 进入一个误区 直接把链接右键另存为phicomm.py
反复折腾发现这个是htm 把进去后把代码复制出来可以

回复

使用道具 举报

0

主题

19

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
47
HASS币
0
发表于 2018-11-7 12:46:58 | 显示全部楼层
很棒学习了学习了
回复

使用道具 举报

14

主题

654

帖子

3820

积分

论坛元老

Rank: 8Rank: 8

积分
3820
金钱
3161
HASS币
10
发表于 2018-11-17 02:08:23 | 显示全部楼层
斐讯服务器恢复了       大佬 sensor.aircat_temperature:  写错了 配置文件应该写成  sensor.phicomm_temperature:弄好了我说半天出不来呢?
回复

使用道具 举报

2

主题

123

帖子

589

积分

高级会员

Rank: 4

积分
589
金钱
466
HASS币
10
发表于 2019-3-17 03:10:50 来自手机 | 显示全部楼层
不用刷固件的 感谢
回复

使用道具 举报

0

主题

1

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
19
HASS币
0
发表于 2019-6-26 10:01:35 | 显示全部楼层
github上的代码删除了,哪位能再传一份吗?
回复

使用道具 举报

1

主题

38

帖子

184

积分

注册会员

Rank: 2

积分
184
金钱
146
HASS币
0
发表于 2019-7-1 11:47:36 | 显示全部楼层
希望这个可以用
回复

使用道具 举报

0

主题

3

帖子

21

积分

新手上路

Rank: 1

积分
21
金钱
18
HASS币
0
发表于 2019-7-9 09:48:04 | 显示全部楼层
从拼喜喜收的,现在没法连接wifi,请教有什么办法么
回复

使用道具 举报

0

主题

26

帖子

655

积分

高级会员

Rank: 4

积分
655
金钱
629
HASS币
0
发表于 2020-2-8 14:00:43 | 显示全部楼层
非常感谢分享的   手里的M1吃灰很久了
回复

使用道具 举报

0

主题

7

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
11
HASS币
0
发表于 2020-7-2 23:13:27 | 显示全部楼层
楼主牛逼!
回复

使用道具 举报

0

主题

18

帖子

104

积分

注册会员

Rank: 2

积分
104
金钱
86
HASS币
0
发表于 2022-8-23 15:28:26 | 显示全部楼层
这个才是我想要的,谢谢。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 16:15 , Processed in 0.189986 second(s), 37 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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