Open rangerzhou opened 2 years ago
小度同样识别不出设备
2021-12-08 22:56:21 DEBUG (MainThread) [custom_components.havcs] [mqtt] -------- start handle task from mqtt at 2021-12-08 22:56:21 --------
2021-12-08 22:56:21 DEBUG (MainThread) [custom_components.havcs] [mqtt] raw message: {'content': '{"header":{"payloadVersion":"1","name":"DiscoverAppliancesRequest","namespace":"DuerOS.ConnectedHome.Discovery","messageId":"_Smarthome_61b0c79525db98.32419576"},"payload":{"accessToken":"9cb91a753dbb03c871e98db5339038bd059f7b80","openUid":"b6a431a3dd25302baee30aa569bebc3d"}}', 'headers': {'Authorization': 'Bearer 9cb91a753dbb03c871e98db5339038bd059f7b80'}, 'msgId': '754ef51614ea26d57ab25439daa8f54c', 'platform': 'dueros', 'msgType': 'cmnd'}
2021-12-08 22:56:21 INFO (MainThread) [custom_components.havcs.dueros] [dueros] Handle Request:
{'header': {'payloadVersion': '1', 'name': 'DiscoverAppliancesRequest', 'namespace': 'DuerOS.ConnectedHome.Discovery', 'messageId': '_Smarthome_61b0c79525db98.32419576'}, 'payload': {'accessToken': '9cb91a753dbb03c871e98db5339038bd059f7b80', 'openUid': 'b6a431a3dd25302baee30aa569bebc3d'}}
2021-12-08 22:56:21 INFO (MainThread) [custom_components.havcs.dueros] [dueros] Respnose:
{'header': {'payloadVersion': '1', 'name': 'DiscoverAppliancesResponse', 'namespace': 'DuerOS.ConnectedHome.Discovery', 'messageId': '_Smarthome_61b0c79525db98.32419576'}, 'payload': {'discoveredAppliances': []}}
2021-12-08 22:56:21 DEBUG (MainThread) [custom_components.havcs] [mqtt] -------- mqtt task finish at 2021-12-08 22:56:21, Running time: 0.161244s --------
2021-12-08 23:05:34 INFO (MainThread) [custom_components.havcs] loading device info from file
MQTT 连接成功
2021-12-08 22:34:35 INFO (MainThread) [custom_components.havcs] [mqtt] get hello message:
****************************************************
***欢迎使用"havcs智能音箱接入Home Assistant方案"***
*********当你看到此信息,说明mqtt已正常工作*********
****************************************************