Skip to content

Support for China region accounts (phone number + SMS login) #11

Description

@BlueFang

Description

Hi, thank you for this amazing project! I'm a Leapmotor owner from China and would love to use LeapConnect to integrate with Home Assistant.

Problem

The Chinese version of the Leapmotor app (零跑) uses a completely different authentication flow compared to the international version:

  • Login method: Phone number + SMS verification code only — no email/password option is available
  • API server: Likely a different base URL (not leapmotor-international.de)
  • App: The Chinese app is called 零跑 (Líng Pǎo) and is separate from the international Leapmotor app

When attempting to authenticate with a Chinese account, the current leapmotor-api client fails because it only supports email/password login against the international API endpoint.

Questions

  1. Is there any known way to use LeapConnect with a China-region account?
  2. Are you aware of any differences in the API endpoints or authentication flow between the China and international versions?
  3. Would it be feasible to add China region support (phone number + SMS verification code authentication)?

Additional Context

  • App name in China: 零跑
  • Login method: Phone number + SMS code (no email option)
  • Region: cn

I'm happy to help with testing or provide any information needed — for example, I can capture API traffic from the Chinese app using mitmproxy and share the results.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions