Comments (4)
Feel free to delete them. Infinitude is intentionally a bit log-happy for debugging purposes.
from infinitude.
Hey, I was just looking at my state directory, I have over 6,000 error files going back about 2 years. I realize I can delete them, but I'm concerned about the quantity of files and that I'm about to move this to something backed by an microsd card instead of a HDD. I'd like to reduce the flash wear & file clutter if possible. Is there a way to reduce the logging, and especially rotate log files?
Edit: Infinitude is producing between 3 & 30+ .dat files a day.
Content mostly looks like the below, plus a read out of current HVAC stats:
error:
mismatched tag at line 1, column 1974, byte 1974 at /usr/lib/x86_64-linux-gnu/perl5/5.28/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 109.
error:
mismatched tag at line 1, column 2268, byte 2268 at /usr/lib/x86_64-linux-gnu/perl5/5.32/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 158.
not well-formed (invalid token) at line 1, column 1912, byte 1912 at /usr/lib/x86_64-linux-gnu/perl5/5.28/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 109.
from infinitude.
Looks like I have a few of those errors (6 over the last few months) - they look to be invalid/truncated xml files. possibly from broken connections to the Carrier servers, but that would be pretty frequent... 🤔
as for SD card writes - yep I understand the worry, but it can be largely mitigated by using f2fs on your sd card. If you're really concerned about writes you can also mount your state
folder as an in-memory filesystem, see tmpfs
but that would be lost every reboot without some kind of periodic copying.
from infinitude.
from infinitude.
Related Issues (20)
- blowerRPM airflowCFM coilTemp guages flickering HOT 12
- fan with gas heat & total electric HOT 16
- energy.json - updated before midnight HOT 1
- serial ioloop regression HOT 1
- Websocket opened, but no streaming source found HOT 8
- Errors when trying to run (Docker in Proxmox) HOT 67
- Permission error while attempting to start the listener HOT 10
- Carrier Infinity Touch unable to reach www.api.ing.carrier.com when proxying through Infinitude HOT 2
- Bryant Thermostat won't talk to Infinitude HOT 4
- Additional RS485 Decoding - Questions HOT 2
- It's not always clear to new users how Infinitude works: HOT 3
- Heat source HOT 21
- Trying to ingest JSON status api into Telegraf HOT 4
- Not working with ION Home Comfort HOT 2
- Novice trying to get off the ground... HOT 3
- Is there a way to tell if the carrier thermostat is online? HOT 1
- Question about HA yaml for infinitude sensors HOT 1
- Serial number of unit not exposed HOT 1
- Repeated messages in Syslog - Question HOT 4
- How do i figure out which stage the A/C is running at via the API? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinitude.