Hi everyone, I’ve been diving into some interesting challenges with my Huawei LTE integration and Home Assistant setup. Let me share my journey and see if anyone has insights or solutions!
Recently, I noticed that my database was growing quite a bit, and after some digging, I found that a significant portion of the entries were from my Huawei LTE integration. Specifically, the device trackers for our tablets were logging nearly 58,000 records over a week. That’s a lot of data! I set up the recorder with a 7-day retention policy, which seems to be working as intended, but I’m curious if there’s a smarter way to handle this.
The tablets are almost always at home, so every 10 seconds, the system logs that they’re still present. The only change in the ‘attributes’ column is the ‘associated_time’. While this level of logging is thorough, it feels a bit excessive for devices that rarely leave the house. I considered excluding these devices from the recorder, but that feels like sweeping the problem under the rug rather than addressing it.
I was on the verge of opening a GitHub issue but thought I’d ask here first. Maybe there’s a setting or a tweak I’m missing that could reduce the logging without sacrificing functionality. Has anyone else encountered this with Huawei LTE integration? How did you handle it?
On a lighter note, it’s fascinating to see how these devices interact with the system. It makes me appreciate the depth of Home Assistant’s integration capabilities, even if it means keeping an eye on database growth. I’d love to hear your thoughts or experiences!
Cheers,
[Your Name]