You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+102Lines changed: 102 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ This custom integration allows you to connect your Etekcity Bluetooth Low Energy
7
7
## Features
8
8
9
9
- Automatic discovery of Etekcity BLE fitness scales
10
+
- Intelligent multi-user support:
11
+
- Automatically detects which person is using the scale based on their weight history.
12
+
- Uses an adaptive tolerance system that adjusts to each user's weight fluctuations over time.
13
+
- Supports linking users to Home Assistant Person entities to exclude users who are `not_home`.
10
14
- Real-time weight and impedance measurements
11
15
- Optional body composition metrics calculation including:
12
16
- Body Mass Index (BMI)
@@ -47,6 +51,8 @@ This custom integration allows you to connect your Etekcity Bluetooth Low Energy
47
51
48
52
## Configuration
49
53
54
+
### Initial Setup
55
+
50
56
1. In Home Assistant, go to "Configuration" > "Integrations".
51
57
2. Click the "+" button to add a new integration.
52
58
3. Search for "Etekcity Fitness Scale BLE" and select it.
@@ -58,6 +64,102 @@ This custom integration allows you to connect your Etekcity Bluetooth Low Energy
58
64
- Enter your date of birth
59
65
- Enter your height
60
66
67
+
### User Profile Configuration Options
68
+
69
+
When adding or editing user profiles (**Settings > Devices & Services > Etekcity Fitness Scale BLE > Configure**), you can configure the following options:
70
+
71
+
-**User Name:** Display name for the user profile.
72
+
73
+
-**Person Entity (optional):** Link this user profile to a Home Assistant person entity. When linked, the integration uses the person's location state to improve automatic assignment:
74
+
- If the person is marked as `not_home`, they are excluded from automatic assignment for new measurements
75
+
- This helps avoid incorrectly assigning measurements when household members are away
76
+
77
+
-**Mobile Devices (optional):** Select one or more mobile devices (via Home Assistant companion app) to receive actionable notifications for ambiguous measurements:
78
+
- When enabled, you'll receive a mobile notification with tap-to-assign buttons directly on your phone
79
+
- Each candidate user gets a personalized notification with "This is me" and "Not me" buttons
80
+
81
+
-**Enable body composition metrics:** Calculate additional health metrics (BMI, body fat %, etc.) based on impedance measurements. Requires sex, date of birth, and height.
82
+
83
+
## Multi-User Support
84
+
85
+
This integration is designed for households with multiple users. You can create a unique profile for each person using the scale.
86
+
87
+
### Person Detection
88
+
89
+
When a new measurement is received, the integration attempts to automatically assign it to the correct person based on two factors:
90
+
91
+
1.**Weight History:** The measurement is compared against each user's weight history.
92
+
2.**Location:** If a user profile is linked to a Home Assistant `person` entity, the integration checks if that person is `home`. Users who are `not_home` are excluded from automatic assignment.
93
+
94
+
If a single user is a clear match, the measurement is assigned automatically.
95
+
96
+
### Ambiguous Measurements
97
+
98
+
If the measurement is ambiguous (e.g., two users have similar weights, or a new user has no history), the integration will notify you:
99
+
100
+
-**Mobile Notifications (if configured):** Each candidate user receives a personalized notification on their mobile device with actionable buttons:
101
+
- "This is me" - Assigns the measurement to you
102
+
- "Not me" - Dismisses your notification (measurement remains available for others)
103
+
104
+
-**Persistent Notifications:** A notification appears in the Home Assistant notifications panel with instructions to manually assign the measurement using the `assign_measurement` service.
105
+
106
+
### Managing Users
107
+
108
+
You can manage user profiles by navigating to your device in **Settings > Devices & Services > Etekcity Fitness Scale BLE**. Click **CONFIGURE** to:
109
+
-**Add a new user:** Create a new profile with optional person entity link and mobile notification settings.
110
+
-**Edit a user:** Update a user's name, linked person entity, mobile devices, or body metric settings.
111
+
-**Remove a user:** Delete a user's profile and all associated sensor entities.
112
+
113
+
## Legacy Default User (Old Version Migration)
114
+
115
+
If you used the original single-user version of the integration, migrating to this version keeps your existing sensors by creating a "Default User" whose `user_id` is an empty string (`""`):
116
+
- Sensors for the legacy user keep their original entity IDs (no name prefix) so dashboards and automations continue working.
117
+
- When calling services, set `user_id: ""` anytime you want to target the legacy profile.
118
+
119
+
## Services
120
+
121
+
The integration provides services to manage measurements, especially for handling ambiguous weigh-ins. You can use these in scripts or automations, or call them directly from **Developer Tools > Actions**.
0 commit comments