Then the text becomes a bit longer when I try to explain it:)
MELCloud is Mitsubishi Electric’s cloud service for controlling air conditioners and heat pumps.
I have a heat pump on it.
The MELCloud is also available as an integration in HA.
The problem is that MELCloud receives more data than is displayed to the “normal” user.
For example, only the flow temperature and return temperature are displayed.
Now comes the point where the REST sensors are used.
When I log in to the homepage via Firefox or Chrome, I can call up the HTML code of the page via F12.
There you can access information such as: Defrost time, Compressor frequency, Compressor working time.
For example, I ask for the following data:
- CurrentEnergyConsumed
#- DailyHeatingEnergyConsumed
#- DailyHotWaterEnergyConsumed
#- DailyEnergyConsumedDaily
#- HeatPumpFrequency
#- DefrostMode
I have commented out the # for testing purposes, so only the “Current Energy Consumption” is queried.
I have explained this in this thread:
Further up in this thread I posted my config.
The X-MitsContextKey: makes access and identification possible for HA to evaluate the MELCloud data, actually more of an authentication code.
In my config above, everything is with big XXXXXX user related data, ex.
Device ID.
I hope that explains it a bit