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

Update Frequency Parm Not Being Read #52

Open
funetn opened this issue Jan 27, 2024 · 0 comments
Open

Update Frequency Parm Not Being Read #52

funetn opened this issue Jan 27, 2024 · 0 comments

Comments

@funetn
Copy link

funetn commented Jan 27, 2024

First thank you for the plug-in. Just installed and happy to see my sensors in HomeKit now. However I noticed when I changed the "update_frequency": 30 value to something else (I can live with 5+ min updates so changed to 300 and rebooted) that the plug-in still is polling ever 30 seconds per the log ("wait | 30 seconds").

I'm not a coder but I see in the code (platform.js) the following line of code:
this.updateFrequency = this.config.update_frequency || 30;

Is the JSON value (update_frequency) not getting correctly read by the program?

Updated (added JSON & log capture):

JSON:
"exclude_equipment_sensors": false,
"update_frequency": 600,
"log_level": 1

LOG
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [Main Floor]
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [Master Bedroom]
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [Basement]
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [My ecobee]
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] Update equipments
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [Ecobee auxHeat1] - false
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] [Ecobee fan] - false
[28/01/2024, 13:18:09] [Ecobee 3 Sensors] Wait | 30 seconds
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] Update sensors
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [Main Floor]
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [Master Bedroom]
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [Basement]
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [My ecobee]
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] Update equipments
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [Ecobee auxHeat1] - false
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] [Ecobee fan] - false
[28/01/2024, 13:18:39] [Ecobee 3 Sensors] Wait | 30 seconds
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] Update sensors
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [Main Floor]
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [Master Bedroom]
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [Basement]
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [My ecobee]
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] Update equipments
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [Ecobee auxHeat1] - false
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] [Ecobee fan] - false
[28/01/2024, 13:19:09] [Ecobee 3 Sensors] Wait | 30 seconds

Thanks,
David

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

1 participant