Thank you very much for the integration! Consumption sensors would be awesome.
The temperature is an attribute of the water_heater
entity so you could create a template sensor from it. That said, I can expose a sensor entity (initially disabled) that you can enable and use in your HA
Energy Consumption would be a key feature to implement if I can place a vote!
Unfortunately it seems that the Panasonic API is very basic and provides only a few parameters for the HeatPumps
In the web app āAquarea smart cloudā, one can have access to consumption data and the javascript file a2w-energy-consumption.min.js uses the API. So there should be a way to get access to these data. Iām not expert and I canāt understand straightforwardly how it works.
What request did you type to get the json you showed?
I got this info from a friend that understands coding and has integrated his Mitsubishi HP. He said this is what the API has, the Panasonic service cloud offers full info but as far as I understand there is no api. For reference this is what the Mitsubishi offers
Getting the consumption data is not the big deal to say something. Thereās an endpoint that gives us the data aggregated (based on a parameter).
For example we can ask for the consumption for today. Weāll get a list of the consumption per hour. Good news is that I already implemented that in the python client that connects to the aquarea API when I was working on this during the summer.
Whatās the challenge that made me pause the work as I needed to dig further on it and to make some decisions and unfortunately didnāt have the time?
Youāll only get the consumption for letās say, 21:00 to 22:00, maybe at 22:05 if youāre lucky but it can take more time to appear. So what does that mean? I need to choose the right class for the entity and configure it properly to ensure that statistics are generated properly. Here you have the docs in case youāre curious to learn more: Sensor Entity | Home Assistant Developer Docs)
I need to also ensure that I update the entity properly when weāre jumping between days (23:00 to 00:00 / 00:00 to 1:00 consumption).
Iām not saying is a super complex task, just needs a bit of design and to ensure weāre covering all edge cases
Iām back working on this and Iāll release a preview version so we can test it as soon as I have something testeable
Great! I am happy that there is a light in the tunnel!
Thanks!
Thank you very much. Thatās great news!
I think the problem with delayed data is general in power consumption (see this topic for example) and there should be a workaroundā¦ that Iād like to know for another problem.
If you update your integrate and maybe want feedback, I will test it ; )
If you are looking for a solution to use Panasonic cloud and local MQTT server for Aquarea heat pumps at the same time, try HeishaMonBoth.
This interface has the same functionality as HeishaMon , but gives the ability to work simultaneously in the cloud and with the local MQTT server.
The Home Assistant integration provided by Kamaradclimber for HeishaMon also works with HeishaMonBoth.
Thank you for this information. This seems to be much more complete but required some supplementary hardware knowledge.
Thanks, that would be nice! Additional question, from the Panasonic UI I can choose a few quick calls, for example , Force DHW or Request Sterilization. Is that something that can be enabled as well?
Apologies, I am rather new into HA and struggling sometimes. How can I set the Zone1 (target) temperature within HA automation, based on the current Zone Temperature + 2? I am able to retrieve the attributes:
Entity:
climate.wp_otw_aqu_zone1
Attr:
hvac_modes:
- heat
- āoffā
min_temp: 51
max_temp: 51
target_temp_step: 1
current_temperature: 51
temperature: 24
hvac_action: idle
attribution: Data provided by Aquarea Smart Cloud
icon: mdi:hvac-off
friendly_name: HP_floor_heating
supported_features: 1
What hardware do you need for heishamonboth? The same as for heishamon or do you need a supplementary PCB?
Hi,
Can i get details about the automation you have created?
Thats exactly what i am looking for. If i try to create automation, keeps giving me some weird errors.
It turned out this needs a service call (water heater service) from within the Automation action tag:
service: water heater set temperature
for your specific tank / Heatpump entity id
putting this on top of mind - would be great to have this available.
Hi Cjaliaga ( Carlos),
This integration works perfectly fine for me. Have a 5 KW setup with a 120L water tank and 50L buffer tank.
Does the job as expected.
Just wondering if we can have these details available?
- OFF-ON Counter
- Total ON time on the compressor.
Also, as mentioned by multiple folks in the past - consumption would be the best thing to have. That ways we do not have to keep swapping between HA and the subpar Panasonic cloud app.
Hey @vaibhavratnaparkhi , We donāt have these values from the Aquarea Smart Cloud API. Itās available in the Service one, where login-in as we do in the smart one is not that easy (Iām not sure how we would do it and if we even can) and then the responses from their API are not that understandable haha. I like some reverse engineering, but this is not something I can take on right one.
One example:
{
"connectionStatus": 0,
"cnCntErrorStatus": 0,
"errorCode": 0,
"statusDataInfo": {
"function-status-text-005": {
"textValue": "2006-0310",
"type": "basic-text"
},
"function-status-text-027": {
"type": "simple-value",
"value": "42"
},
"function-status-text-049": {
"type": "simple-value",
"value": ""
},
"function-status-text-025": {
"type": "simple-value",
"value": "41"
},
"function-status-text-047": {
"type": "simple-value",
"value": ""
},
"function-status-text-068": {
"type": "simple-value",
"value": "0"
},
"function-status-text-009": {
"type": "simple-value",
"value": "32"
},
"function-status-text-007": {
"textValue": "2006-0339",
"type": "basic-text"
},
"function-status-text-029": {
"type": "simple-value",
"value": ""
},
"function-status-text-041": {
"textValue": "2006-0960",
"type": "basic-text"
},
If Panasonic exposes these in their Smart one, happy to add these. Thatās our hope, more data and functions into the Smart Cloud App so we can bring them into the integration.
A sneak peek of what Iām working on. I think a couple of you asked for it
Iāll need some help testing a couple of scenario. Iāll add the details in the GH Issue as soon as I can. Due to the way the API exposes the data (and when) I needed to make a couple of design choices. Iāll explain everything here: Implement statistics sensors Ā· Issue #1 Ā· cjaliaga/home-assistant-aquarea Ā· GitHub