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

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

[经验分享] 群晖部署天猫精灵网关 For Docker

   关闭 [复制链接]

39

主题

1047

帖子

3844

积分

论坛元老

Rank: 8Rank: 8

积分
3844
金钱
2797
HASS币
0
发表于 2019-5-20 00:02:29 | 显示全部楼层
leonxis 发表于 2018-8-18 16:05
感谢版主情节人还在解决问题!!!
经测试完美解决!!!

你好,我以前部署的天猫本地网关使用hass的 url是http的。
现在我的hass开启了https访问模式,
新增天猫设备的时候报错了,请问你是怎么解决这个问题的哦 ?

回复

使用道具 举报

39

主题

1047

帖子

3844

积分

论坛元老

Rank: 8Rank: 8

积分
3844
金钱
2797
HASS币
0
发表于 2019-5-20 00:04:33 | 显示全部楼层
leonxis 发表于 2018-8-19 09:51
全部删掉按照新教程做一遍之后
完美!!!
反应速度跟论坛转发不是一个级别

如果不开启hass的 ssl证书,那么hass的https访问和本地天猫网关是不是存在不可调和的矛盾呢 /

回复

使用道具 举报

4

主题

49

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
163
HASS币
0
发表于 2019-5-23 14:51:39 | 显示全部楼层
学习一下
回复

使用道具 举报

0

主题

183

帖子

2409

积分

金牌会员

Rank: 6Rank: 6

积分
2409
金钱
2226
HASS币
0
发表于 2019-6-15 18:34:58 | 显示全部楼层
大神Oauth token 返回不正确,请检查, 3秒后返回设备列表求指导
日志里报错
Undefined index: redirect_uri in /data/tmall-bot-x1/authorize.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "POST /authorize.php?response_type=code&client_id=qwertyuiopasdfghjkl&state=xyz HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "tamll.xuefeiyl.top", referrer: "https://tamll.xuefeiyl.top/authorize.php?response_type=code&client_id=qwertyuiopasdfghjkl&state=xyz"
回复

使用道具 举报

0

主题

102

帖子

484

积分

中级会员

Rank: 3Rank: 3

积分
484
金钱
382
HASS币
0
发表于 2019-6-16 19:50:25 来自手机 | 显示全部楼层
考,一定支持哈
回复

使用道具 举报

39

主题

1047

帖子

3844

积分

论坛元老

Rank: 8Rank: 8

积分
3844
金钱
2797
HASS币
0
发表于 2019-7-17 18:45:38 | 显示全部楼层
今天重新在群晖系统docker下部署,应用后,无论使用token还是ha_passwd
启动容器都会报错,并且无法生成dB
datestreamcontent
2019-07-17 09:51:57stdout190717 09:51:57 mysqld_safe Starting mysqld daemon with databases from /data/databases
2019-07-17 09:51:57stdout190717 09:51:57 mysqld_safe Logging to '/data/databases/neroxps-amd64-tmall-bot-x1-addon1.err'.
2019-07-17 09:51:57stdout[INFO] Start MariaDB
2019-07-17 09:51:57stdout[INFO] Use exists mariadb initial system
2019-07-17 09:51:57stdout[INFO] No remote database found. Will use the local database.
2019-07-17 09:51:57stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:57stdoutcp: can't stat '/etc/localtime/zoneinfo': Not a directory
2019-07-17 09:51:57stdout  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0curl: (6) Could not resolve host: hassio
2019-07-17 09:51:56stdout                                 Dload  Upload   Total   Spent    Left  Speed
2019-07-17 09:51:56stdout  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:56stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:55stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:55stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:55stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:55stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:51:55stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:35stdout190717 09:49:35 mysqld_safe Starting mysqld daemon with databases from /data/databases
2019-07-17 09:49:35stdout190717 09:49:35 mysqld_safe Logging to '/data/databases/neroxps-amd64-tmall-bot-x1-addon1.err'.
2019-07-17 09:49:34stdout[INFO] Start MariaDB
2019-07-17 09:49:34stdout[INFO] Use exists mariadb initial system
2019-07-17 09:49:34stdout[INFO] No remote database found. Will use the local database.
2019-07-17 09:49:34stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:34stdoutcp: can't stat '/etc/localtime/zoneinfo': Not a directory
2019-07-17 09:49:34stdout  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0   0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0   0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0curl: (6) Could not resolve host: hassio
2019-07-17 09:49:30stdout                                 Dload  Upload   Total   Spent    Left  Speed
2019-07-17 09:49:30stdout  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:30stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:29stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:29stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:29stdoutparse error: Expected another key-value pair at line 13, column 1
2019-07-17 09:49:29stdoutparse error: Expected another key-value pair at line 13, column 1

回复

使用道具 举报

24

主题

623

帖子

2756

积分

金牌会员

Rank: 6Rank: 6

积分
2756
金钱
2123
HASS币
40
发表于 2019-7-18 16:46:22 来自手机 | 显示全部楼层
这个不错
回复

使用道具 举报

0

主题

4

帖子

24

积分

新手上路

Rank: 1

积分
24
金钱
20
HASS币
0
发表于 2019-7-24 16:42:57 | 显示全部楼层
先膜拜大神,再收藏,最后仔细学习
回复

使用道具 举报

0

主题

87

帖子

1407

积分

金牌会员

Rank: 6Rank: 6

积分
1407
金钱
1320
HASS币
0
发表于 2019-12-3 09:31:57 | 显示全部楼层

先打上一炮在看具体教程
回复

使用道具 举报

2

主题

65

帖子

370

积分

中级会员

Rank: 3Rank: 3

积分
370
金钱
305
HASS币
0
发表于 2020-3-23 20:11:04 | 显示全部楼层
本帖最后由 zfnu 于 2020-3-23 21:01 编辑

无报错,打开网页添加设备提示
超时或其他错误Could not resolve host: hassio
求助
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-24 01:13 , Processed in 0.842886 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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