Skip to content

Instantly share code, notes, and snippets.

@Itzamna44
Forked from diogopms/withings.md
Created February 13, 2022 06:47
Show Gist options
  • Save Itzamna44/8bfd96e19c92aa4c243f50e6f6ff8e5b to your computer and use it in GitHub Desktop.
Save Itzamna44/8bfd96e19c92aa4c243f50e6f6ff8e5b 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment