dlarrick / hass-kumo

Home Assistant module interfacing with Mitsubishi mini-split units
MIT License
94 stars 20 forks source link

Set Program in Kumo from HA? #142

Open jacobmovingfwd opened 3 months ago

jacobmovingfwd commented 3 months ago

This is a question not an issue: Is there a way to interact with the Program in Kumo?

My main unit has a bad wifi signal, constantly dropping & reconnecting. I've worked on it, that's a whole other thing. But that means I'd rather not rely on an internet signal to be there for changes to happen, and would like to push the whole schedule into the unit so that it knows what to do even without internet.

Is that possible currently?

dlarrick commented 3 months ago

It is not possible currently.

However, the schedule information is present in the API information that has been reverse-engineered, so interface with that is theoretically possible. The place to start would be to expose the schedules in the pykumo library. I'll be honest, I'm pretty unlikely to do this work myself.

On the third hand, I'm not at all clear how to integrate such functionality into HomeAssistant. I guess it would be changing which program is active rather than changing setpoints. Editing those programs seems beyond the scope of the current HomeAssistant "Climate" entity.

I would certainly consider pull requests in the following areas, if anyone is interested:

jacobmovingfwd commented 3 months ago

Awesome, thanks for pointing me in the right direction! I'll see what I can get it to do, when I can play with it.

I think the best way around the network issues right now is what you have in the "complex template", to keep trying to set the value until it comes back as set. Which is a good workaround if your unit "bounces" in & out of connection like mine does.