chrisp250 / daikin_mqtt

MQTT interface to Daikin ACs
6 stars 1 forks source link

Full functions for Australian Alira X #3

Open ajvandr opened 1 month ago

ajvandr commented 1 month ago

Not sure if this will be useful to you (or a better way of getting it to you) but I took the start that was referenced in https://github.com/home-assistant/core/issues/99251#issuecomment-1828862331 and expanded it to include all the functions that I can control on my Alira X.

I can now view the status and control all basic functions, though some are still unavailable like the ioniser control and powerful fan.

daikin2.py.txt

chrisp250 commented 1 month ago

Not sure if this will be useful to you (or a better way of getting it to you) but I took the start that was referenced in home-assistant/core#99251 (comment) and expanded it to include all the functions that I can control on my Alira X.

I can now view the status and control all basic functions, though some are still unavailable like the ioniser control and powerful fan.

daikin2.py.txt

Hi there, Thank you for this. My code is heavily based on that post. I implemented as much as I could over the weekend to at least have basic functionality.

I had a look at your python file. Just to confirm, do you interface it to Home Assistant somehow, or do you use it stand alone?

Also if you can figure out how to get the power consumption figures, I would be interested in getting that to Home Assistant as well.

Cheers

ajvandr commented 1 month ago

No problem at all @chrisp250. I have another version that JSONs the output and feeds a commandline sensor for each unit so I can get status into HA but haven't done anything with control.

No idea on the power side sorry.

chrisp250 commented 1 month ago

No problem at all @chrisp250. I have another version that JSONs the output and feeds a commandline sensor for each unit so I can get status into HA but haven't done anything with control.

No idea on the power side sorry.

Cool. I looked at doing something like that, but as I understand when you get all the different values in Home Assistant, there is no way to use the thermostat card on the graphical interface.

Using MQTT, I can leverage the MQTT HVAC integration that pulls the different values into an integrated climate control object and shows as a single entity on the graphical interface.

If I have a bit of time this weekend I might add some of the other parameters.

Thank you for your feedback.

jonbartlett commented 1 month ago

Also if you can figure out how to get the power consumption figures, I would be interested in getting that to Home Assistant as well.

Also interested in pulling power consumption figures from these devices. I can't see any mention of this in any of the work done so far to decode the new API.

chrisp250 commented 1 month ago

Also if you can figure out how to get the power consumption figures, I would be interested in getting that to Home Assistant as well.

Also interested in pulling power consumption figures from these devices. I can't see any mention of this in any of the work done so far to decode the new API.

At some point we might need to poll the unit while it's running and keep dumping out the data, removing the register we know, and looking at the remaining to see what's changing and try to figure out which one is the power consumption. It might be easier for someone who has access to the Daikin cloud solution to compare what the website is showing. Unfortunately the phone app doesn't report any of that.

If anyone else in the meantime wants to do that and can figure it out, I'll be happy to update the code to include it.

Cheers

jonbartlett commented 1 month ago

I had a go at doing this today and can see a handful of values changing but nothing obvious. I think this is complicated by the fact that some units do not support power monitoring. I have a new unit installed (FTXV90WVMA) and I'd hope it does but could be chasing my tail if it doesn't.

Do you have any idea how to get logged into Daikin Cloud or equivalent?

jonbartlett commented 1 month ago

At some point we might need to poll the unit while it's running and keep dumping out the data, removing the register we know, and looking at the remaining to see what's changing and try to figure out which one is the power consumption.

What's the best way of documenting what we do know so far? A new Wiki page in this repo?

chrisp250 commented 1 month ago

At some point we might need to poll the unit while it's running and keep dumping out the data, removing the register we know, and looking at the remaining to see what's changing and try to figure out which one is the power consumption.

What's the best way of documenting what we do know so far? A new Wiki page in this repo?

I might do something when I get a chance. In the meantime if you find something else apart from what's available in the Home Assistant daikin integration issue, let me know.

chrisp250 commented 1 month ago

At some point we might need to poll the unit while it's running and keep dumping out the data, removing the register we know, and looking at the remaining to see what's changing and try to figure out which one is the power consumption.

What's the best way of documenting what we do know so far? A new Wiki page in this repo?

I set up a wiki with the API details