hcpy2-0 / hcpy

Python tool to talk to Home Connect appliances over the local network (no cloud required)
114 stars 19 forks source link

"LocalControlActive": true prevents remote commands #44

Open Meatballs1 opened 8 months ago

Meatballs1 commented 8 months ago

On my hood, if I manually turn it on, the app says Local operation is active and therefore the device cannot be controlled by the app. This appears to last for about 15s. We should receive a status update from the device such as:

app_1  | 2024-03-28 21:34:57.364309 hood {'LocalControlActive': True, 'ActiveProgram': 55307, 'VentingLevel': 0, 'IntensiveLevel': 0, 'ElapsedProgramTime': 18}

This prevents automation of other activities for that ~15s period - e.g. it will reject lights being turned on or off with a 403 error. This requires either manual delays in automation, of we need to queue delays when requesting changes in code.

noxhirsch commented 7 months ago

Just for the record: My two devices (dishwasher & cookprocessor from Bosch) don't have this.

Meatballs1 commented 7 months ago

My dishwasher doesn't either, i should probably just drop a note in the wiki as it took me a while to work out what was going on.