Withings WS-50 Scale Syncer - Temperature & CO2

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
User avatar
Derik
Posts: 1890
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Derik » Saturday 29 October 2016 10:35

kick....

dear all..
Does some have the weigt options implement in Domoticz...
The temp and co is nice, only the scale is what i mis..
There is a api..
http://oauth.withings.com/api/doc

Only i do not understand a &^%&^of all that data....

Looks that this nice hardware have more potention in domoticz..
My wife weight rising....
Eveyday a mail to ... you are to,,,,,
when she lost some weight, send a mail, good job love..

Some one?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

Nautilus
Posts: 681
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Finland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Nautilus » Thursday 09 February 2017 22:37

Any idea what changed in the api around 31.1.2017? Now getting just:

Code: Select all

Withings WS-50 Syncer Version 0.4.6

[-] Attaching database /home/pi/domoticz/domoticz.db [version 110]
[-] Authenticating at account.withings.com
HTTP ERROR 500
I'll try to check it but if someone knows already...:)

dynasticorpheus
Posts: 108
Joined: Monday 12 October 2015 15:26
Target OS: Linux
Domoticz version: 2.3295
Location: NL
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by dynasticorpheus » Friday 10 February 2017 0:44

Nautilus wrote:Any idea what changed in the api around 31.1.2017? Now getting just:

Code: Select all

Withings WS-50 Syncer Version 0.4.6

[-] Attaching database /home/pi/domoticz/domoticz.db [version 110]
[-] Authenticating at account.withings.com
HTTP ERROR 500
I'll try to check it but if someone knows already...:)

They implemented protection against cross-site request forgery (CSRF) hence a csrf_token needed to be added to the authentication request. Should be fixed through latest commit dd74fce. Please confirm this is also working on your end.

Nautilus
Posts: 681
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Finland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Nautilus » Friday 10 February 2017 1:49

Indeed it works, thanks a lot! :)

edit: for reference to others, I first ran:

Code: Select all

sudo apt-get install libxml2-dev libxslt-dev python-dev
sudo pip install lxml
Last edited by Nautilus on Friday 10 February 2017 13:31, edited 1 time in total.

dynasticorpheus
Posts: 108
Joined: Monday 12 October 2015 15:26
Target OS: Linux
Domoticz version: 2.3295
Location: NL
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by dynasticorpheus » Friday 10 February 2017 12:48

Nautilus wrote:Indeed it works, thanks a lot! :)

edit: for reference to others, I first run

Code: Select all

sudo apt-get install libxml2-dev libxslt-dev python-dev
sudo pip install lxml
I added a requirements.txt file to repository to clarify the required depandancies ;)

User avatar
Derik
Posts: 1890
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Derik » Saturday 11 February 2017 12:36

Dear all.

Is there somebody that have the weight working in Domoticz....
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

Nautilus
Posts: 681
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Finland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Nautilus » Saturday 11 February 2017 12:45

Derik wrote:Dear all.

Is there somebody that have the weight working in Domoticz....
I think there was someone here who had a working IFTTT example on how to update the weights. See viewtopic.php?f=38&t=9482&p=74115&hilit ... ttt#p66051

dynasticorpheus
Posts: 108
Joined: Monday 12 October 2015 15:26
Target OS: Linux
Domoticz version: 2.3295
Location: NL
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by dynasticorpheus » Monday 03 July 2017 15:50

Code has been updated and is now working again after Withings became part of the Nokia company.

User avatar
Derik
Posts: 1890
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Derik » Monday 03 July 2017 15:55

Thanks...

Only is there perhaps a option to read the weight of the scale??
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

Nautilus
Posts: 681
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Finland
Contact:

Re: Withings WS-50 Scale Syncer - Temperature & CO2

Post by Nautilus » Monday 03 July 2017 22:40

dynasticorpheus wrote:Code has been updated and is now working again after Withings became part of the Nokia company.
Works great, thanks! :D

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests