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

小爱同学TTS服务(2019年5月29日更新可用版本)

 火... [复制链接]

0

主题

2

回帖

18

积分

新手上路

积分
18
金钱
16
HASS币
0
发表于 2019-5-28 13:30:30 | 显示全部楼层
多谢大神!!学习!
回复

使用道具 举报

0

主题

45

回帖

143

积分

注册会员

积分
143
金钱
98
HASS币
0
发表于 2019-5-28 15:11:33 | 显示全部楼层
感谢 老哥 分享 mark
回复

使用道具 举报

3

主题

186

回帖

1049

积分

金牌会员

积分
1049
金钱
860
HASS币
0
发表于 2019-5-28 17:59:00 | 显示全部楼层
今天貌似又不能用了,HA的log如下
May 28 17:47:57 dreamha hass[23316]: 2019-05-28 17:47:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component hello_miai
May 28 17:47:57 dreamha hass[23316]: Traceback (most recent call last):
May 28 17:47:57 dreamha hass[23316]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
May 28 17:47:57 dreamha hass[23316]:     component.setup, hass, processed_config)  # type: ignore
May 28 17:47:57 dreamha hass[23316]:   File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
May 28 17:47:57 dreamha hass[23316]:     result = self.fn(*self.args, **self.kwargs)
May 28 17:47:57 dreamha hass[23316]:   File "/home/homeassistant/.homeassistant/custom_components/hello_miai.py", line 333, in setup
May 28 17:47:57 dreamha hass[23316]:     client = xiaomi_tts(hass,config,miid, password)
May 28 17:47:57 dreamha hass[23316]:   File "/home/homeassistant/.homeassistant/custom_components/hello_miai.py", line 39, in __init__
May 28 17:47:57 dreamha hass[23316]:     self._LoginByPassord()
May 28 17:47:57 dreamha hass[23316]:   File "/home/homeassistant/.homeassistant/custom_components/hello_miai.py", line 103, in _LoginByPassord
May 28 17:47:57 dreamha hass[23316]:     if not self._login_miai():
May 28 17:47:57 dreamha hass[23316]:   File "/home/homeassistant/.homeassistant/custom_components/hello_miai.py", line 179, in _login_miai
May 28 17:47:57 dreamha hass[23316]:     serviceToken = "nonce={}&{}".format(self._serviceLoginAuth2_json['nonce'],self._serviceLoginAuth2_json['ssecurity'])
May 28 17:47:57 dreamha hass[23316]: KeyError: 'nonce'

有相同情况的吗?

回复

使用道具 举报

0

主题

184

回帖

739

积分

高级会员

积分
739
金钱
555
HASS币
0
发表于 2019-5-28 18:11:01 | 显示全部楼层
学习学习
回复

使用道具 举报

0

主题

184

回帖

739

积分

高级会员

积分
739
金钱
555
HASS币
0
发表于 2019-5-28 18:12:51 | 显示全部楼层
学习学习 !!!
回复

使用道具 举报

0

主题

149

回帖

1304

积分

金牌会员

积分
1304
金钱
1155
HASS币
0
发表于 2019-5-29 00:00:20 | 显示全部楼层
looklook,,,
回复

使用道具 举报

0

主题

18

回帖

93

积分

注册会员

积分
93
金钱
75
HASS币
0
发表于 2019-5-29 17:05:01 | 显示全部楼层
多谢楼主分享
回复

使用道具 举报

6

主题

87

回帖

1044

积分

金牌会员

积分
1044
金钱
951
HASS币
0
发表于 2019-5-29 22:26:40 | 显示全部楼层
学习大神。
回复

使用道具 举报

9

主题

778

回帖

3882

积分

论坛元老

积分
3882
金钱
3095
HASS币
87
发表于 2019-5-29 22:48:12 | 显示全部楼层
学习一下
回复

使用道具 举报

1

主题

91

回帖

285

积分

中级会员

积分
285
金钱
193
HASS币
0
发表于 2019-5-29 23:20:10 来自手机 | 显示全部楼层
学习下,谢谢楼主
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-7 10:11 , Processed in 0.686759 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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