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

Allow filter out MQTT sensor data #420

Open
Onepamopa opened this issue Dec 30, 2023 · 14 comments
Open

Allow filter out MQTT sensor data #420

Onepamopa opened this issue Dec 30, 2023 · 14 comments
Labels
enhancement New feature or request

Comments

@Onepamopa
Copy link

Alarm system

EVO192

Environment

ESP32 -> HA

Git branch

DEV

Describe the bug

In HA's Logbook every 10 seconds:
EVO192 System Date Time changed to 2023-12-30 15:44:XX (where XX is every 10 seconds).
This spams and bloats the log A LOT as you can imagine.. with something that's not of any particular use.

If possible - add a way to suppress this particular message from being logged, or just disable it.

To Reproduce

Logs

@Onepamopa Onepamopa added bug Something isn't working to be confirmed Reported but not yet confirmed labels Dec 30, 2023
@yozik04
Copy link
Collaborator

yozik04 commented Dec 30, 2023

You can tune time syncing threshold.

@Onepamopa
Copy link
Author

I set SYNC_TIME_MIN_DRIFT to 86400 -- no effect still spits the time every 10 seconds...

@Onepamopa
Copy link
Author

@yozik04 any other ideas?

@yozik04
Copy link
Collaborator

yozik04 commented Jan 5, 2024

Please share some logs as well. I have busy week. Will take a look during the weekend.

@yozik04
Copy link
Collaborator

yozik04 commented Jan 5, 2024

Maybe you just need to replace clock battery 😃

@Onepamopa
Copy link
Author

The panel hasn't indicated any issues with the RTC battery ... at least nothing in babyware.

Let me know what logs you need and I'll extract them.

@yozik04
Copy link
Collaborator

yozik04 commented Jan 5, 2024

Ahh it is HA log... not the plugin's log. PAI sends all changed status data to mqtt every 10 seconds. I do not have a way to filter out some of the data at the moment.

@yozik04 yozik04 added enhancement New feature or request and removed bug Something isn't working to be confirmed Reported but not yet confirmed labels Jan 5, 2024
@yozik04 yozik04 changed the title PAI -> HA Logbook annoyance Allow filter out MQTT sensor data Jan 5, 2024
@Onepamopa
Copy link
Author

Yes.. HA log filling with nonsense every 10 seconds :)

@adammeghji
Copy link

Also observing the same issue with extremely chatty logs with "EVO192 System Date Time" polluting the Logbook every 10 seconds. Has anyone come up with a good workaround to suppress these?

@Onepamopa
Copy link
Author

No .. the dev doesnt seem interested

@yozik04
Copy link
Collaborator

yozik04 commented Mar 25, 2024

Create a PR I will merge. I have no time to deal with this at the moment. I have more things on the list as well.

@Onepamopa
Copy link
Author

Create a PR I will merge. I have no time to deal with this at the moment. I have more things on the list as well.

Let me know which function is responsible for adding these to the log, and I'll do a PR.

@Onepamopa
Copy link
Author

As a temp fix - click on the event in the logbook, go to settings and uncheck "Enabled" and "Visible". This stops it completely.

@adammeghji
Copy link

@yozik04 thanks for your hard work on this project, btw :) @Onepamopa I'll try that workaround, thanks a bunch.

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

No branches or pull requests

3 participants