esphome-panasonic-ac icon indicating copy to clipboard operation
esphome-panasonic-ac copied to clipboard

Support for action

Open jmichiel opened this issue 1 year ago • 4 comments

I see in the code that 'action' is explicitly set to unsupported: traits.set_supports_action(false);

Is there a specific reason for this, or didn't you get around to implementing it? Or is there is it not supported by both A/C protocols?

I'm currently using the Comfort Cloud integration and do get a valid action state, so it should be able to work (at least on DNSK-P11, as my A/C is using).

Or is there is it not supported by CZ-TACG1?

jmichiel avatar Jan 31 '23 08:01 jmichiel

The AC does not report what it is actively doing from what I can tell, only what mode it is in. So there is no way to know if the AC is currently idle or actively heating/cooling.

There might be a flag somewhere but I never bothered to dig deeper.

DomiStyle avatar Jan 31 '23 09:01 DomiStyle

OK, maybe if I ever find the time, I might have a stab at it, then.

Since this integration manages to get an accurate action state from the cloud, it should be possible. But perhaps not on both protocols.

Not essential, but still a nice-to-have.

jmichiel avatar Jan 31 '23 14:01 jmichiel

After some investigation, the CZ-TACG1 protocol doesn't seem to report current action indeed, so it probably only works with DNSK-P11. I'm still also running the Comfort Cloud over DNSK-P11 for the time being, so maybe if I decide to get rid of it, I could try to figure out how DNSK-P11 does it.

jmichiel avatar Feb 08 '23 13:02 jmichiel

You can check the protocol description in the folder here. There's plenty of unknown fields that could hold the current action.

I might be able to take a look another look as well but only in summer since I don't use my AC for heating.

DomiStyle avatar Feb 08 '23 13:02 DomiStyle