Withings
Traducción Beta No Oficial
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
Qué hace
El ecosistema de salud Withings de dispositivos y aplicaciones conectados está diseñado para mejorar el bienestar diario y la salud a largo plazo.
Acceso a tus datos de Withings
Para permitir que Oh My Posh acceda a tus datos de Withings, debes conceder acceso para leer tus actividades públicas. Esto te proporcionará un token de acceso y un token de actualización. Pega los tokens en la configuración del segmento de Withings.
Haz clic en el siguiente enlace para conectarte con Withings:
Configuración de ejemplo
- 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
Opciones
| 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? |
Plantilla (info)
plantilla predeterminada
{{ if gt .Weight 0.0 }} {{ round .Weight 2 }}kg {{ end }}
Propiedades
| Name | Type | Description |
|---|---|---|
.Weight | float | your last measured weight |
.SleepHours | string | your last measured sleep SleepHours |
.Steps | int | your last measured steps |
¡Ahora, sal y mantente activo!