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

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

【暗度陈仓】如何在斐讯N1上安装homeassistant

  [复制链接]

22

主题

519

帖子

1608

积分

金牌会员

Rank: 6Rank: 6

积分
1608
金钱
1089
HASS币
10
发表于 2019-5-10 17:22:22 | 显示全部楼层
一路操作下来,提示。。。
root@aml:~# sudo systemctl enable [email][email protected][/email]
Failed to enable unit: File [email][email protected][/email]: Invalid argument
回复

使用道具 举报

0

主题

42

帖子

185

积分

注册会员

Rank: 2

积分
185
金钱
143
HASS币
0
发表于 2019-5-14 13:11:58 | 显示全部楼层
想买一个N1玩玩 感受一下
回复

使用道具 举报

1

主题

15

帖子

56

积分

注册会员

Rank: 2

积分
56
金钱
41
HASS币
0
发表于 2019-5-21 17:00:16 | 显示全部楼层
请教楼主,买网上刷好破解好可看电视的版本是否可以不用降级?
回复

使用道具 举报

0

主题

12

帖子

70

积分

注册会员

Rank: 2

积分
70
金钱
58
HASS币
0
发表于 2019-5-31 13:43:16 | 显示全部楼层
慢慢学,有点多。。。
回复

使用道具 举报

1

主题

82

帖子

313

积分

中级会员

Rank: 3Rank: 3

积分
313
金钱
231
HASS币
0
发表于 2019-6-1 18:39:41 | 显示全部楼层
网址输入反馈决绝访问和404: Not Found,请大神帮我看看日志内容

2019-06-01 01:30:58 ERROR (MainThread) [homeassistant.loader] Unable to find component tts.google_translate
2019-06-01 01:30:58 ERROR (MainThread) [homeassistant.loader] Unable to find component default_config
2019-06-01 01:30:58 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Component not found.
2019-06-01 01:30:58 ERROR (MainThread) [homeassistant.setup] Error during setup of component discovery
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 143, in _async_setup_component
    hass, processed_config)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/discovery.py", line 110, in async_setup
    from netdisco.discovery import NetworkDiscovery
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/netdisco/discovery.py", line 6, in <module>
    from .ssdp import SSDP
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/netdisco/ssdp.py", line 11, in <module>
    from netdisco.util import etree_to_dict, interface_addresses
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/netdisco/util.py", line 4, in <module>
    import netifaces
ModuleNotFoundError: No module named 'netifaces'
2019-06-01 01:30:59 WARNING (MainThread) [homeassistant.components.http] You have been advised to set http.api_password.
回复

使用道具 举报

0

主题

3

帖子

31

积分

新手上路

Rank: 1

积分
31
金钱
28
HASS币
0
发表于 2019-6-2 11:20:02 | 显示全部楼层
慢慢学,跟着大佬的教程一步一步来
回复

使用道具 举报

39

主题

1042

帖子

3834

积分

论坛元老

Rank: 8Rank: 8

积分
3834
金钱
2792
HASS币
0
发表于 2019-7-9 17:44:20 | 显示全部楼层
1、hassio 想降级,有没有办法啊,我安装了一个dokcer容器,和图形管理界面,
untitled.png

通常我认为将这里的两个容器删除了,重新拉取镜像就可以了,不知这样操作能行否?

2、frpc客户端讲解的挺详细, 对于服务端配置是不是也介绍一下,我是直接下载的frpc和frps文件到对应的n1文件夹下,

现在问题是不知道怎么让它们两个随着各自的服务器n1系统启动而自行启动!




回复

使用道具 举报

0

主题

3

帖子

11

积分

新手上路

Rank: 1

积分
11
金钱
8
HASS币
0
发表于 2019-8-8 19:10:31 | 显示全部楼层
mark一下
回复

使用道具 举报

13

主题

289

帖子

1942

积分

金牌会员

Rank: 6Rank: 6

积分
1942
金钱
1653
HASS币
0
发表于 2019-8-9 14:27:01 | 显示全部楼层
大神,下面的报错如何解决啊  谷歌百度都没搜到 N1环境
Installing collected packages: zipp, importlib-metadata, voluptuous, voluptuous-serialize, immutables, contextvars, pytz, astral, MarkupSafe, jinja2, text-unidecode, python-slugify, ruamel.yaml, PyJWT, asn1crypto, pycparser, cffi, cryptography, bcrypt, pyyaml, homeassistant
  Running setup.py install for voluptuous-serialize ... done
  Running setup.py install for immutables ... error
    Complete output from command /srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-op41axc5/immutables/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-p7nxd7jq-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/immutables:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-aarch64-3.6
    creating build/lib.linux-aarch64-3.6/immutables
    copying immutables/map.py -> build/lib.linux-aarch64-3.6/immutables
    copying immutables/__init__.py -> build/lib.linux-aarch64-3.6/immutables
    running egg_info
    writing immutables.egg-info/PKG-INFO
    writing dependency_links to immutables.egg-info/dependency_links.txt
    writing top-level names to immutables.egg-info/top_level.txt
    reading manifest file 'immutables.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'immutables.egg-info/SOURCES.txt'
    copying immutables/_map.c -> build/lib.linux-aarch64-3.6/immutables
    copying immutables/_map.h -> build/lib.linux-aarch64-3.6/immutables
    running build_ext
    building 'immutables._map' extension
    creating build/temp.linux-aarch64-3.6
    creating build/temp.linux-aarch64-3.6/immutables
    aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/homeassistant_venv/include -I/usr/include/python3.6m -c immutables/_map.c -o build/temp.linux-aarch64-3.6/immutables/_map.o -O2 -std=c99 -fsigned-char -Wall -Wsign-compare -Wconversion
    In file included from immutables/_map.c:2:0:
    immutables/_map.h:5:10: fatal error: Python.h: No such file or directory
     #include "Python.h"
              ^~~~~~~~~~
    compilation terminated.
    error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-op41axc5/immutables/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-p7nxd7jq-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/immutables" failed with error code 1 in /tmp/pip-build-op41axc5/immutables/
回复

使用道具 举报

0

主题

169

帖子

625

积分

高级会员

Rank: 4

积分
625
金钱
456
HASS币
0
发表于 2020-2-20 16:37:58 | 显示全部楼层
感谢大神分享,翰思彼岸有你更精彩
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-23 16:01 , Processed in 0.772873 second(s), 38 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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