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

Electricity consumption wrong scaling #119

Open
Theo16 opened this issue Jan 26, 2024 · 15 comments
Open

Electricity consumption wrong scaling #119

Theo16 opened this issue Jan 26, 2024 · 15 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@Theo16
Copy link

Theo16 commented Jan 26, 2024

In the last release You dividee electricity consumption by 100. Now my washing machine shows 0,6463 instead of 64,63. Maybe adding scaling options to electricity and water consumption will give users a chance to set those sensors right.

@gvigroux
Copy link
Owner

Are you sure the consumption should be 64 ? I found this on internet : "On average, a washing machine can consume between 0.5 to 1.5 kilowatt hours (kWh) per hour of usage"

@Theo16
Copy link
Author

Theo16 commented Jan 27, 2024

Yes. I have 109 cycles 1.5 hours on average.

@gvigroux
Copy link
Owner

Can you please activate the debug logs and send me the first minute? I m sure there is a parameter to do it automatically

@Theo16
Copy link
Author

Theo16 commented Jan 27, 2024

2024-01-27 16:46:10.076 DEBUG (MainThread) [custom_components.hon.hon] Context for mac[54-43-b2-e9-3c-68] type [WM] {'payload': {'resultCode': '0', 'shadow': {'parameters': {'voiceStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'forceDelete': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'dryLevel': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'airWashTime': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'softWarn': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'loosenStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'temp40': {'parNewVal': '23', 'lastUpdate': '2024-01-19T09:20:08Z'}, 'strongStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'weight': {'parNewVal': '2', 'lastUpdate': '2024-01-27T15:42:58Z'}, 'intelligenceStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'purifiedWashStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'temp': {'parNewVal': '0', 'lastUpdate': '2024-01-27T15:42:58Z'}, 'voiceModuleVolume': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'washSpeed': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'machMode': {'parNewVal': '2', 'lastUpdate': '2024-01-27T15:43:44Z'}, 'buzzerDisabledCurrent': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'errors': {'parNewVal': '00', 'lastUpdate': '2023-03-03T12:26:58Z'}, 'remoteCtrValid': {'parNewVal': '0', 'lastUpdate': '2024-01-27T15:42:56Z'}, 'autoDetergentStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'soakWashStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'buzzerDisabled': {'parNewVal': '0', 'lastUpdate': '2023-02-21T19:05:11Z'}, 'haier_DetergentWeight': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'totalWaterUsed': {'parNewVal': '6370', 'lastUpdate': '2024-01-27T15:45:14Z'}, 'message': {'parNewVal': '17', 'lastUpdate': '2024-01-27T15:39:27Z'}, 'temp0to30': {'parNewVal': '27', 'lastUpdate': '2024-01-17T19:14:46Z'}, 'spinSpeed': {'parNewVal': '1000', 'lastUpdate': '2024-01-27T15:42:58Z'}, 'detergentPercent': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'highTransRate': {'parNewVal': '1', 'lastUpdate': '2023-02-21T10:44:44Z'}, 'currentWaterUsed': {'parNewVal': '10', 'lastUpdate': '2024-01-27T15:45:14Z'}, 'autoDisinfectantStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'cloudProgSrc': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:42:56Z'}, 'prCode': {'parNewVal': '72', 'lastUpdate': '2024-01-27T15:42:58Z'}, 'dryCleaningNeeded': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'dryProgFlag': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program19': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program18': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program17': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'programStats': {'parNewVal': '5c;7;;;;7;1;;;;;1;;;;;;;;;;2', 'lastUpdate': '2024-01-26T17:28:30Z'}, 'program16': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'autoSoftenerStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program11': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program10': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'totalWashCycle': {'parNewVal': '109', 'lastUpdate': '2024-01-26T17:28:30Z'}, 'program15': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'detergentBStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program14': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program13': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program12': {'parNewVal': '1', 'lastUpdate': '2023-06-03T09:43:56Z'}, 'statusSyncRate': {'parNewVal': '1440', 'lastUpdate': '2023-06-20T18:04:24Z'}, 'laundryCycleStatus': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:43:44Z'}, 'standbyTimeExtended': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:39:27Z'}, 'actualWeight': {'parNewVal': '0', 'lastUpdate': '2024-01-26T17:30:30Z'}, 'speedUpStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'operationName': {'parNewVal': '', 'lastUpdate': '2023-03-03T15:04:35Z'}, 'program22': {'parNewVal': '2', 'lastUpdate': '2023-08-13T13:21:21Z'}, 'program21': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program20': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'defSetAllowed': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program25': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program24': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program23': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'voiceModuleWakeStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'currentWashCycle': {'parNewVal': '109', 'lastUpdate': '2024-01-26T17:28:30Z'}, 'transMode': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:44:44Z'}, 'currentElectricityUsed': {'parNewVal': '0.00', 'lastUpdate': '2024-01-26T17:30:30Z'}, 'washerDryIntensity': {'parNewVal': '1', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'steamStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'delayStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-24T16:10:51Z'}, 'haier_SoftenerWeight': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'debugEnabled': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:44:44Z'}, 'dirtyLevel': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'remainingStandbyTime': {'parNewVal': '0', 'lastUpdate': '2024-01-27T15:45:08Z'}, 'stdTransRate': {'parNewVal': '1', 'lastUpdate': '2023-02-21T10:44:44Z'}, 'testCmdReceiveStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'clothesAnionStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'stainType': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'nightWashStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'energySavingStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'remainingRinseIterations': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:42:58Z'}, 'voiceModuleDataDef': {'parNewVal': '130', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'pause': {'parNewVal': '0', 'lastUpdate': '2024-01-27T15:43:44Z'}, 'doorStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'remainingTimeMM': {'parNewVal': '13', 'lastUpdate': '2024-01-27T15:45:44Z'}, 'texture': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:42:56Z'}, 'program4': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'cloudProgId': {'parNewVal': '0', 'lastUpdate': '2023-03-03T15:20:05Z'}, 'voiceModuleWakeUp': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program3': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program6': {'parNewVal': '7', 'lastUpdate': '2023-06-03T09:56:06Z'}, 'program5': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'doorLockStatus': {'parNewVal': '1', 'lastUpdate': '2024-01-27T15:43:44Z'}, 'program8': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'program7': {'parNewVal': '1', 'lastUpdate': '2024-01-19T18:54:08Z'}, 'detWarn': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'antiAllergyStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'creaseResistSoakStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'program9': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:31Z'}, 'lockStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'remainingMainWashTime': {'parNewVal': '3', 'lastUpdate': '2024-01-27T15:45:44Z'}, 'program2': {'parNewVal': '7', 'lastUpdate': '2023-10-14T09:26:59Z'}, 'program1': {'parNewVal': '92', 'lastUpdate': '2024-01-26T17:28:30Z'}, 'permanentPressStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'prPhase': {'parNewVal': '2', 'lastUpdate': '2024-01-27T15:45:14Z'}, 'highWaterLevelStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'dryStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'dryTime': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'airWashTempLevel': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'voiceModuleOnOffStatus': {'parNewVal': '1', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'temp60to90': {'parNewVal': '12', 'lastUpdate': '2024-01-26T17:28:30Z'}, 'uvSterilizationStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'shoesAnionStatus': {'parNewVal': '0', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'detergentType': {'parNewVal': '1', 'lastUpdate': '2023-02-21T10:45:33Z'}, 'totalElectricityUsed': {'parNewVal': '64.63', 'lastUpdate': '2024-01-26T17:26:37Z'}}}, 'activity': {'resultCode': '0', 'activityStarted': '2024-01-27T15:43:44Z', 'category': 'CYCLE', 'ttl': 1714146224, 'macAddress': '54-43-b2-e9-3c-68', 'attributes': {'temp': '0', 'remoteCtrValid': '0', 'autoDetergentStatus': '0', 'spinSpeed': '1000', 'prCode': '72', 'dryProgFlag': '0', 'autoSoftenerStatus': '0', 'delayStatus': '0', 'dirtyLevel': '0', 'nightWashStatus': '0', 'remainingTimeMM': '15', 'permanentPressStatus': '0', 'programName': 'HQD_QUICK_15', 'antiWrinkle': '1', 'liquidDetergentDose': '1', 'powderDetergentDose': '1', 'programCluster': 'quick', 'programFamily': '[dashboard]', 'programIntensity': 'standard', 'programType': 'W', 'suggestedLoadW': 'RL20', 'origin': 'dashboard', 'channel': 'appliance'}, 'activityExecutionStarted': '2024-01-27 15:43:44', 'applianceTypeName': 'WM'}, 'commandHistory': {'command': {'macAddress': '54-43-b2-e9-3c-68', 'commandName': 'startProgram', 'applianceOptions': {'haier_SoakPrewashSelection': 'haier_SoakPrewashSelection'}, 'programName': 'PROGRAMS.WM_WD.HQD_SPIN', 'ancillaryParameters': {'remoteActionable': '1', 'programType': 'W', 'suggestedLoadW': 8, 'remoteVisible': '1', 'antiWrinkle': '1', 'programCluster': 'traditional', 'energyLabel': '0', 'prPosition': '6', 'programFamily': '[dashboard]', 'tempContribution': '0'}, 'applianceType': 'WM', 'attributes': {'prStr': 'Wirowanie', 'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'device': {'appVersion': '1.53.7', 'deviceModel': 'kona', 'osVersion': '33', 'mobileId': '5a400c8410640c77', 'mobileOs': 'android'}, 'parameters': {'haier_MainWashSpeed': '0', 'creaseResistSoakStatus': '0', 'haier_SoakPrewashSelection': '0', 'prCode': '74', 'soakWashStatus': '0', 'strongStatus': '0', 'energySavingStatus': '0', 'spinSpeed': '1400', 'haier_MainWashWaterLevel': '0', 'rinseIterationTime': '0', 'haier_SoakPrewashSpeed': '0', 'permanentPressStatus': '0', 'nightWashStatus': '0', 'intelligenceStatus': '0', 'haier_SoakPrewashStopTime': '0', 'weight': '0', 'highWaterLevelStatus': '0', 'voiceStatus': '0', 'haier_SoakPrewashTime': '0', 'autoDisinfectantStatus': '0', 'cloudProgSrc': '2', 'haier_SoakPrewashRotateTime': '0', 'cloudProgId': '255', 'haier_SoakPrewashTemperature': '30', 'dryProgFlag': '0', 'dryLevel': '0', 'haier_RinseRotateTime': '0', 'uvSterilizationStatus': '0', 'delayStatus': '0', 'dryTime': '0', 'dryLevelAllowed': '0', 'rinseIterations': '0', 'lockStatus': '0', 'mainWashTime': '0', 'autoSoftenerStatus': '0', 'washerDryIntensity': '1', 'autoDetergentStatus': '0', 'antiAllergyStatus': '0', 'speedUpStatus': '0', 'temp': '0', 'haier_MainWashRotateTime': '0', 'detergentBStatus': '0', 'ironRemindStatus': '0', 'haier_MainWashStopTime': '0', 'texture': '1', 'steamLevel': '0', 'operationName': 'grOnlineWash', 'haier_RinseSpeed': '0', 'haier_ConstantTempStatus': '0', 'haier_RinseStopTime': '0', 'delayTime': '0'}, 'transactionId': '54-43-b2-e9-3c-68_2023-03-03T15:04:24.725Z', 'timestamp': '2023-03-03T15:04:24.724Z'}, 'timestampAccepted': '2023-03-03T15:04:32.6Z', 'timestampExecuted': '2023-03-03T15:04:34.9Z'}, 'lastConnEvent': {'macAddress': '54-43-b2-e9-3c-68', 'category': 'CONNECTED', 'instantTime': '2024-01-27T15:39:23Z', 'timestampEvent': 1706369963683}}, 'authInfo': {}} 2024-01-27 16:46:10.076 DEBUG (MainThread) [custom_components.hon.base] Finished fetching hOn Device data in 0.577 seconds (success: True)

