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

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

(1月14日更新)斐讯空气检测仪M1插件 for HA

  [复制链接]

8

主题

139

帖子

1257

积分

论坛技术达人

积分
1257
金钱
1103
HASS币
40
发表于 2018-1-18 10:32:25 | 显示全部楼层
kingmacth 发表于 2018-1-17 21:59
这个版本几分钟就掉线了。

log来......
回复

使用道具 举报

15

主题

147

帖子

660

积分

高级会员

Rank: 4

积分
660
金钱
513
HASS币
0
发表于 2018-1-18 13:45:10 | 显示全部楼层

你需要的是网页看到的日志还是命令行里的日志。用哪个命令?
回复

使用道具 举报

15

主题

147

帖子

660

积分

高级会员

Rank: 4

积分
660
金钱
513
HASS币
0
发表于 2018-1-18 13:46:25 | 显示全部楼层

Update for sensor.m1 fails
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/sensor/PhicommAirDetector.py", line 136, in update
    sockA.sendall(b'\xaaO\x01\xf2E\x119\x8f\x0b\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xf8\x93\x11T/\x007\x00\x00\x02{"type":5,"status":1}\xff#END#')
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 199, in async_update_ha_state
    yield from self.async_device_update()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.5/asyncio/futures.py", line 379, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 292, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/sensor/PhicommAirDetector.py", line 142, in update
    sockA.shutdown(SHUT_RDWR)
NameError: name 'SHUT_RDWR' is not defined

这是网页上的
回复

使用道具 举报

15

主题

147

帖子

660

积分

高级会员

Rank: 4

积分
660
金钱
513
HASS币
0
发表于 2018-1-18 13:48:22 | 显示全部楼层

顺便在咨询个问题。问什么心跳里面有的是2位有的是三位呢。
\xaaO\x01\xf2E\x119
比如这个AAO  F2E 119是三位的  01是2位的。
回复

使用道具 举报

2

主题

90

帖子

632

积分

高级会员

Rank: 4

积分
632
金钱
542
HASS币
0
发表于 2018-1-18 15:26:24 | 显示全部楼层
谢谢分享
回复

使用道具 举报

8

主题

139

帖子

1257

积分

论坛技术达人

积分
1257
金钱
1103
HASS币
40
发表于 2018-1-18 16:50:52 | 显示全部楼层
kingmacth 发表于 2018-1-18 13:46
Update for sensor.m1 fails
Traceback (most recent call last):
  File "/srv/homeassistant/homeassis ...

把 SHUT_RDWR 改成 2
回复

使用道具 举报

0

主题

52

帖子

205

积分

论坛积极会员

积分
205
金钱
153
HASS币
0
发表于 2018-1-18 19:43:42 | 显示全部楼层
好东西,谢谢分享!!!
回复

使用道具 举报

15

主题

147

帖子

660

积分

高级会员

Rank: 4

积分
660
金钱
513
HASS币
0
发表于 2018-1-18 19:56:33 | 显示全部楼层
yinjiong 发表于 2018-1-18 16:50
把 SHUT_RDWR 改成 2

在哪里改啊?
回复

使用道具 举报

6

主题

168

帖子

605

积分

高级会员

Rank: 4

积分
605
金钱
437
HASS币
0
发表于 2018-1-18 21:42:01 | 显示全部楼层

小米路由器下的设置

小米路由器下的设置

homebridge配置文件

homebridge配置文件

1516282105(1).png

安装命令

安装命令


这是我的设置,但是HA系统里显示不出来,小白的我搞不清楚哪里错了,用的是树莓派




回复

使用道具 举报

1

主题

45

帖子

191

积分

注册会员

Rank: 2

积分
191
金钱
146
HASS币
0
发表于 2018-1-18 21:55:51 | 显示全部楼层
正好我买了几个
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-30 14:49 , Processed in 4.122044 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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