yi-hack-Allwinner-v2 icon indicating copy to clipboard operation
yi-hack-Allwinner-v2 copied to clipboard

r30gb bootloop when enabling mqtt

Open lcorsini opened this issue 2 years ago • 7 comments

I have a strange problem with an r30gb it was hacked before, but microsd died got a new one, downloaded vers 0.2.1, it works fine until I enable MQTT config any ideas? the only thing left to try is to reinstall 0.1.9 or keep mqtt disabled

I have another r30gb that works fine with mqtt I also upgraded it to 0.21 without problems

EDIT I tried a new out of the box r30gb that I had in my closet and upon installation of 0.2.1 it presents the same behaviour when MQTT is enabled it does bootloop

This is the actual situation one upgraded from 1.9 works fine one which was previously hacked presents the boot loop, but happens to talk to mqtt no matter the option one new out of the box hacked with 0.2.1 which presents the problem

EDIT2 The problem seems to be related to motion detection the only one that works writes the motion_files topic while the other just crash and bootloop when detect movement even if movement detection is disabled by app

lcorsini avatar Mar 18 '22 10:03 lcorsini

Is swap file enabled?

roleoroleo avatar Mar 19 '22 14:03 roleoroleo

no swap is enabled at the moment, no

lcorsini avatar Mar 21 '22 08:03 lcorsini

Try to enable it. Probably the problem is the snapshot. When a motion is detected, the cam take a snapshot. Snapshot requires a lot of memory.

roleoroleo avatar Mar 21 '22 09:03 roleoroleo

I'll try (also probably disabling cloud will help) there is a documented procedure to enable swapfile? I've found this issue https://github.com/roleoroleo/yi-hack-Allwinner/issues/5

lcorsini avatar Mar 21 '22 09:03 lcorsini

If you are able to reach the web page, switch on the flag. Otherwise, edit the file yi-hack/etc/system.conf in the sd card.

roleoroleo avatar Mar 21 '22 09:03 roleoroleo

it seems to work now, so swapfile seems needed on 0.2.1 it is still strange that the upgraded one (0.1.9->0.2.1) works without

lcorsini avatar Mar 22 '22 11:03 lcorsini

My camera never worked without swap files. But it really depends on the configuration.

roleoroleo avatar Mar 22 '22 11:03 roleoroleo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 09 '22 03:12 stale[bot]