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

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

基于斐讯K3硬件和HomeAssistant软件打造免费的智能家居

  [复制链接]

5

主题

116

帖子

847

积分

高级会员

Rank: 4

积分
847
金钱
726
HASS币
0
 楼主| 发表于 2018-6-25 12:34:54 | 显示全部楼层
ufonba 发表于 2018-6-25 09:03
大神,K3能装hassio吗?

应该是不行。
hassio基于docker的,目前K3的软件没有发现对docker的支持。
回复

使用道具 举报

11

主题

324

帖子

1332

积分

金牌会员

Rank: 6Rank: 6

积分
1332
金钱
1008
HASS币
0
发表于 2018-7-9 06:10:02 | 显示全部楼层
话说 k3除了个子大 真没什么优点 吃灰中 偶尔拿出来插一下电 然后再放回去
回复

使用道具 举报

5

主题

116

帖子

847

积分

高级会员

Rank: 4

积分
847
金钱
726
HASS币
0
 楼主| 发表于 2018-7-11 20:12:14 | 显示全部楼层
wangyiyuan 发表于 2018-7-9 06:10
话说 k3除了个子大 真没什么优点 吃灰中 偶尔拿出来插一下电 然后再放回去

官改的无线、有线性能还可以。
CPU的能力+外扩USB盘,做个家居的中控应该是足够的。

目前觉察到的缺点:
1. 功耗和发热
2. U盘的驱动和挂载,在某些情况下(长期运行或者重负载?)有可能有问题
回复

使用道具 举报

0

主题

102

帖子

545

积分

高级会员

Rank: 4

积分
545
金钱
443
HASS币
0
发表于 2018-7-14 23:27:08 | 显示全部楼层
正需要  谢谢分享
回复

使用道具 举报

0

主题

19

帖子

53

积分

注册会员

Rank: 2

积分
53
金钱
34
HASS币
0
发表于 2018-7-21 13:19:35 | 显示全部楼层
我试试在软路由上这样操作
回复

使用道具 举报

0

主题

5

帖子

59

积分

注册会员

Rank: 2

积分
59
金钱
54
HASS币
0
发表于 2018-7-23 23:05:47 | 显示全部楼层
第五步,执行以下命令就可以启动HomeAssistant   了。遇到问题了,求指导。注:装的官改V1.6,是不是这个原因?前面四步在做好U盘的软链接后,都很顺利的搞定了。重新运行了前面1-4步,第5步还是不行,只能求救了。
[K3 /tmp/media/nand/opt]# python3 -m homeassistant --open-ui --config /root/.hom
eassistant
Traceback (most recent call last):
  File "/runpy.py", line 193, in _run_module_as_main
  File "/runpy.py", line 85, in _run_code
  File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 377, in <module>
    sys.exit(main())
  File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 352, in main
    args = get_arguments()
  File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 85, in get_arguments
    import homeassistant.config as config_util
  File "/opt/lib/python3.6/site-packages/homeassistant/config.py", line 16, in <module>
    from homeassistant.auth import providers as auth_providers
ImportError: cannot import name 'providers'
回复

使用道具 举报

0

主题

5

帖子

59

积分

注册会员

Rank: 2

积分
59
金钱
54
HASS币
0
发表于 2018-7-27 18:43:01 来自手机 | 显示全部楼层
本帖最后由 christdl 于 2018-7-27 23:54 编辑

好像装好了,但是怎么连到Homekit?是不是还需要homebridge?怎么配置这个?感觉好混乱,我能找到configuration.yaml如下:
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude:
  longitude:
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation:
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: UTC
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Weather prediction
sensor:
  - platform: yr


# Text to speech
tts:
  - platform: google

# Cloud
cloud:


group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml


回复

使用道具 举报

1

主题

37

帖子

210

积分

中级会员

Rank: 3Rank: 3

积分
210
金钱
173
HASS币
0
发表于 2018-8-21 15:27:59 | 显示全部楼层
梅林可以安装吗?
回复

使用道具 举报

5

主题

116

帖子

847

积分

高级会员

Rank: 4

积分
847
金钱
726
HASS币
0
 楼主| 发表于 2018-8-31 14:57:03 | 显示全部楼层
ngcgba 发表于 2018-8-21 15:27
梅林可以安装吗?

没试过,理论上应该是可以的,
不过需要很多的库支持,能否找到所有的工具和库是个问题。
回复

使用道具 举报

5

主题

116

帖子

847

积分

高级会员

Rank: 4

积分
847
金钱
726
HASS币
0
 楼主| 发表于 2018-8-31 14:58:42 | 显示全部楼层
christdl 发表于 2018-7-27 18:43
好像装好了,但是怎么连到Homekit?是不是还需要homebridge?怎么配置这个?感觉好混乱,我能找到configura ...

是需要Home Bridge,我也没有玩过
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-24 17:25 , Processed in 0.640484 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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