@gvigroux
Copy link
Owner

I just rollback some modifications. Can you please test ?
Last thing, can you also share a log starting by "Statistic for mac["

Thanks

@gvigroux gvigroux added the help wanted Extra attention is needed label Jan 27, 2024
@Theo16
Copy link
Author

Theo16 commented Jan 27, 2024

I just rollback some modifications. Can you please test ? Last thing, can you also share a log starting by "Statistic for mac["

Thanks

I dont have this section in my log only Context for mac.

@gvigroux
Copy link
Owner

Ok, did you tested the last version?

@Theo16
Copy link
Author

Theo16 commented Jan 28, 2024

Total electricity is ok 64,67kWh but total water is wrong now 6385.0L instead of 63.85L

@gvigroux
Copy link
Owner

Ok, I will do a last change today

@gvigroux
Copy link
Owner

I did an update but I have a different behavior between 2 types of appliance (and it should not be the case). Can you please look at the values displayed in the official hOn app to see if everything is correct ?

@Theo16
Copy link
Author

Theo16 commented Jan 29, 2024

I don't know this app very much. Can You tell me where i find those values? On new ver,: Total electricity used 65,18 kWh, Total water used 64,45 L. This seems fine, but Current electricity used 0,0051 kW seems off. Its only 5,1 W ('currentElectricityUsed': {'parNewVal': '0.51',) I belive i should be 0.51kw.

