Jump to content

Faspina

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Faspina

  • Rank
    Newbie
  1. I got a free Dell T310 from work with Xeon CPU x3430 @2.4ghz. My main hobby is home automation so right now its running a bunch of docker containers and running the quiet well. The most intensive one is the Zoneminder container with object detection. I track the usage in influxdb/grafana with telegraf and my 24 average total CPU usage is about 70% so not bad for a 2009 hardware. In addition to the docker I have a Ubuntu VM that is uses to do cloud backup. I am fine on storage, I have SSD for cache, 2Tb parity, as well 2Tb+1Tb+320gb+320gb storage. I plan to move the drives over as is .I do not store videos and use plex and don't plan to so storage has not been an ssue. Its mainly CPU Power. What I want to do is put in a graphics card and crankup up Ubuntu Desktop VM as a workstation . Maybe do face detection with zoneminder docker and I need more CPU power for that. if my budget is $400 max, what can i get used to give me most upgrade for the price that will hold 6 drives.
  2. It seems to be working well and doesn't require as much CPU as some of the other object detect solutions I have seen with home assistant. I will be playing with face recognition later. I will keep you posted. Thanks for putting the framework in place!!!
  3. I finally got object detection working on my under powered Unraid server. It actually works pretty good pass the detected:car message in MQTT as part of the alarm. I have not played with the filitering in objectdetect.ini I had to make modifications to the userscript.sh in the OP to get it to work. It was missing some components that I discovered dropping into the container and running "bash /user/bin/detect_wrapper.sh EID MID where EID is event ID and MID is the monitor ID. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip cmake apt-get -y install libsm6 libxext6 libxrender1 libfontconfig1 pip install numpy opencv-python imutils configparser Shapely future python setup.py install # Install for face recognition pip install face_recognition
  4. I think I got it I had several problems. it was not picking up the script variable. I copied and pasted from here maybe something was wonky, then they script filed was not saved in a good linux format deleted it and rebuilt in in nano on the host. that seem to work.
  5. I have tried getting the userscript.sh as stated in your OP to run but I don't think its working .What is weird is I see this in the log *** Running /etc/my_init.d/999_advanced_script.sh... Userscript Provided *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 927 Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (pidfile fd = 3) Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (Running @reboot jobs) Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [using config file: /etc/zm/zmeventnotification.ini] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [Push enabled via FCM] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [MQTT Enabled] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [You are running version: 3.2-docker] I did chmod +x userscript.sh have ADVANCED_SCRIPT 1 as a variable in my docker setup when I drop into the docker console pip is not found. shouldn't it have been installed by the user script below. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip pip install numpy opencv-python imutils configparser Shapely pip ./setup.py install # Install for face recognition pip install face_recognition
  6. Well it says enabled. So that is good. What do I have to do to setup a ubuntu desktop and pass through to the Radeon. This is what I get internal error: qemu unexpectedly closed the monitor: 2019-02-26T16:28:54.945172Z qemu-system-x86_64: -device vfio-pci,host=04:00.0,id=hostdev0,bus=pci.4,addr=0x0: vfio error: 0000:04:00.0: failed to setup container for group 13: failed to set iommu for container: Operation not permitted
  7. All, I started down this unraid road because I have been involved in home automation for a while and my home assistant and supporting components mainly on docker were scattered among sever old server. So I managed to get a PowerEdge T310 with Intel® Xeon® CPU X3430 @ 2.40GHz processor. It has 8GB of memory but I can probably up that if needed. What I am trying to figure out is if I can replace a desktop with a VM (Ubuntu or Windows 7) to a Radon graphics card. The PowerEdge has a built in VGA monitor I get a IOMMU error when I try to setup a VM . I googled the heck out of the error even tried some stuff in my syslinux.cfg but no luck. I am wondering if my motherboard supports passthrough to the pci ports, how do I find out. My goal here is to really figure out what this free server can do form me so I a know what I am dealing with. It does everything I need it to do by consolidating my dockers and file storage to one place. Now I want MORE! Any thoughts on this