- 积分
- 961
- 金钱
- 703
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 961
- 金钱
- 703
- HASS币
- 0
|
发表于 2017-8-7 07:43:29
|
显示全部楼层
本帖最后由 hisoo 于 2017-8-7 07:53 编辑
谢谢分享,这个packages很方便啊
有一个关于js文件的位置提醒:
原教程要求把js文件放在/home/pi/路径下,楼主的yaml文件中的js文件路径是/root/setup/config/bin/,注意与自己上传的js文件路径保持一致。
目前还是这些错误,开关也没有弄,另外,读取数据确实慢
2017-08-06 11:25:06 ERROR (Thread-9) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.174 status-power
2017-08-06 11:25:06 ERROR (Thread-2) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.174 status-mode
2017-08-06 11:25:06 ERROR (Thread-5) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.217 status-power
2017-08-06 11:25:07 ERROR (Thread-6) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.174 status-led
2017-08-06 11:25:07 ERROR (Thread-10) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.174 status-temp
2017-08-06 11:25:07 ERROR (Thread-4) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.217 status-mode
2017-08-06 11:25:09 ERROR (Thread-11) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.174 status-hum
2017-08-06 11:25:09 ERROR (Thread-8) [homeassistant.components.sensor.command_line] Timeout for command: node /home/pi/airpurifier.js 192.168.1.217 status-led
2017-08-06 11:25:13 ERROR (Thread-11) [homeassistant.components.light.yeelight] Failed to connect to bulb 192.168.1.152, Living Room: A socket error occurred when sending the command.
2017-08-06 11:26:29 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: (possible options: 自动模式, 安静模式, 最爱模式, 关)
2017-08-06 11:27:16 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: (possible options: 自动模式, 安静模式, 最爱模式, 关)
2017-08-06 11:33:22 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: (possible options: 自动模式, 安静模式, 最爱模式, 关)
2017-08-06 11:37:25 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: (possible options: 自动模式, 安静模式, 最爱模式, 关) |
|