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

 找回密码
 立即注册
查看: 9926|回复: 12

[已解决] 求0.73版好用的斐讯M1插件

[复制链接]

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
发表于 2018-7-18 08:34:43 | 显示全部楼层 |阅读模式
50金钱
本帖最后由 jyz_0501 于 2018-8-13 21:36 编辑

RT,有的快点甩过来吧~~

2018-07-20 14:29:26 ERROR (SyncWorker_10) [custom_components.sensor.aircat] exception: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 171, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3.6/site-packages/urllib3/util/connection.py", line 56, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 849, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 314, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 180, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x73500470>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='aircleaner.phicomm.com', port=443): Max retries exceeded with url: /aircleaner/getIndexData (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x73500470>: Failed to establish a new connection: [Errno -3] Try again',))

最佳答案

查看完整内容

用的yonsm的老版本,目前0.74.0b2没出过问题,倒是dc1插件经常报错 https://bbs.hassbian.com/forum.php?mod=viewthread&tid=2698&extra=&highlight=M1&page=1
回复

使用道具 举报

4

主题

531

帖子

4003

积分

论坛元老

Rank: 8Rank: 8

积分
4003
金钱
3462
HASS币
120
发表于 2018-7-18 08:34:44 | 显示全部楼层
用的yonsm的老版本,目前0.74.0b2没出过问题,倒是dc1插件经常报错
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=2698&extra=&highlight=M1&page=1
aircat.rar (2.22 KB, 下载次数: 25)
回复

使用道具 举报

8

主题

2073

帖子

6053

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
6053
金钱
3980
HASS币
145

灌水之王

发表于 2018-7-18 10:06:48 | 显示全部楼层
哥们你0.73你是用起来不好看不显示  还是用不起来呢?
我也0.73HA 一用.py插件 整个sensor类型设备挂掉了
m1cuowu.png
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2018-7-18 13:47:37 | 显示全部楼层
0.73 有啥问题,是python 插件报错还是什么样?
Nero
回复

使用道具 举报

1

主题

170

帖子

1161

积分

金牌会员

Rank: 6Rank: 6

积分
1161
金钱
991
HASS币
0
发表于 2018-7-18 14:07:18 | 显示全部楼层
好像没什么问题,一直都在用啊
嗯哼,有论坛签名了
回复

使用道具 举报

18

主题

192

帖子

1047

积分

金牌会员

Rank: 6Rank: 6

积分
1047
金钱
850
HASS币
20
发表于 2018-7-18 17:18:38 | 显示全部楼层
现在就去升级看看
回复

使用道具 举报

75

主题

1976

帖子

8179

积分

元老级技术达人

积分
8179
金钱
6153
HASS币
430

活跃会员教程狂人

发表于 2018-7-18 21:21:34 | 显示全部楼层
以前时好时坏,感觉还是账号和服务器之间的问题,我现在是0.73.1,倒是没问题了。用的https://bbs.hassbian.com/thread-2508-1-1.html,不过我没有用Custom UI,只是简单得用了sensor。
所有过往,皆为序章。
回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-7-19 04:26:36 | 显示全部楼层
咸味土豆 发表于 2018-7-18 21:21
以前时好时坏,感觉还是账号和服务器之间的问题,我现在是0.73.1,倒是没问题了。用的https://bbs.hassbian ...

嗯 对 以前服务器总是443错误
回复

使用道具 举报

31

主题

188

帖子

1798

积分

论坛技术达人

积分
1798
金钱
1590
HASS币
20

教程狂人论坛风云人物

发表于 2018-7-19 20:22:58 | 显示全部楼层
也可以用custom_ui实现
回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-7-20 14:58:37 | 显示全部楼层
咸味土豆 发表于 2018-7-18 21:21
以前时好时坏,感觉还是账号和服务器之间的问题,我现在是0.73.1,倒是没问题了。用的https://bbs.hassbian ...
2018-07-20 14:29:26 ERROR (SyncWorker_10) [custom_components.sensor.aircat] exception: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 171, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3.6/site-packages/urllib3/util/connection.py", line 56, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 849, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 314, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 180, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x73500470>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='aircleaner.phicomm.com', port=443): Max retries exceeded with url: /aircleaner/getIndexData (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x73500470>: Failed to establish a new connection: [Errno -3] Try again',))
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 01:33 , Processed in 0.106126 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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