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

 找回密码
 立即注册
楼主: 27hh

[进阶教程] 闲置安卓手机安装HA变身智能家居中枢,及网关接入教程

  [复制链接]

0

主题

32

帖子

118

积分

注册会员

Rank: 2

积分
118
金钱
86
HASS币
0
发表于 2018-12-26 15:44:13 | 显示全部楼层
坑还是不少,没有通过。。。
回复

使用道具 举报

0

主题

32

帖子

118

积分

注册会员

Rank: 2

积分
118
金钱
86
HASS币
0
发表于 2018-12-26 17:33:02 | 显示全部楼层
homeassistant requires Python '>=3.5.3' but the running Python is 3.5.1
回复

使用道具 举报

1

主题

9

帖子

42

积分

新手上路

Rank: 1

积分
42
金钱
33
HASS币
0
发表于 2019-1-1 20:27:01 | 显示全部楼层
终于算是找到一个教程了。
回复

使用道具 举报

0

主题

35

帖子

241

积分

中级会员

Rank: 3Rank: 3

积分
241
金钱
206
HASS币
0
发表于 2019-1-7 11:47:36 | 显示全部楼层
旧手机的好去处啊,谢谢教导
回复

使用道具 举报

2

主题

29

帖子

106

积分

注册会员

Rank: 2

积分
106
金钱
77
HASS币
0
发表于 2019-1-14 15:49:29 | 显示全部楼层
Xshell 5 (Build 0964)
Copyright (c) 2002-2016 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[c:\~]$

Connecting to 192.168.31.209:22...
Could not connect to '192.168.31.209' (port 22): Connection failed.

Type `help' to learn how to use Xshell prompt.
[c:\~]$
请问电脑无法连接手机显示以上信息该怎么办
回复

使用道具 举报

2

主题

29

帖子

106

积分

注册会员

Rank: 2

积分
106
金钱
77
HASS币
0
发表于 2019-1-14 17:13:47 | 显示全部楼层
上传这个文件到/home/android/
请问这个文件夹在哪手机上还是电脑上
回复

使用道具 举报

2

主题

90

帖子

1070

积分

金牌会员

Rank: 6Rank: 6

积分
1070
金钱
980
HASS币
0
发表于 2019-1-14 18:06:02 | 显示全部楼层
安装的时候有如下红色提示
homeassistant requires Python '>=3.5.3' but the running Python is 3.5.1
我重新执行了更新pip,
Requirement already up-to-date: pip in /usr/local/lib/python3.5/dist-packages (18.1)
不会linux和python的门外汉求教一下,如何将python3.5.1升级到3.5.3以上版本?
回复

使用道具 举报

0

主题

86

帖子

708

积分

高级会员

Rank: 4

积分
708
金钱
622
HASS币
0
发表于 2019-2-15 09:22:57 | 显示全部楼层
Xshell 6 (Build 0101)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[C:\~]$

Connecting to 192.168.1.6:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

WARNING! The remote SSH server rejected X11 forwarding request.
Welcome to Ubuntu 16.04 LTS (GNU/Linux 3.10.65-user aarch64)

* Documentation:  https://help.ubuntu.com/
Ubuntu 16.04 LTS [running via Linux Deploy]
Last login: Thu Feb 14 17:39:01 2019 from 192.168.1.7
lishilu@localhost:~$ sudo mkdir /root/.pip
mkdir: cannot create directory '/root/.pip': File exists
lishilu@localhost:~$ sudo sh -c "echo '[global]\nindex-url = http://mirrors.ustc.edu.cn/pypi/web/simple/' > /root/.pip/pip.conf"
lishilu@localhost:~$ sudo pip3 install -U pip
The directory '/home/lishilu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/lishilu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
  Downloading https://files.pythonhosted.org/p ... y2.py3-none-any.whl (1.4MB)
    100% |################################| 1.4MB 47kB/s
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-19.0.2
lishilu@localhost:~$ sudo pip3 install virtualenv
The directory '/home/lishilu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/lishilu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: virtualenv in /usr/local/lib/python3.5/dist-packages (16.4.0)
lishilu@localhost:~$ python3 v
python3: can't open file 'v': [Errno 2] No such file or directory
lishilu@localhost:~$ python3-v
-bash: python3-v: command not found
lishilu@localhost:~$ pip3-v
回复

使用道具 举报

0

主题

44

帖子

222

积分

中级会员

Rank: 3Rank: 3

积分
222
金钱
178
HASS币
0
发表于 2019-2-28 21:53:12 | 显示全部楼层
我能用N1吗?
回复

使用道具 举报

0

主题

60

帖子

193

积分

严重灌水用户

积分
193
金钱
133
HASS币
0
发表于 2019-5-21 10:02:04 | 显示全部楼层
感谢楼主的无私分享!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 10:26 , Processed in 0.295975 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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