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

Authorization error #21

Open
3 tasks done
mistorincognito opened this issue Jan 11, 2025 · 3 comments
Open
3 tasks done

Authorization error #21

mistorincognito opened this issue Jan 11, 2025 · 3 comments
Assignees
Labels
Bug Something isn't working

Comments

@mistorincognito
Copy link

System Health details

System Information

version core-2025.1.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.66-haos
arch x86_64
timezone Europe/Moscow
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4983
Installed Version 2.0.2
Stage running
Available Repositories 1503
Downloaded Repositories 25
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 12.9 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Matter Server (7.0.0), Terminal & SSH (9.16.0), Mosquitto broker (6.4.1), Zigbee2MQTT (2.0.0-2), File editor (5.8.0), go2rtc (1.9.8), FTP (5.1.1), Samba share (12.3.2)
Dashboards
dashboards 4
resources 10
views 8
mode storage
Recorder
oldest_recorder_run 30 декабря 2024 г. в 20:30
current_recorder_run 11 января 2025 г. в 10:43
estimated_db_size 375.32 MiB
database_engine sqlite
database_version 3.47.1
Xiaomi Miot Auto
component_version 1.0.8
can_reach_server ok
can_reach_spec ok
logged_accounts 1
total_devices 2

Integration version ?

1.4.3

In which region is your Petkit application registered?

Russia

Device type

No response

Checklist

  • I have enabled debug logging for my installation.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

I cannot add the integration due to an authorization error, but everything works fine with the integration from RobertD502.

Reproduction steps

  1. Try to login
  2. Get error
  3. Try to choose country from the list manualy
  4. Get error
    ...

Debug logs

2025-01-11 10:46:10.755 ERROR (MainThread) [custom_components.petkit] Region you provided: 'russia' was not found in the Petkit's server list. Are you sure you provided the correct region ?

Diagnostics dump

No response

@mistorincognito mistorincognito added the Bug Something isn't working label Jan 11, 2025
@Jezza34000
Copy link
Owner

Hello, indeed there is a differentiation in the exact naming, I will correct that in the next version, in the meantime to use the integration in the region field put any country in Europe (Petkit Russia users are attached to Petkit servers located in Europe)

@mistorincognito
Copy link
Author

Hi, it help me, Thank you!

@Jezza34000
Copy link
Owner

Good news, I leave it open I have to fix it 😉

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

2 participants