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

Integration feedback #20

Open
suskozaver opened this issue Jan 3, 2025 · 1 comment
Open

Integration feedback #20

suskozaver opened this issue Jan 3, 2025 · 1 comment

Comments

@suskozaver
Copy link

I've been trying to get it working, also via the https://hass-renpho.vercel.app/docs and via the API endpoints everything works, just not the GET users end point.

An error is received:

{
  "status": "error",
  "message": "404: Users not found",
  "data": null
}

All other endpoints return data.

So I'm thinking... if this is the only issue at the moment, this could be fixed and the integration could work, because you receive the users (user id) in the GET info response?

@suskozaver
Copy link
Author

suskozaver commented Jan 3, 2025

I went a step further and created a postman collection to test directly with renpho endpoint URLs.

Called:
POST: https://renpho.qnclouds.com/api/v3/users/sign_in.json?app_id=Renpho&email={{email}}&password={{password}}
works ok

GET: https://renpho.qnclouds.com/api/v3/scale_users/list_scale_user?locale=en&terminal_user_session_key={{key}}
returns:

{
    "status_code": "20000",
    "status_message": "ok",
    "scale_users": []
}

GET: https://renpho.qnclouds.com/api/v2/measurements/list.json?terminal_user_session_key={{key}}
works ok, returns the measurements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant