hon icon indicating copy to clipboard operation
hon copied to clipboard

Electricity consumption wrong scaling

Open Theo16 opened this issue 1 year ago • 13 comments

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.

Theo16 avatar Jan 26 '24 17:01 Theo16

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"

gvigroux avatar Jan 26 '24 22:01 gvigroux

Yes. I have 109 cycles 1.5 hours on average.

Theo16 avatar Jan 27 '24 05:01 Theo16

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

gvigroux avatar Jan 27 '24 13:01 gvigroux

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)

Theo16 avatar Jan 27 '24 15:01 Theo16

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

Thanks

gvigroux avatar Jan 27 '24 17:01 gvigroux

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.

Theo16 avatar Jan 27 '24 18:01 Theo16

Ok, did you tested the last version?

gvigroux avatar Jan 28 '24 10:01 gvigroux

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

Theo16 avatar Jan 28 '24 11:01 Theo16

Ok, I will do a last change today

gvigroux avatar Jan 28 '24 11:01 gvigroux

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 ?

gvigroux avatar Jan 29 '24 18:01 gvigroux

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.

Theo16 avatar Jan 29 '24 18:01 Theo16

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 avatar Jun 12 '24 11:06 PePeLLee

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.

PePeLLee avatar Jun 12 '24 11:06 PePeLLee