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

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

挂墙终端Dashboard|Floorplan3D室内动态图|Homekit|测试展示大集锦

  [复制链接]

1

主题

158

帖子

552

积分

高级会员

Rank: 4

积分
552
金钱
393
HASS币
0
发表于 2017-11-3 09:39:27 | 显示全部楼层
hugo 发表于 2017-11-3 00:19
conf的设置呢,这下面不是说依赖包没找到么

conf文件夹内的配置文件是这么写的:
AppDaemon:
  logfile: /home/pi/appdaemon/appdaemon.log
  errorfile: /home/pi/appdaemon/appdaemon.err
  threads: 10
  latitude: 39.9328592
  longitude: 116.3360056
  elevation: 56.46
  time_zone: Asia/Shanghai

HASS:
  ha_url: http://192.168.1.205:8123
  ha_key: 密码
HADashboard:
  dash_url: http://192.168.1.205:5050
  dash_dir: /home/pi/appdaemon/conf/dashboards/
  app_dir: /home/pi/appdaemon/conf/apps
# Apps
hello_world:
  module: hello
  class: HelloWorld
回复

使用道具 举报

13

主题

152

帖子

811

积分

高级会员

Rank: 4

积分
811
金钱
649
HASS币
0
 楼主| 发表于 2017-11-3 23:13:35 | 显示全部楼层
61741514 发表于 2017-11-3 09:39
conf文件夹内的配置文件是这么写的:
AppDaemon:
  logfile: /home/pi/appdaemon/appdaemon.log

重新安装下appdaemon,看你的日志应该是有些依赖包没正确安装好。安装时候截下图。
回复

使用道具 举报

1

主题

158

帖子

552

积分

高级会员

Rank: 4

积分
552
金钱
393
HASS币
0
发表于 2017-11-4 18:22:21 | 显示全部楼层
hugo 发表于 2017-11-3 23:13
重新安装下appdaemon,看你的日志应该是有些依赖包没正确安装好。安装时候截下图。 ...

卸载后重新安装是这样的:
pi@raspberrypi:~/appdaemon $ sudo pip3 install .
Unpacking /home/pi/appdaemon
  Running setup.py (path:/tmp/pip-4rfwfl2q-build/setup.py) egg_info for package from file:///home/pi/appdaemon

    warning: no files found matching 'HISTORY.md'
    warning: no files found matching 'TUTORIAL.md'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Requirement already satisfied (use --upgrade to upgrade): daemonize in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): configparser in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): astral in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): requests>=2.6.0 in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): sseclient in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): websocket-client in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): async in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): aiohttp>=2.2.3 in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.9.5 in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): aiohttp-jinja2 in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): voluptuous in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): feedparser in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): iso8601 in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): bcrypt in /usr/local/lib/python3.4/dist-packages (from appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python3/dist-packages (from sseclient->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): chardet in /usr/lib/python3/dist-packages (from aiohttp>=2.2.3->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): multidict>=3.0.0 in /usr/local/lib/python3.4/dist-packages (from aiohttp>=2.2.3->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): async-timeout>=1.2.0 in /usr/local/lib/python3.4/dist-packages (from aiohttp>=2.2.3->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): yarl>=0.11 in /usr/local/lib/python3.4/dist-packages (from aiohttp>=2.2.3->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.1 in /usr/local/lib/python3.4/dist-packages (from bcrypt->appdaemon==2.1.11)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/local/lib/python3.4/dist-packages (from cffi>=1.1->bcrypt->appdaemon==2.1.11)
Installing collected packages: appdaemon
  Running setup.py install for appdaemon

    warning: no files found matching 'HISTORY.md'
    warning: no files found matching 'TUTORIAL.md'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    Installing appdaemon script to /usr/local/bin
Successfully installed appdaemon
Cleaning up...
回复

使用道具 举报

13

主题

152

帖子

811

积分

高级会员

Rank: 4

积分
811
金钱
649
HASS币
0
 楼主| 发表于 2017-11-4 23:41:52 | 显示全部楼层
61741514 发表于 2017-11-4 18:22
卸载后重新安装是这样的:
pi@raspberrypi:~/appdaemon $ sudo pip3 install .
Unpacking /home/pi/appda ...

没关系啊,可能你自己没删除干净,主要appdaemon能正常运行就好,pip3 list看下appdaemon正确安装好了没。版本多少。看下运行有没有问题就好。
回复

使用道具 举报

1

主题

158

帖子

552

积分

高级会员

Rank: 4

积分
552
金钱
393
HASS币
0
发表于 2017-11-5 10:32:48 | 显示全部楼层
hugo 发表于 2017-11-4 23:41
没关系啊,可能你自己没删除干净,主要appdaemon能正常运行就好,pip3 list看下appdaemon正确安装好了没 ...

嗯 安装上了 版本是2.1.11 我都做好备份 准备重装一遍了
回复

使用道具 举报

5

主题

182

帖子

808

积分

论坛积极会员

积分
808
金钱
625
HASS币
0
发表于 2017-11-28 14:47:57 | 显示全部楼层
大神你好!我想问一下你的摄像头怎么样加上?
回复

使用道具 举报

13

主题

152

帖子

811

积分

高级会员

Rank: 4

积分
811
金钱
649
HASS币
0
 楼主| 发表于 2017-11-28 22:36:55 | 显示全部楼层
本帖最后由 hugo 于 2017-11-28 22:39 编辑
chenji 发表于 2017-11-28 14:47
大神你好!我想问一下你的摄像头怎么样加上?

home assistant 本身有摄像头Camera的组件,而Home assistant的插件Dashboard支持camera小组件(widget),你可参考
home assistant关于支持的摄像头:
https://home-assistant.io/components/#camera



HAdashboard如何引入摄像头模块作为小组件放入HAdashboard面板:
http://appdaemon.readthedocs.io/ ... REATION.html#camera
回复

使用道具 举报

1

主题

30

帖子

135

积分

注册会员

Rank: 2

积分
135
金钱
105
HASS币
0
发表于 2017-12-11 14:35:01 | 显示全部楼层
这个可以有的哈
回复

使用道具 举报

0

主题

52

帖子

205

积分

论坛积极会员

积分
205
金钱
153
HASS币
0
发表于 2018-1-19 01:00:02 来自手机 | 显示全部楼层
照顾下新手,是用浏览器打开的还是用哪个app
回复

使用道具 举报

13

主题

185

帖子

586

积分

高级会员

Rank: 4

积分
586
金钱
400
HASS币
0
发表于 2018-1-21 14:00:53 | 显示全部楼层
楼主,请问你是把home assistant 安装在 原生的Raspbian系统了 还是  hassbain系统?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 14:43 , Processed in 0.470255 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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