@PePeLLee
Copy link

Could you please double check divider for water usage.
For me only "Mean water consumption" looks good - 67 liters (new washing machine).
Total water consumption is 0.67 l and last value for current water used is 0,39 l. Divider 100 should not be applied in case of HAIER I-Pro 5 HW100-B14959U1-S
'totalWaterUsed': { 'parNewVal': '67', 'lastUpdate': '2024-06-11T18:39:44Z' },

image

@PePeLLee
Copy link

Total electricity is ok 64,67kWh but total water is wrong now 6385.0L instead of 63.85L

I believe 6385l for 109 cycles was correct.

@m-klecka
Copy link

m-klecka commented Oct 22, 2024

I also have problems with the integration showing water and electricity usage incorrectly on my dish washer, model Candy CI 3C7F0W.
Eg. "Current water used" shows 0,14l after cycle ends and "Current electricity used" ends at around 0,005 kW, which i also believe is nonsense. It should be about 10,9l and about 0,79 kWh per cycle (maybe 0,5 kWh is correct too), according to the specification. So the values are divided by 100, which they should probably not be. Also the electricity used per cycle should probably have kWh as a unit and not kW, as kW would show electricity used at that exact moment.

@swas
Copy link

swas commented Nov 16, 2024

Same problem here.

Device HAIER Washer-Dryer: HWD90-B14959U1EE

Electricity and watter usage are very very low. After a 4 hours wash and dry cyle, the consumptions are:

Electricity: a few kW
image

The "Total electricity used" seems ok , about 2 kWh per wash and dry cyle
image

Watter: 0.82L
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants