Withings
Onofficiรซle Beta-vertaling
Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden โ
Watโ
Het Withings-gezondheidsecosysteem van verbonden apparaten en apps is ontworpen om het dagelijkse welzijn en de gezondheid op lange termijn te verbeteren.
Toegang tot je Withings-gegevensโ
Om Oh My Posh toegang te geven tot je Withings-gegevens moet je toestemming verlenen om je openbare activiteiten te lezen. Dit geeft je een toegangstoken en een verversingstoken. Plak deze tokens in je Withings-segmentconfiguratie.
Klik op de volgende link om verbinding te maken met Withings:
Voorbeeldconfiguratieโ
- json
- yaml
- toml
{
"type": "withings",
"style": "powerline",
"powerline_symbol": "๎ฐ",
"foreground": "#ffffff",
"background": "#000000",
"template": "{{ if gt .Weight 0.0 }} {{ round .Weight 2 }}kg {{ end }}",
"options": {
"access_token": "11111111111111111",
"refresh_token": "1111111111111111",
"http_timeout": 1500
}
}
type: withings
style: powerline
powerline_symbol: ๎ฐ
foreground: "#ffffff"
background: "#000000"
template: "{{ if gt .Weight 0.0 }} {{ round .Weight 2 }}kg {{ end }}"
options:
access_token: "11111111111111111"
refresh_token: "1111111111111111"
http_timeout: 1500
type = "withings"
style = "powerline"
powerline_symbol = "๎ฐ"
foreground = "#ffffff"
background = "#000000"
template = "{{ if gt .Weight 0.0 }} {{ round .Weight 2 }}kg {{ end }}"
[options]
access_token = "11111111111111111"
refresh_token = "1111111111111111"
http_timeout = 1500
Optiesโ
| Name | Type | Default | Description |
|---|---|---|---|
access_token | template | token from Withings login, see login link in section above. | |
refresh_token | template | token from Withings login, see login link in section above. | |
expires_in | int | 0 | the default timeout of the token from the Withings login |
http_timeout | int | 20 | how long do you want to wait before you want to see your prompt more than your Withings data? |
Template (informatie)โ
standaard template
{{ if gt .Weight 0.0 }} {{ round .Weight 2 }}kg {{ end }}
Eigenschappenโ
| Name | Type | Description |
|---|---|---|
.Weight | float | your last measured weight |
.SleepHours | string | your last measured sleep SleepHours |
.Steps | int | your last measured steps |
Ga nu naar buiten en wees actief!