I have a new Homey pro. I have once a month the problem that my Homey pro crashes at night. It looks like the backups were made in the night and then in the morning my Homey is not accessible anymore and has a red ring. The same problem I had this morning. The backup were made and the last entry in the timeline i at 02:39. I think the crash happens at this time.
After restart everything is working (unplug the cable).
Is there a change to see, what was the problem. Has someone similar problems?
Enable / install sysinternals app and what for free memory… my guess is that you have too many app (>45 apps) and there is insufficient memory available.
If this is the case :
restart at midnight to free mem
disable apps shortly before backups (you might get times from the backup logs, eg. between 01AM-03AM etc.)
But as such these would be a workaround for something that crashes the system. Homey’s watchdog should restart, but it doesn’t.
I have an external monitoring script that will pull the plug and restart, if the Homey isn’t responding for several minutes.
Anyway support has been actively trying to find what is the cause. It may or may not be the backups, the time is approximatly right. However my Homey mist of the time has completed the backuo successfully and the crash might happen some time after it.
Now I have disabled my watchdog script and have to disable MQTT apps as they seem to saturate the system logs and Athom Support can’t get anything useful out from the diagnostics report.
Currently the working hypothesis is, that it is not the backup service that would crash Homey. It is not entirely ruled out yet. I’m now waiting for the next crash to happen to send more diagnostics for Athom Support.
Are you sure, was is 02:11 or 02:39 ? Can you share My backups | Homey ?
Because I don’t see any mem drop during backup and for sure there must be one.
You can run backup manually and check the difference…
strange that no memory decrease is visible during backup, have you tried to run backup manually, as I mentioned earlier?
Btw what is your uptime when crash happens, eg. do you restart regularly, weekly at minimum?
Yes it’s only logging, and not needed when the app runs fine, or use Error level to catch unexpected errors at least.
App logs can get quite big as I understand, sometimes causing an app to quit
When not needed, turn them off, or set it to Error only
(Debug level saves all info sent to the log
Error level saves the least info to the log)
For me, the homey has been more stable now except that it still is failing backups during the night. This is a bit annoying since it sends a push notification to the phone that is next to my bed in the charging stand.
So turning off the logging on MQTT Hub so far has helped. 9 days and going strong.
Thanks, I deleted some apps and turned off mqtt hub logging. Thanks for that, I will have a look. How does it work to send a push notification, if the backup is failed?