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

 找回密码
 立即注册
12
返回列表 发新帖
楼主: nyhx2013

[插件集成] 大佬们我的Xiaomi MIoT 集成连不上网怎么解决呢?

[复制链接]

1

主题

37

帖子

129

积分

注册会员

Rank: 2

积分
129
金钱
92
HASS币
0
QQ
 楼主| 发表于 2022-4-2 17:41:40 | 显示全部楼层
gl695133087 发表于 2022-4-1 20:29
是不是开了类似AdGuard之类的广告过滤系统,会把小米的域名过滤掉。我之前就是这样,后来关闭ad了都还不行 ...

是的,我之前配置了一下,结果后续也是链接不上了

经过努力现在又正常了,解决方法是重装了个新的,结果旧的那个也可以了,就是这么神奇
回复

使用道具 举报

4

主题

76

帖子

1197

积分

金牌会员

Rank: 6Rank: 6

积分
1197
金钱
1121
HASS币
0
发表于 2022-6-6 16:12:31 | 显示全部楼层
nyhx2013 发表于 2022-4-2 17:41
是的,我之前配置了一下,结果后续也是链接不上了

经过努力现在又正常了,解决方法是重装了个新的,结果 ...

我重装了也不行
回复

使用道具 举报

4

主题

76

帖子

1197

积分

金牌会员

Rank: 6Rank: 6

积分
1197
金钱
1121
HASS币
0
发表于 2022-6-27 17:08:26 | 显示全部楼层
neroxps 发表于 2022-3-31 12:18
1 从淘宝api 拿下时间和本地时间到底对不对
2 就看看容器内能不能访问小米 api
然后截图 curl 的错误。

bash-5.1# curl http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp | jq -r '.data.t' | awk '{print substr($0,1,9)}'           
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                                            
                                 Dload  Upload   Total   Spent    Left  Speed                                                               
100   109  100   109    0     0    658      0 --:--:-- --:--:-- --:--:--   660                                                              
165632063                                                                                                                                   
bash-5.1# curl -i -v https://api.io.mi.com                                                                                                  
*   Trying 0.0.0.0:443...                                                                                                                  
* Connected to api.io.mi.com (127.0.0.1) port 443 (#0)                                                                                      
* ALPN, offering h2                                                                                                                        
* ALPN, offering http/1.1                                                                                                                  
* successfully set certificate verify locations:                                                                                            
*  CAfile: /etc/ssl/certs/ca-certificates.crt                                                                                               
*  CApath: none                                                                                                                             
* TLSv1.3 (OUT), TLS handshake, Client hello (1):                                                                                          
* TLSv1.3 (IN), TLS handshake, Server hello (2):                                                                                            
* TLSv1.2 (IN), TLS handshake, Certificate (11):                                                                                            
* TLSv1.2 (OUT), TLS alert, unknown CA (560):                                                                                               
* SSL certificate problem: unable to get local issuer certificate                                                                           
* Closing connection 0                                                                                                                     
curl: (60) SSL certificate problem: unable to get local issuer certificate                                                                  
More details here: https://curl.se/docs/sslcerts.html                                                                                       
                                                                                                                                            
curl failed to verify the legitimacy of the server and therefore could not                                                                  
establish a secure connection to it. To learn more about this situation and                                                                 
how to fix it, please visit the web page mentioned above.   


这是什么问题?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-14 11:49 , Processed in 0.066612 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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