Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature request : Reduce/Increase polling interval ? #106

Open
AlexDelm opened this issue Jan 5, 2024 · 1 comment
Open

New Feature request : Reduce/Increase polling interval ? #106

AlexDelm opened this issue Jan 5, 2024 · 1 comment

Comments

@AlexDelm
Copy link

AlexDelm commented Jan 5, 2024

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

@AlexDelm AlexDelm changed the title New Feature request : Reduce/Increase polling interval ? New Feature request : Reduce/Increase polling interval ? #enhanced Jan 5, 2024
@AlexDelm AlexDelm changed the title New Feature request : Reduce/Increase polling interval ? #enhanced New Feature request : Reduce/Increase polling interval ? Jan 5, 2024
@DomiStyle
Copy link
Owner

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:

static const int POLL_INTERVAL = 5000; // The interval at which to poll the AC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants