Skip to content

Instantly share code, notes, and snippets.

@diogopms
Created October 20, 2019 20:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save diogopms/20a0e5a2a73c273487f3eca3389550cd to your computer and use it in GitHub Desktop.
Save diogopms/20a0e5a2a73c273487f3eca3389550cd to your computer and use it in GitHub Desktop.
Get temperature sensors from withings scale and CO2
curl --cookie-jar cookies.txt 'https://account.withings.com/connectionwou/account_login' --data 'email=<USERNAME>&password=<PASSWORD>' --compressed

curl  -b cookies.txt  'https://scalews.withings.com/cgi-bin/v2/measure' --data-binary 'action=getmeashf&meastype=35%2C12&deviceid=<DEVICE_ID>' --compressed
@Itzamna44
Copy link

Hello.
Please help.
I get error - {"status":503,"error":"Invalid Params"}
What format of Device_ID?

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