bis zu 180 kg fehlen mir noch 115 kg...ich bemühe mich.
bring du mal bier und chips vorbei, dann gehts sicher schneller.

matthias hast du das mit den 180 kg beim feucht abwischen auch?


**duck und wech**
wichtig ist, dass man beim batteriewechsel lange genug wartet, sonst wird die batteriemeldung nicht zurückgesetzt.
.#!/usr/bin/perl
use JSON;
use LWP::Simple;
# Visit your dashboard under http://my.withings.com/
# Under Share (upper screen) you can enable web sharing.
# In this link you find userid and publickkey
# both keys mentioned here are fake keys, pls replace with your own keys
my $publickey = "cd45c78e636f28d3";
my $userid = 123456;
my $response = get("http://wbsapi.withings.net/measure?action=getmeas&userid=$userid&publickey=$publickey") or die 'Unable to get page';
$ps = JSON::decode_json $response;
# Everything went fine?
if ($$ps{status} == 0) {
# Here comes the fun stuff
# updatetime is the EPOCH timestamp when you downloaded this information
$updatetime = $$ps{body}{updatetime};
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($updatetime);
printf("Last update: %02i:%02i %02i.%02i.%04i\n", $hour, $min, $mday, 1+$mon, 1900+$year);
# Now we extract the measurements
foreach $mgrp (@{$$ps{body}{measuregrps}}) {
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($$mgrp{date});
printf("%02i:%02i %02i.%02i.%04i\n", $hour, $min, $mday, 1+$mon, 1900+$year);
foreach $m (@{$$mgrp{measures}}) {
my $type = "";
if ($$m{type} == 1) { $type = "kg (weight)";
} elsif ($$m{type} == 4) { $type = "m (size)";
} elsif ($$m{type} == 5) { $type = "kg (fat free mass)";
} elsif ($$m{type} == 6) { $type = "% (fat ratio)";
} elsif ($$m{type} == 8) { $type = "kg (fat mass weight)";
}
my $value = $$m{value} * 10 ** ($$m{unit});
printf(" %.1f%s\n", $value, $type);
}
}
} else {
printf("#### download failed!\n");
}








Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.


Einen Kommentar schreiben: