On my Ecodan system I can only get an estimate in Melcloud, as the HP is not fitted with energy meters. In case electrical meters are fitted, their values are passed through the API.
As I am more than a newbie, it took me literally weeks to figure out the right syntax to get all the parameters out of the JSONâŠ
By replacing âFlowTemperatureâ by âCurrentEnergyConsumedâ you would get the energy consumption.
My problem is that I canât get the template properly working so I am using a list of rest sensors and I call the API every time⊠Some help would be appreciated!
Hi - yes, initially I copied your post #194 but then I found out that I could get more data by making another call (https://app.melcloud.com/Mitsubishi.Wifi.Client/user/ListDevices). For example I can get the compressor speed! The response though is much more complicated and I am not able to write myself a better code than calling the API several times. If I try something similar to your code, I get either âunknownâ or other error codes for the sensors I defined through templating⊠probably due to the length of the API answer and my inability to use the right syntax to parse the json.
Yes, itâs all on the parsing of the json. With the right syntax you can extract any data you want with just one call. You can maybe try and post the json in the general help forum, see if someone there can help you point at the values you need.
Finally I could make it work: I used âjqâ to eliminate the brackets from the json coming out from the API and now I can use attributes and through templating itâs quite straightforward to extract all values I want from a single call.
Reference here: RESTful Sensor with json result as array values?
Iâve got the same, but at this point itâs only the vertical you can control.
Regarding presets, there I would suggest that you either look for automations or scripts. I myself is using of course automations based on criterias, but Iâve also assigned a few scripts to buttons in Lovelace so that I can have some presets (run cool or heat for a few hours with highest fan speed).
Hello,
Iâm new to this world, I recently Cap 1 Mitsubishi ECODAN and I use MELCLOUD since I installed the MAC-5671F-E (very soon after the installation of the CAP in early October 2019).
I also use Hassio after having equipped myself with a raspberry and I try to integrate it with MELCloud. I was beginning to despair and I discovered your community and the great people who are at work âŠ
By cons I can not achieve what you describe.
My computer skills are very limited and in general I can do things by looking and copying what works but this time the bar is a little high, what I miss is the start. Could you tell me how to use the code you give in post # 194? I also did not understand how to make a guest account ⊠so I did not get the context key, the list of buildings or devices related to my account.
A big thank you in advance
franciscodaspis
Just wanted to say a big thank you for this plugin. My installer recommended us to run the fan of our air heater at max speed during the cold winters in Sweden to get the most value out of our investment. It works really well, but it sounds like a⊠Big fanâŠ
But using this plugin can adjust the speed of the fan during our TV sessions.
- alias: "Shield off climate on"
trigger:
- platform: state
entity_id: media_player.shieldtv
to: 'off'
action:
- service: climate.set_fan_mode
data:
entity_id: climate.melcloud_kallaren_181404
fan_mode: 'Speed 5 (Max)'
- alias: "Shield on climate off"
trigger:
- platform: state
entity_id: media_player.shieldtv
from: 'off'
action:
- service: climate.set_fan_mode
data:
entity_id: climate.melcloud_kallaren_181404
fan_mode: 'Speed 4'
It works really well and the wife is really pleased. Happy wife, happy lifeâŠ
Itâs basically a copy of the Daikin integration without the switch platform. Itâs 100% async and configured using Config Flow. Only the ContextKey token from MELCloud is stored to the Config Entry. Once Iâve solved the authentication, the it should be possible to PR the whole thing to Home Assistant.
I havenât yet implemented vane control or swing modes and thereâs only support for DeviceType 0 devices.
I did some further digging into the MELCloud API and it looks like they have an Oauth provider and some sort of a grant management scheme integrated to the service.
I tried to email the MELCloud support to check if it is possible to provision some sort of developer client ids. It would be pretty neat to get the integration working with the OAuth2 Control Flow. Letâs see whether it will be a friendly reply or a cease and desist letter.