Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerState not updated #103

Open
dwyschka opened this issue Oct 25, 2024 · 6 comments
Open

PowerState not updated #103

dwyschka opened this issue Oct 25, 2024 · 6 comments

Comments

@dwyschka
Copy link

I try to use this integration with my coffeemaker.
On thing i recognized, the PowerState never changes.

If i turn off my coffeemaker, the state in Homeassistant is always "on".
If i turn it off, reload the add-on in homeassistant, the state changes to standby.

Is there any workaround or possible fix?

@Meatballs1
Copy link
Collaborator

It sounds almost as if it's a hard power off rather than a suspend/soft power off?

@dwyschka
Copy link
Author

It sounds almost as if it's a hard power off rather than a suspend/soft power off?

i send the command over mqtt.
the progress goes from 0 - 100%. and the state is still on "on".

The Homeconnect-app shows "Standby". So there is no hardpower off

@Meatballs1
Copy link
Collaborator

Have you got the devices.json output? There maybe another field other than powerstate that reflects the change?

The logs would also probably show what state gets updated when you send the power off command.

@dwyschka
Copy link
Author

dwyschka commented Oct 25, 2024

if i look in homeassistant, last 10 messages, it got the PowerState 'On', or PowerState: Standby.

Could there be an issue, that "StandBy" is not recognized?

Last Received MQTT State:

{"deviceID": "SIEMENS-TI9558X1DE-68A40E4DAD90", "eNumber": "TI9558X1DE/20", "brand": "SIEMENS", "vib": "TI9558X1DE", "mac": "68-A4-0E-4D-AD-90", "haVersion": "92.0", "swVersion": "1.9.3", "hwVersion": "5560056177", "deviceType": "CoffeeMaker", "deviceInfo": "CoffeeMaker", "customerIndex": "20", "serialNumber": "710090387945005811", "fdString": "0009", "error": 528, "resource": "/ro/values", "LastSelectedBeverage": 8214, "LocalControlActive": false, "PowerSupplyError": "Off", "DripTrayNotInserted": "Off", "DripTrayFull": "Off", "WaterFilterShouldBeChanged": "Present", "WaterTankEmpty": "Off", "WaterTankNearlyEmpty": "Off", "BrewingUnitIsMissing": "Off", "SelectedProgram": 0, "ProgramProgress": 0, "MacchiatoPause": "Min", "ActiveProgram": 0, "BeverageCountdownWaterfilter": 0, "BeverageCountdownCalcNClean": 186, "RemoteControlStartAllowed": true, "EmptyDripTray": "Off", "BeverageCountdownDescaling": 186, "EmptyDripTrayRemoveContainer": "Off", "BeverageCounterRistrettoEspresso": 20, "CupWarmer": false, "AllowBackendConnection": true, "BeverageCounterHotWater": 47555, "RemindForMilkAfter": "Off", "BeverageCounterFrothyMilk": 1, "BeverageCounterCoffeeAndMilk": 12923, "CustomerServiceRequest": "Off", "4645": 0, "CoffeeMilkOrder": "FirstMilk", "BackendConnected": true, "BeverageCounterCoffee": 112, "Enjoy": "Off", "UserMode": "Barista", "PlaceEmptyGlassUnderOutlet": "Off", "WaterTankNotInserted": "Off", "PlaylistRunning": false, "BeverageCounterPowderCoffee": 0, "DemoModeActive": false, "CleanBrewingUnit": "Off", "WaterHardness": "Hard", "CloseDoor": "Off", "EmptyMilkTank": "Off", "SpecialRinsing": "Off", "AllowConsumerInsights": false, "SwitchOffAfter": "01Hours30Minutes", "4681": 0, "LastSelectedCoffeeWorldBeverage": 20514, "BrightnessDisplay": 1, "CleanMilkTank": "Off", "NotEnoughWaterForThisKindOfBeverage": "Off", "ChildLock": false, "4666": 0, "Language": "De", "MilkContainerConnected": "Off", "SoftwareUpdateAvailable": "Off", "LeaveProfilesAutomatically": true, "RemoveWaterFilter": "Off", "OperationState": "Inactive", "BeverageCounterHotMilk": 9, "4362": 0, "MilkTubeRemoved": "Off", "DeviceIsToCold4C": "Off", "SystemHasRunDry": "Off", "DeviceShouldBeDescaled": "Off", "PowerState": "Standby", "DeviceShouldBeCleaned": "Off", "DeviceShouldBeCalcNCleaned": "Off", "BeanContainerEmpty": "Off", "MilkStillOK": "Off", "CoffeeOutletMissing": "Off", "MilkReminder": "Off", "RefillEmptyWaterTank": "Off", "RefillEmptyBeanContainer": "Off", "UnderOverVoltage": "Off", "NotEnoughPomaceCapacityForThisKindOfBeverage": "Off", "AdjustGrindSetting": "Off", "InsertWaterFilter": "Off", "FillDescaler": "Off", "CleanFillWaterTank": "Off", "PlaceContainerUnderOutlet": "Off", "SwitchOffPower30sekBackOn": "Off", "ThrowCleaningDiscInTheDrawer": "Off", "RemoveMilkContainer": "Off", "RemoveContainerUnderOutlet": "Off", "MilkContainerRemoved": "Off", "ServiceProgramFinished": "Off", "DeviceDescalingOverdue": "Off", "DeviceDescalingBlockage": "Off", "CustomerServiceConnectionAllowed": false, "BeverageCountdownCleaning": 90, "ProcessPhase": "None", "CoffeeTemperature": 90, "BeanAmount": 70, "FillQuantity": 260, "FlowRate": 1, "CoffeeMilkRatio": 30, "MultipleBeverages": false}

@Meatballs1
Copy link
Collaborator

It looks like its defined as a binary, so probably can't handle Standby at the moment!

@Meatballs1
Copy link
Collaborator

Meatballs1 commented Oct 25, 2024

https://api-docs.home-connect.com/settings/#power-state

image

Probably a breaking change to update, as I suspect a lot of automations look at PowerState

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants