-
Notifications
You must be signed in to change notification settings - Fork 92
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
Multiple users #13
Comments
I guess we could fix the issue by adding a new parameter to withings-sync which filters the synced data to a single Withings User in the configured Withings Account. First we would need to figure out if the Withings API provides us the name of the user via their API. If the User name is provided, you could continue running two Docker containers both connected to the same Withings account. |
I quickly checked the available data provided by the WIthings API: There is no field in the response providing us which user the measurement is associated with.
Based on this description it looks to me that you will need to created a dedicated Withings Account for each User in your Withings scale and associate the different users to their respective accounts via the Withings App. @chaesinidau Can you check if this is possible? |
Thanks for checking the API. I managed to create a second account for the second user in withings. Until then, it seems that the Docker-Container always remains to take the data of one person. |
Now i finally could delete my API-application on withings. Any other approches/ideas, how i could solve it? |
@chaesinidau I modified the script accordingly and created multiple records in withings_user.json so each user has seperate entry. If you want i can share to you the changes i made. The script now works without any issues for 2 users)or more) The only issue i had was when i tried to run the the script(for different user) with crontab at the same time. |
Hi @skatsavos would you be able to share the code please under files changed / pull requests? I am in the same situation and would like to work out how to modify the code to allow for this! It doesn't have to be neat, just that I can go through th code and get it to work for my requirements (apart from at the same time as you mention in your post). |
I created a pull request: #84 |
I use the tool on a docker environement and it worked quiet perfectly.
Since a few days, it seems that there is a problem with having 2 users on the same withings-account.
Setting:
Withings
1 Account
1 App
2 Users/Names
Garmin
2 Accounts
Docker
2 Differents Containers for every user
Now i'am only able to get data for one user from withings. Wheter i start the first or second container, it always takes the data of the same withingsuser.
I unconnected the Withingsapp from the Synctool via dev.withings, but the problem stays the same.
Any help?
THX
The text was updated successfully, but these errors were encountered: