Hi @Jamie
Wanted to try out your app.
But unfortunately it crashes after install.
the app crash shows this:
Error: ENOENT: no such file or directory, uv_resident_set_memory
at process.memoryUsage (node:internal/process/per_thread:168:5)
at RejectionHandler.getProcessInfo (/app/node_modules/winston/lib/winston/rejection-handler.js:112:28)
at RejectionHandler.getAllInfo (/app/node_modules/winston/lib/winston/rejection-handler.js:93:21)
at RejectionHandler._unhandledRejection (/app/node_modules/winston/lib/winston/rejection-handler.js:168:23)
at process.emit (node:events:529:35)
at emit (node:internal/process/promises:149:20)
at processPromiseRejections (node:internal/process/promises:283:27)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
I had the same issue when i made this homey-betterstack - npm but couldnât find a fix for that aswell.
Iâm using a HP23.
If you need a diagnostic report let me know
I installed the Audit app today. I set up the Betterstack integration as recommended here. A lot of data is being collected locally, but no data is reaching Betterstack. Does anyone else have this problem?
@Jamie could it be that your audit app doesnât catch all actions? The audit log shows for example an off action of a lamp but not the corresponding on action that one can see in the device log. Noticed that it seemed to have happend several times. Have to do some more research to verify my findings.
The Audit app really seems to have problems with recording OFF actions. Not much activity on homey as far as I can tell and yet quite a number of OFFs from different apps are not recorded. Can you please have a look into this.
Am using level ânoticeâ. Was reffering to plugs of different brands (aqara, fibaro, devolo, qubino) switching lights. They are switched on and off by flows. Checking the audit logs I saw some âoffâs without âonâs. Checked the devices log and saw that they were switched on according the settings from the flows. Noticed it at 2 occasions the past 2 weeks (21. and 22.12.). Before I did not check. App and homey 2023 are up to date. Homey itself did not record any problem. Audit didnât seem to be too busy at that times. Requested only âonâ and âoffâ actions. Not all âonâs went unrecorded. Havenât found a wrongly recorded action at the âonâ time. Difficult to find a reason.
I did a deep dive and testing I am unable to see any issue with off being logged, but I did add a catch all to trigger when the message fails, so perhaps that will help? Let me know how you go.
I also fixed an issue where critical logs, ie home alarm and garagedoor_locked may not log correctly.
Finally did an general update to the latest homey APIs and update the file rotate method.
Iâve just pushed the test version to live, sorry it took a while, this app has a pretty small user base so it took some time to verify it fixed the issue.