thoukydides / homebridge-homeconnect

Home Connect home appliances plugin for Homebridge
https://www.thouky.co.uk
ISC License
141 stars 15 forks source link

Pause/Resume support #8

Closed thoukydides closed 3 years ago

thoukydides commented 4 years ago

The Home Connect documentation describes commands to:

It looks like the API provides methods to:

Unfortunately, neither of these are currently supported by the simulators. The both return the error:

The requested resource could not be found. [404]

I cannot try them with my Oven and Hob physical appliances due to the lack of the necessary -Control scope authorization:

Insufficient scope for this resource [insufficient_scope]

That leaves my Dishwasher (which the documentation suggests should support Resume but not Pause). The GET returns:

{ commands: [] }

and the PUT returns:

command: BSH.Common.Command.PauseProgram not supported  [SDK.Error.UnsupportedCommand]
command: BSH.Common.Command.ResumeProgram not supported  [SDK.Error.UnsupportedCommand]
thoukydides commented 4 years ago

Experimental pause/resume support has now been added. This is controlled via the Active characteristic. (Apple's Home app does not show this characteristic, so use one of the recommended third-party HomeKit apps instead.)

As noted above, I am unable to test this. Hence, when Homebridge starts this plugin it issues GET /homeappliances/{haid}/commands and logs the result prefixed by:

Please copy the following to https://github.com/thoukydides/homebridge-homeconnect/issues/8

I should be able to improve the implementation once I have that feedback...

PrzemyslawKlys commented 4 years ago

Not sure if it will help as I don't have any mention of the issue in logs but I do have an oven with microwave, coffee machine, and dishwasher.

Apr 18 06:49:01 evoservices homebridge[1112]: [4/18/2020, 6:49:01 AM] [HomeConnect] [Ekspres do kawy] On
Apr 18 06:49:01 evoservices homebridge[1112]: [4/18/2020, 6:49:01 AM] [HomeConnect] [Ekspres do kawy] Active (Run)
Apr 18 06:49:01 evoservices homebridge[1112]: [4/18/2020, 6:49:01 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:49:04 evoservices homebridge[1112]: [4/18/2020, 6:49:04 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:49:05 evoservices homebridge[1112]: [4/18/2020, 6:49:05 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:49:09 evoservices homebridge[1112]: [4/18/2020, 6:49:09 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:49:46 evoservices homebridge[1112]: [4/18/2020, 6:49:46 AM] [HomeConnect] [Ekspres do kawy] Inactive (Ready)
Apr 18 06:49:47 evoservices homebridge[1112]: [4/18/2020, 6:49:47 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.Beverage.HotWater is not supported by the Home Connect API
Apr 18 06:50:24 evoservices homebridge[1112]: [4/18/2020, 6:50:24 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:50:29 evoservices homebridge[1112]: [4/18/2020, 6:50:29 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:50:32 evoservices homebridge[1112]: [4/18/2020, 6:50:32 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:50:38 evoservices homebridge[1112]: [4/18/2020, 6:50:38 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:50:40 evoservices homebridge[1112]: [4/18/2020, 6:50:40 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:50:41 evoservices homebridge[1112]: [4/18/2020, 6:50:41 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee8 is not supported by the Home Connect API
Apr 18 06:50:42 evoservices homebridge[1112]: [4/18/2020, 6:50:42 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee1 is not supported by the Home Connect API
Apr 18 06:50:43 evoservices homebridge[1112]: [4/18/2020, 6:50:43 AM] [HomeConnect] [Ekspres do kawy] Inactive, attention required (ActionRequired)
Apr 18 06:50:44 evoservices homebridge[1112]: [4/18/2020, 6:50:44 AM] [HomeConnect] [Ekspres do kawy] Active (Run)
Apr 18 06:50:44 evoservices homebridge[1112]: [4/18/2020, 6:50:44 AM] [HomeConnect] [Ekspres do kawy] Selected program null is not supported by the Home Connect API
Apr 18 06:50:48 evoservices homebridge[1112]: [4/18/2020, 6:50:48 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:53:14 evoservices homebridge[1112]: [4/18/2020, 6:53:14 AM] [HomeConnect] [Ekspres do kawy] Inactive (Finished)
Apr 18 06:53:14 evoservices homebridge[1112]: [4/18/2020, 6:53:14 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee1 is not supported by the Home Connect API
Apr 18 06:53:14 evoservices homebridge[1112]: [4/18/2020, 6:53:14 AM] [HomeConnect] [Ekspres do kawy] Inactive (Ready)
Apr 18 06:53:15 evoservices homebridge[1112]: [4/18/2020, 6:53:15 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.Beverage.HotWater is not supported by the Home Connect API
Apr 18 06:55:47 evoservices homebridge[1112]: [4/18/2020, 6:55:47 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 06:55:48 evoservices homebridge[1112]: [4/18/2020, 6:55:48 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee1 is not supported by the Home Connect API
Apr 18 06:55:49 evoservices homebridge[1112]: [4/18/2020, 6:55:49 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee8 is not supported by the Home Connect API
Apr 18 06:55:49 evoservices homebridge[1112]: [4/18/2020, 6:55:49 AM] [HomeConnect] [Ekspres do kawy] Inactive, attention required (ActionRequired)
Apr 18 06:55:50 evoservices homebridge[1112]: [4/18/2020, 6:55:50 AM] [HomeConnect] [Ekspres do kawy] Active (Run)
Apr 18 06:55:50 evoservices homebridge[1112]: [4/18/2020, 6:55:50 AM] [HomeConnect] [Ekspres do kawy] Selected program null is not supported by the Home Connect API
Apr 18 06:55:53 evoservices homebridge[1112]: [4/18/2020, 6:55:53 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 06:57:32 evoservices homebridge[1112]: [4/18/2020, 6:57:32 AM] [HomeConnect] [Ekspres do kawy] Inactive (Finished)
Apr 18 06:57:32 evoservices homebridge[1112]: [4/18/2020, 6:57:32 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee8 is not supported by the Home Connect API
Apr 18 06:57:32 evoservices homebridge[1112]: [4/18/2020, 6:57:32 AM] [HomeConnect] [Ekspres do kawy] Inactive (Ready)
Apr 18 06:57:34 evoservices homebridge[1112]: [4/18/2020, 6:57:34 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.Beverage.HotWater is not supported by the Home Connect API
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] Loaded plugin: homebridge-homeconnect
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] Registering platform 'homebridge-homeconnect.HomeConnect'
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] Initializing HomeConnect platform...
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] new HomeConnectPlatform
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] Restored 3 cached accessories
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] Starting events stream for all appliances
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] [Zmywarka do naczyń] Siemens Dishwasher (E-Nr: SN678X36TE/33)
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] [Ekspres do kawy] Siemens CoffeeMaker (E-Nr: CT636LES6/04)
Apr 18 07:07:36 evoservices homebridge[2403]: [4/18/2020, 7:07:36 AM] [HomeConnect] [Piekarnik] Siemens Oven (E-Nr: HN678G4S6/35)
Apr 18 07:07:37 evoservices homebridge[2403]: [4/18/2020, 7:07:37 AM] [HomeConnect] [Ekspres do kawy] Door closed
Apr 18 07:07:37 evoservices homebridge[2403]: [4/18/2020, 7:07:37 AM] [HomeConnect] [Ekspres do kawy] Inactive (Ready)
Apr 18 07:07:37 evoservices homebridge[2403]: [4/18/2020, 7:07:37 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 07:07:37 evoservices homebridge[2403]: [4/18/2020, 7:07:37 AM] [HomeConnect] [Ekspres do kawy] On
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] Connected
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] On
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] Can be placed in standby
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] Finished reading available program options
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] Adding services for 26 programs
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Ristretto' (ConsumerProducts.CoffeeMaker.Program.Beverage.Ristretto)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Espresso' (ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Espresso Macchiato' (ConsumerProducts.CoffeeMaker.Program.Beverage.EspressoMacchiato)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Coffee' (ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Cappuccino' (ConsumerProducts.CoffeeMaker.Program.Beverage.Cappuccino)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Latte Macchiato' (ConsumerProducts.CoffeeMaker.Program.Beverage.LatteMacchiato)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Caffe Latte' (ConsumerProducts.CoffeeMaker.Program.Beverage.CaffeLatte)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Milk froth' (ConsumerProducts.CoffeeMaker.Program.Beverage.MilkFroth)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Warm milk' (ConsumerProducts.CoffeeMaker.Program.Beverage.WarmMilk)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Kleiner Brauner' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.KleinerBrauner)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Großer Brauner' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.GrosserBrauner)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Verlängerter' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Verlaengerter)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Verlängerter braun' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.VerlaengerterBraun)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Wiener Melange' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.WienerMelange)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Flat White' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.FlatWhite)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Cortado' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Cortado)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Café cortado' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeCortado)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Café con leche' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeConLeche)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Café au lait' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeAuLait)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Doppio' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Doppio)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Kaapi' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Kaapi)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Koffie verkeerd' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.KoffieVerkeerd)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Galão' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Galao)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Garoto' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Garoto)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Americano' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Americano)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy]     'Red Eye' (ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.RedEye)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Ekspres do kawy] Removing services for 26 programs
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Zmywarka do naczyń] Door open
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Zmywarka do naczyń] Inactive (Inactive)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Zmywarka do naczyń] Remote operation NOT enabled (remote control activated, remote start disallowed)
Apr 18 07:07:38 evoservices homebridge[2403]: [4/18/2020, 7:07:38 AM] [HomeConnect] [Zmywarka do naczyń] Off
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Connected
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Off
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Can be switched off
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Finished reading available program options
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Adding services for 8 programs
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Intensive 70C' (Dishcare.Dishwasher.Program.Intensiv70)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Auto 45-65C' (Dishcare.Dishwasher.Program.Auto2)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Eco 50C' (Dishcare.Dishwasher.Program.Eco50)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Silence' (Dishcare.Dishwasher.Program.NightWash)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Short 60C' (Dishcare.Dishwasher.Program.Kurz60)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Glass 40C' (Dishcare.Dishwasher.Program.Glas40)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Quick wash 45C' (Dishcare.Dishwasher.Program.Quick45)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń]     'Machine Care' (Dishcare.Dishwasher.Program.MachineCare)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Zmywarka do naczyń] Removing services for 8 programs
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Piekarnik] Door closed
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Piekarnik] Inactive (Inactive)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Piekarnik] Remote operation NOT enabled (remote control activated, remote start disallowed)
Apr 18 07:07:39 evoservices homebridge[2403]: [4/18/2020, 7:07:39 AM] [HomeConnect] [Piekarnik] Off
Apr 18 07:07:40 evoservices homebridge[2403]: [4/18/2020, 7:07:40 AM] [HomeConnect] [Piekarnik] Connected
Apr 18 07:07:40 evoservices homebridge[2403]: [4/18/2020, 7:07:40 AM] [HomeConnect] [Piekarnik] Off
Apr 18 07:07:40 evoservices homebridge[2403]: [4/18/2020, 7:07:40 AM] [HomeConnect] [Piekarnik] Can be switched off
Apr 18 07:07:40 evoservices homebridge[2403]: [4/18/2020, 7:07:40 AM] [HomeConnect] [Piekarnik] Passively reading options for 12 programs
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik] Finished reading available program options
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik] Adding services for 13 programs
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Hot air eco' (Cooking.Oven.Program.HeatingMode.HotAirEco)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Top  bottom heating eco' (Cooking.Oven.Program.HeatingMode.TopBottomHeatingEco)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Pizza setting' (Cooking.Oven.Program.HeatingMode.PizzaSetting)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Intensive heat' (Cooking.Oven.Program.HeatingMode.IntensiveHeat)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Slow cook' (Cooking.Oven.Program.HeatingMode.SlowCook)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     '4D Hot air' (Cooking.Oven.Program.HeatingMode.HotAir)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Topbottom heating' (Cooking.Oven.Program.HeatingMode.TopBottomHeating)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Hot air grilling' (Cooking.Oven.Program.HeatingMode.HotAirGrilling)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Bottom heating' (Cooking.Oven.Program.HeatingMode.BottomHeating)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Dry food' (Cooking.Oven.Program.HeatingMode.Desiccation)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Preheat ovenware' (Cooking.Oven.Program.HeatingMode.PreheatOvenware)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'CoolStart function' (Cooking.Oven.Program.HeatingMode.FrozenHeatupSpecial)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik]     'Keep warm' (Cooking.Oven.Program.HeatingMode.KeepWarm)
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik] Removing services for 13 programs
Apr 18 07:07:42 evoservices homebridge[2403]: [4/18/2020, 7:07:42 AM] [HomeConnect] [Piekarnik] Programs cannot be controlled without Control scope
Apr 18 07:08:56 evoservices homebridge[2403]: [4/18/2020, 7:08:56 AM] [HomeConnect] [Zmywarka do naczyń] Inactive (Ready)
Apr 18 07:08:56 evoservices homebridge[2403]: [4/18/2020, 7:08:56 AM] [HomeConnect] [Zmywarka do naczyń] On
Apr 18 07:09:15 evoservices homebridge[2403]: [4/18/2020, 7:09:15 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 07:09:22 evoservices homebridge[2403]: [4/18/2020, 7:09:22 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 07:09:43 evoservices homebridge[2403]: [4/18/2020, 7:09:43 AM] [HomeConnect] [Zmywarka do naczyń] Door closed
Apr 18 07:09:43 evoservices homebridge[2403]: [4/18/2020, 7:09:43 AM] [HomeConnect] [Zmywarka do naczyń] Active (Run)
Apr 18 07:09:43 evoservices homebridge[2403]: [4/18/2020, 7:09:43 AM] [HomeConnect] [Zmywarka do naczyń] Program has 2 hours 30 minutes remaining
Apr 18 07:09:43 evoservices homebridge[2403]: [4/18/2020, 7:09:43 AM] [HomeConnect] [Zmywarka do naczyń] Program 'Auto 45-65C' (Dishcare.Dishwasher.Program.Auto2) active
Apr 18 07:09:51 evoservices homebridge[2403]: [4/18/2020, 7:09:51 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 07:09:58 evoservices homebridge[2403]: [4/18/2020, 7:09:58 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 07:09:58 evoservices homebridge[2403]: [4/18/2020, 7:09:58 AM] [HomeConnect] [Ekspres do kawy] Manual mode (remote start allowed, being operated locally)
Apr 18 07:09:59 evoservices homebridge[2403]: [4/18/2020, 7:09:59 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee8 is not supported by the Home Connect API
Apr 18 07:10:01 evoservices homebridge[2403]: [4/18/2020, 7:10:01 AM] [HomeConnect] [Ekspres do kawy] Selected program ConsumerProducts.CoffeeMaker.Program.MyCoffee.MyCoffee1 is not supported by the Home Connect API
Apr 18 07:10:01 evoservices homebridge[2403]: [4/18/2020, 7:10:01 AM] [HomeConnect] [Ekspres do kawy] Inactive, attention required (ActionRequired)
Apr 18 07:10:02 evoservices homebridge[2403]: [4/18/2020, 7:10:02 AM] [HomeConnect] [Ekspres do kawy] Active (Run)
Apr 18 07:10:02 evoservices homebridge[2403]: [4/18/2020, 7:10:02 AM] [HomeConnect] [Ekspres do kawy] Selected program null is not supported by the Home Connect API
Apr 18 07:10:06 evoservices homebridge[2403]: [4/18/2020, 7:10:06 AM] [HomeConnect] [Ekspres do kawy] Remote operation enabled (remote start allowed)
Apr 18 07:10:45 evoservices homebridge[2403]: [4/18/2020, 7:10:45 AM] [HomeConnect] [Zmywarka do naczyń] Program has 2 hours 29 minutes remaining
Apr 18 07:11:45 evoservices homebridge[2403]: [4/18/2020, 7:11:45 AM] [HomeConnect] [Zmywarka do naczyń] Program has 2 hours 28 minutes remaining
thoukydides commented 4 years ago

Thank you @PrzemyslawKlys for the log. As you have probably concluded, it doesn't look like any of your appliances (currently) support Pause/Resume via the public HomeConnect API.

I suspect that this capability has not been publicly released yet, which is why the documentation is incomplete...

darrenmcuk commented 3 years ago

Hi ya ...hope this help...

Siemens Washer (E-Nr: WM16XGH1GB/01) [ { "key": "BSH.Common.Command.PauseProgram", "name": "Stop the programme" } ]

thoukydides commented 3 years ago

Thank you @darrenmcuk. Yes, that's very helpful.

I had been expecting that any appliance supporting PauseProgram would also support ResumeProgram, in accordance with the current HomeConnect API documentation:

Appliance Pause Resume
CleaningRobot Yes Yes
Dishwasher - Yes
Dryer Yes Yes
Oven Yes Yes
Washer Yes Yes
WasherDryer Yes Yes

However, that's clearly not the case. So far the actual support seems to be:

Appliance Pause Resume
CleaningRobot - -
Dishwasher - -
Dryer - -
Oven - -
Washer Some -
WasherDryer - -

Some tweaks are required to the support that I had tentatively coded...

thoukydides commented 3 years ago

v0.19.0 should now implement Pause and Resume commands appropriately.

darrenmcuk commented 3 years ago

Thanks for the update...glad I could help

thoukydides commented 3 years ago

I am going to close this issue since the support in v0.19.0 is probably now correct. If anyone has problems with pause/resume then please raise a new issue.