找回密码
 立即注册

微信扫码登录

搜索
查看: 144021|回复: 133

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

 火..   [复制链接]

40

主题

1141

回帖

4569

积分

论坛元老

积分
4569
金钱
3388
HASS币
0
QQ
发表于 2018-8-16 15:21:24 | 显示全部楼层
666 ,学习了 。顺带问一下, n大,在n1上能不能用这个容器啊 ,
回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

积分
4569
金钱
3388
HASS币
0
QQ
发表于 2018-8-19 01:11:22 | 显示全部楼层
本帖最后由 goldstep 于 2018-8-19 01:14 编辑

接下来下一步,点击开始测试。
此时会看到一个界面,点击账号配置。天猫精灵授权确认点击 yes。
等待转跳完毕看到您刚刚在上一步骤添加的设备证明已经成功了。

n大 现在在这里遇到一个问题:
单独通过域名访问我的 :"https://域名/device/index.php "可以顺利完成添加设备、 删除、查询设备,

但是 进入https://open.bot.tmall.com ,填入相关的信息后,信息内容完全根据自己实际按教程输入无误 ,点击“账户配置”,
接着天猫精灵授权确认点yes,弹出获取token中,之后马上弹出外部服务异常 ,3秒返回

QQ图片20180819011043.png

回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

积分
4569
金钱
3388
HASS币
0
QQ
发表于 2018-8-19 10:32:18 | 显示全部楼层
neroxps 发表于 2018-8-19 06:58
返回后能加载设备列表吗?

能加载列表,但是加载都是我授权的其他平台的设备, 没有ha的设备
回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

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

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

回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

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

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

回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

积分
4569
金钱
3388
HASS币
0
QQ
发表于 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

回复

使用道具 举报

40

主题

1141

回帖

4569

积分

论坛元老

积分
4569
金钱
3388
HASS币
0
QQ
发表于 2021-8-11 18:05:08 | 显示全部楼层
暂停维护了?如果暂停维护了,那建议作者把这个贴子锁了吧!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-8-2 19:07 , Processed in 0.708950 second(s), 7 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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