zepp

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 9 Imported by: 0

README

Data

Mi Body Composition Scale 2 (XMTZC05HM)

{
    "bmi": 21.8,
    "bodyScore": 89,
    "bodyStyle": 5,
    "bodyWaterRate": 56.92887,
    "boneMass": 2.7305484,
    "deviceType": 1,
    "encryptImpedance": "451",
    "fatRate": 17.01331,
    "height": 172.0,
    "impedance": 451,
    "metabolism": 1358.0,
    "muscleAge": 25,
    "muscleRate": 50.961838,
    "proteinRatio": 21.837502,
    "source": 1,
    "standBodyWeight": 64.4,
    "visceralFat": 9.0,
    "weight": 64.7
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) GetAllWeights

func (c *Client) GetAllWeights() ([]*core.Weight, error)

func (*Client) GetFamilyID

func (c *Client) GetFamilyID(name string) (int64, error)

func (*Client) GetFamilyMembers

func (c *Client) GetFamilyMembers() error

func (*Client) GetFilterWeights added in v0.2.0

func (c *Client) GetFilterWeights(name string) ([]*core.Weight, error)

func (*Client) Login

func (c *Client) Login(username, password string) error

func (*Client) LoginWithToken

func (c *Client) LoginWithToken(token string) error

func (*Client) Token

func (c *Client) Token() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL