Open AlexDelm opened 10 months ago
I'm also interessed if anyone has opposing arguments to understand reasons why 5 sec polling may be better than 30 or 1min interval.
The ESP mimics the behavior of the original wifi adapter, which polls every 5 seconds for the old protocol and every 55 seconds for the new protocol. On the new protocol the AC can push to the wifi adapter, hence the high polling interval. The old protocol has to rely on the polls to get data.
If you want to adjust it, you can change this line and recompile: https://github.com/DomiStyle/esphome-panasonic-ac/blob/a55ed6616d56437e2f3a367fb4719e2ff77ad4f6/components/panasonic_ac/esppac_cnt.h#L12
Hi,
Thank you so much for this project ; i really appreciate controlling my AC without the panasonic cloud 👍 .
I'm no dev so i cannot help myself about what i'm going to ask.
I have 2 AC, CZ-TACG1 based. i feel like 5 sec polling interval is quit a lot for an AC. I believe this polling interval is too short and unecessary. 30 sec (like is it on DNSK-P11) should be less energy consumer and still enough to our use case.
Is it possible to implement variable in ac.yml file, to set up a customised polling interval ? I will appreciate it very much if some DEV could have time to.
I'm also interessed if anyone has opposing arguments to understand reasons why 5 sec polling may be better than 30 or 1min interval.
thanks Alex