This page does NOT support Internet Explorer. Please use a modern browser like e.g. Google Chrome, Mozilla Firefox or Microsoft Edge.
Home Connect offers a RESTful API to control and monitor enabled home appliances. The following chapters provide details about the usage of this API. If it's your first time working with the Home Connect API, please see our Quickstart guide.
simulator.home-connect.com
api.home-connect.com or
api.home-connect.cn - This domain has to be used if you want to create an application for China. In this case please enable Sync to China in the account settings to copy all clients to China.
The Home Connect API is based on HTTPS carrier with JSON data encoding.
All JSON transfer units are encoded with the following structure:
{ // API Response Object
"data": { ... }, // JSON Object containing the content of a successful request. Absent in case of error.
"error": { ... } // API Error Object containing details / reasons for the error. Absent in case of success.
}
Some values reported by a home appliance change continuously while a program runs, for example the remaining program time or the program progress in percent. If you only rely on NOTIFY events, your application's display can lag behind by several seconds, since appliances don't send an update on every single tick of the clock.
Auto-Counting solves this: alongside such a value, the appliance also reports how fast it currently changes. Your application can use that rate to keep counting the value up or down locally, between events, without ever polling the API.
Auto-Counting is an addition to the normal event flow, not a replacement for it. Keep your event subscription open as usual - the appliance still notifies you whenever a value changes for a reason other than the simple passage of time, for example because a program moves to its next phase or the user pauses the appliance.
Any numeric option or status with a changing value - such as a duration in seconds, a percentage, or a temperature - can come with a companion key that reports its current rate of change:
<FeatureKey>.AutoCountingDeltaPerSecond(for example BSH.Common.Option.RemainingProgramTime.AutoCountingDeltaPerSecond)
This companion key:
<FeatureKey> (so a value in seconds gets a delta in seconds per second, a value in % gets a delta in % per second, and so on)<FeatureKey> itself is available<FeatureKey> is readableIts value tells you what to do:
<FeatureKey> as-is and don't change it until the next update.Whenever this delta changes - including when counting starts, stops, or switches direction - the appliance sends the current value of <FeatureKey> in the same update. That means you never need to remember where the countdown "should" be; every change of pace comes with a fresh, authoritative value to restart counting from.
If <FeatureKey> has a defined minimum or maximum, the appliance is expected to stop counting once that boundary is reached (setting the delta back to 0) and to report the boundary value, rather than letting your locally-computed value run past it. Since that update reaches your application with a short delay, clamp your locally-computed value to the minimum and maximum yourself as well - for example, never count a remaining time below 0.
Here's a snapshot of an active Dishcare.Dishwasher.Program.Eco50 program, read via GET /api/homeappliances/{haId}/programs/active:
{
"data": {
"key": "Dishcare.Dishwasher.Program.Eco50",
"options": [
{ "key": "BSH.Common.Option.RemainingProgramTime", "value": 8800, "unit": "seconds" },
{ "key": "BSH.Common.Option.RemainingProgramTime.AutoCountingDeltaPerSecond", "value": -1, "unit": "seconds" },
{ "key": "BSH.Common.Option.ProgramProgress", "value": 12, "unit": "%" },
{ "key": "BSH.Common.Option.ProgramProgress.AutoCountingDeltaPerSecond", "value": 0.01, "unit": "%" }
]
}
}
With a delta of -1, your application can count RemainingProgramTime down by one second on every tick of its own clock - 8800, 8799, 8798, and so on - and it will match what the appliance would report if you asked again. ProgramProgress behaves the same way, just climbing by 0.01 % per second instead. Note that this makes the locally-computed progress a fractional number, while ProgramProgress itself is documented as an integer - round it before displaying it. Neither value needs a new API request until the appliance sends the next NOTIFY, for example when the program reaches its next phase and both the value and the delta are corrected.
BSH.Common.Option.ElapsedProgramTime.AutoCountingDeltaPerSecond == 1 - elapsed time counts up by 1 second every second.BSH.Common.Option.RemainingProgramTime.AutoCountingDeltaPerSecond == 0 - counting is paused, for instance because the program itself is paused.BSH.Common.Option.ProgramProgress.AutoCountingDeltaPerSecond == 0.016667 - a program of about 100 minutes, where progress advances roughly 1 % per minute.0 at first, with the plain value staying put.A couple of appliances still use mechanisms that predate .AutoCountingDeltaPerSecond (for example BSH.Common.Option.RemainingProgramTime.AutoCountingDeltaPerSecond). Don't build new integrations around them - they're listed here only so you recognize them if you come across them.
.AutoCountingUp / .AutoCountingDown (for example BSH.Common.Option.ElapsedProgramTime.AutoCountingUp / BSH.Common.Option.RemainingProgramTime.AutoCountingDown) - used only for time values in seconds. Instead of a single delta, the appliance exposes two boolean keys, one per direction:
<TimeSpanBasedFeatureKey>.AutoCountingUp == true counts the value up by 1 second per second; false pauses it.<TimeSpanBasedFeatureKey>.AutoCountingDown == true counts the value down by 1 second per second; false pauses it.As with the generic mechanism, every time one of these flips, the appliance also sends the current value so your application can resynchronize. For example, BSH.Common.Option.RemainingProgramTime.AutoCountingDown == true counts down, false means paused - and if the remaining time changes on its own (a sensor-based program, say), the appliance notifies the new value and your application picks up counting down from there.
.AutoCounting (for example BSH.Common.Option.RemainingProgramTime.AutoCounting) - an older form still, and the one to avoid the most: a single boolean with no indication of which direction it counts in. Using it means hard-coding the direction into your application based on what that particular Feature Key is known to do, which breaks the moment behavior changes. It has no place in new integrations.
You can try out Auto-Counting without a physical appliance. Start a program on one of the simulated appliances (currently available for dishwashers only - select the Dishwasher in the simulator) and watch the .AutoCountingDeltaPerSecond keys (for example BSH.Common.Option.RemainingProgramTime.AutoCountingDeltaPerSecond) arrive alongside the program options, both in the active program and in the event stream.
See Simulator vs. Home Connect API for how to get started with the simulator.
To get the full state of all paired home appliances of a user and keep your application updated with the latest state changes, you have to:
Thus, in total you need 54 requests to get the full state of all 6 supported home appliances and be informed of each change.
In order to start a program, several pre-conditions have to be fulfilled:
If you have sent the activation command, check BSH.Common.Status.OperationState again to validate if the home appliance switched to BSH.Common.EnumType.OperationState.Run. It might happen that some problem, e.g. the water tank is empty, happened during the activation.
If you want to pre-heat an oven, use the program Cooking.Oven.Program.HeatingMode.PreHeating with a duration longer than the oven requires to reach the target temperature. We recommend to use a minimum of 10 minutes. The oven will start a hot air program with the selected options.
Connect to the monitoring channel for this oven and wait for the Cooking.Oven.Event.PreheatFinished event. When you receive the event, notify the user that the oven is ready.
We recommend not to use the event Cooking.Oven.Status.CurrentCavityTemperature because the temperature might not provide the necessary accuracy.
If you started a program on a home appliance, the home appliance will provide status updates on its event channel. Useful events are:
If a value you are displaying, such as BSH.Common.Option.RemainingProgramTime or BSH.Common.Option.ProgramProgress, comes with an Auto-Counting companion key, use it. It lets your application keep counting that value up or down locally between events, so your UI stays smooth without repeatedly polling the API. This does not replace your event subscription — keep it open as usual, since the appliance still notifies you whenever a value changes for a reason other than the simple passage of time.
The Home Connect API supports many languages in addition to English. When making a GET request, you have the ability to add the Accept-Language header in order to get all feature keys and enumeration values in the requested language.
Please note that API errors are not translated, e.g. if remote start disabled error is returned during program start.
Language tag follows the HTTP/
Used Accept-Language header: fr-FR
{
"data": {
"key": "ConsumerProducts.CoffeeMaker.Program.Beverage.CaffeLatte",
"options": [
{
"key": "ConsumerProducts.CoffeeMaker.Option.BeanAmount",
"value": "ConsumerProducts.CoffeeMaker.EnumType.BeanAmount.Mild",
"name": "Puissance",
"displayvalue": "Léger"
},
{
"key": "ConsumerProducts.CoffeeMaker.Option.FillQuantity",
"value": 120,
"unit": "ml",
"name": "Quantité"
}
],
"name": "Café au lait"
}
}
The Home Connect API uses the following rate limits. Please make sure not to reach the limits regularly, otherwise your client application may be blocked. At the moment two different rate limit types are supported.
Generally if too many requests are sent, further requests are rejected with the HTTP status code 429.
The following limits are currently configured:
No Retry-After header is set.
{
"error": {
"key": "429",
"description": "Too many parallel monitoring connections. Maximum is 10."
}
}
Rate limits are enforced per client_id and per Home Connect user account. Counters are maintained for each unique (client_id, user) pair.
What counts toward your daily limit:
Server-Sent Events (SSE):
Exceeding limits: if a Retry-After header is present, wait at least that long before retrying.
Generally if too many requests are sent, further requests are rejected with the HTTP status code 429. In this case, please check the Retry-After header. This states the number of seconds that you need to wait, before you try your request again.
The following limits are currently configured:
Retry-After header is set to 52.
{
"error": {
"key": "429",
"description": "The rate limit \"5 start program calls in 1 minute\" was reached. Requests are blocked during the remaining period of 52 seconds."
}
}
The Home Connect API returns appropriate HTTP status codes for every request.
Errors may have a JSON payload with the following structure:
{ // API Response Object
"error": { // API Error Object
"key": "...", // A system wide per error unique key
"description": "..." // A human readable, English description about the reasons of the error
}
}