motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.85k stars 898 forks source link

Having issues with motioneyeos used for storage #1790

Open spydergto opened 5 years ago

spydergto commented 5 years ago

Hello,

I have very limited bandwidth where i work , i'm not home and wont be for some time so all the work i am doing is remote access to a separate rpi 3b forgot the model. I have vnc and teamveiwer to the rpi3b. So i have successfully set up remote access to one of two rpi 3b+'s with motioneye os , the one with the cameras, it is WiFi on my network and i can access it externally. however no matter what i do i cant get access to the one rpi 3b+ that is for storage only. i followed a tut online somewhere a guy used 4 rpi zeros and a main rpi 3 for storage. i'm using 1 rpi3b+ as cameras at my front door and one rpi 3b+ with a USB 1 tb western digital hdd to store those on the storage is Ethernet and also has WiFi but i point to the Ethernet IP addy .

I can SSH to my rpi B and then SSH into the storage, yet when i set a port like 9997 to send to port 80 and add that to the storage in my router, it wont let me ssh directly to it. when i do something similar to camera rpi with port 9998 it works and i can directly ssh to that. however i can ssh to storage when ssh'ed first to rpi b which has rasbian and is my go to puter to mess around with my home network , my at&t router doesn't allow remote access/ management so i had to get creative.

I am starting to think that maybe the system is corrupt ? i'm not sure how to check that since i'm away at the moment, i was also thinking i had read that the host-names were now change able in the latest version , but they required manually re flashing due to the partitions being different, so when i DO get home i was thinking of re flashing it with that, also to mention in my router homepage the storage meye shows up with a crazy name it doesn't show up with meye like the camera one, it did originally when i set it up , which is leading me to believe the thing corrupted maybe idk i'm not guru level... maybe someone can tell me what else to try ? is it possible to upgrade to the new version without removing the sd card and rewriting ? id really like to go to that , but wont be home for a while since i work away from the house,

i love the concept , i got suckered by NEST, their doorbell was on sale for 99 USD and i bought one only to find out i had to pay to keep my videos i was pissed so i found this,

updated checked i have 1 3b and 2 3b+'s the 3b plus are motioneye OS

spydergto commented 5 years ago

I just removed port 80 from the camera rpi 3b+ and moved it to the storage 3b+ and it was doing the same thing as all the other ports i tried and wouldn't work. then i moved it back and was able to access the rpi 3b+ with the 3 cameras. is anything i've said indication of corruption on the SD card ? since i cant access it physically it will have to wait until i can and maybe buy a new sd card or re-flash it i'm not sure. its weird because i CAN access the thing when inside the network .

JubilantReaper commented 5 years ago

What I did, multiple reasons maybe something to consider.... I have 14 Pi Camera's Zeros, Bs and B+s. Some wired and some wireless (Adding MORE).. So I absolutely love motionEye with all the options as a base for my camera's and open compatibility. As I started adding cameras I started to notice some latency and the Pi Hosting <4 was hitting 90-100% cpu utilization. So each camera viewing remotely (1-1) no issue, but monitoring multiple camera starts to become an issue from my experience. A LOT TO CONSIDER.

Why purchase 5-8MP cams if the lower end systems like multiple Pi's can's support. How do you handle the bandwidth (yes I've saturated mine) Writing to Disk SD cards can't handle but so much data, I have seen SD cards melt. it can happen.

OK, back to my setup... 9 CAMS All Pi's Running motionEye Desktop, i5 processor, 4GB RAM, GB NIC, 250GB SSD drive... (Simple System) However, I've loaded ZoneMinder (Open Source on top of CENTOS). I use this as my Central Management System for my Cams.

Long and Short of it all.... Wired CAM's 1920x1080, 30fps, 100% image quality. Wi-Fi CAMS's 1020x768, 30fps,00% image quality. Difference is about a 3-5 second latency with Wi-Fi.

I've tried 10 Cams, All Wi-Fi at 1920x1080 and saturated my Wi-Fi. So I'm adding a Ubiquity AP to balance the load on Wi-Fi.

JubilantReaper commented 5 years ago

Sorry Cut Short.... Look at everything is my point. Pi's can only handle so much. Again love the interface and use motionEye for all My Cams, but I use ZoneMinder for the Central Server. I turn off most of the motionEye features.

spydergto commented 5 years ago

I have been watching the cpu loads , the one with 3 cameras on it doesn't seem to have any issue what so ever, i have been intending to order heat syncs and fan combos , just the small 2 fan model off amazon for all three pi's but i am leaning towards the SD card , when i get home ill purchase a better brand sd card , i want to go to the new version but that requires a flash of the sd card, i read the main page a little makes me sad as i wish i could do it all remotely.

could you tell me what model cameras you are using ? i was also thinking of maybe booting the pi 3 b+ off a hdd since the sd card can and will corrupt and i wont be home much is it possible to run motioneyeos off HDD on pi ? i do know they made rasbian boot off hdd that would prevent future corruptions

edit

i have just checked my network and i no longer have access to the storage rpi , i didn't issue it to shutdown , its ethrenet'ed into my router and on a APC battery back up . but it is no longer up and alive. the card must have corrupted is my best guess. will let yall know this weekend once i get there* maybe this ends up helping someone else.

JubilantReaper commented 5 years ago

spydergto, all my cams are Pi's, 5 and 8 MP. I'd be more concerned why you are having so many corruption issues. Should not be happening unless you are having a lot of power issues.

What part do you mean you wish you could do remote? I can do everything remote except FLASH if that's what you were saying.

Maybe once you get the corruption issues corrected then you will have more success.