Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决Can't get available token for this device的可能办法 #488

Open
WY-HUB opened this issue Feb 3, 2025 · 3 comments
Open

解决Can't get available token for this device的可能办法 #488

WY-HUB opened this issue Feb 3, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@WY-HUB
Copy link

WY-HUB commented Feb 3, 2025

HA版本

2025.1.4

集成版本

0.6.6

之前可正常使用的集成版本

0.6.6

设备类型及型号

美的美居设备

使用的App

美的美居

问题/Bug详细描述

1.第一次尝试自动添加,且设备ip使用自动时,添加任何设备均提示Can't get available token for this device,无法正常添加。
2.尝试使用List all appliances only功能,发现所有设备的IP均显示为192.168.68.1,这是我网关的IP,并不是设备ip,所以怀疑是ip获取出错。
3.再次尝试使用Discover automatically,然后在ip地址页面手动输入设备的ip地址,然后添加设备,然后成功添加美居中的所有设备。(包含美的,华凌,小天鹅)
出现这个问题的朋友可以使用Discover automatically,然后在ip地址界面尝试手动输入ip,看看能否成功添加设备。

The logs

  1. 必须先开启Debug Log(参考首页README说明)
  2. 执行产生错误的操作(请务必在问题详细描述中说明)
  3. 将完整的Debug log文件以附件上传。
  4. 请勿直接粘贴log中的部分内容!以附件上传。
  5. 请勿直接粘贴log中的部分内容!以附件上传。
  6. 请勿直接粘贴log中的部分内容!以附件上传。
    ...
@WY-HUB WY-HUB added the bug Something isn't working label Feb 3, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


ha version

2025.1.4

Integrated version

0.6.6

The integrated version that can be used normally before

0.6.6

Equipment type and model

Meimeiju equipment

APP

Misimo

Question/BUG Detailed Description

  1. In the first attempt to add it automatically, and when the device IP is used automatically, any device is added to the installation of the can't available token for this device, which cannot be added normally.
  2. Try to use List All Appliances only function and find that the IP of all devices is displayed as 192.168.68.1. This is the IP of our gateway, not the device IP, so it is suspected that the IP is obtained.
  3. Try to use Discover Automatically again, then manually enter the IP address of the device on the IP address page, then add the device, and then successfully add all the devices in the United States. (Contains beauty, Hua Ling, Little Swan)
    Friends who appear this problem can use Discover Automatically, and then try to manually enter the IP at the IP address interface to see if you can successfully add the device.

The logs

  1. Debug log must be opened first (refer to the Readme description of the homepage)
  2. Execute the wrong operation (be sure to explain in detail in the problem)
  3. Upload the complete debug log file with attachments.
  4. Do not paste part of the content in LOG directly! Upload with attachments.
  5. Do not paste part of the content in LOG directly! Upload with attachments.
  6. Do not paste part of the content in LOG directly! Upload it with attachments.
    Elastic

@wuwentao
Copy link
Owner

wuwentao commented Feb 5, 2025

基本不大现实,这是服务器端api调整,和你本地ip没有太大关系。
而你看到的ip地址都一样,应该不是同一局域网导致的,或者docker环境或者虚拟机环境的ip地址不一致,才需要手工输入指定ip地址。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Basically not great reality. This is the server -side API adjustment, which has nothing to do with your local IP.
And the IP address you see is the same, it should not be caused by the same local area network, or the IP address of the Docker environment or the virtual machine environment is inconsistent, so you need to manually enter the specified IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants