Announcement

Collapse
No announcement yet.

Zoneminder Ubuntu Server Installation with ZMXAP to use with HS MCSXP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    Wooow! I've been looking into ZoneMinder for a while. I have it running on my VMware box, but haven't really configured, mainly because I've been lacking some good tutorials to set it up right!

    WHY HAVEN'T I SEEN THIS BEFORE?
    This is great!
    HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
    Running on Windows 10 (64) virtualized
    on ESXi (Fujitsu Primergy TX150 S8).
    WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

    Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

    Comment


      #77
      Yeah; its really more plug n play to install Zoneminder than ever before.

      The HD IP stuff / issues came up when adding more and more cams.

      It does work a bit harder these days than earlier with just the analog cams.

      This is one of many on the Zoneminder Wiki: (Easy Peasy)

      Ubuntu Server 12.04 64-bit with Zoneminder 1.27 the easy way

      Prerequisites
      Install Ubuntu 12.04
      Install Apache2, PHP, MySQL, OpenSSH Server

      Prepare for Install

      Upgrade your currently installed packages

      $ sudo apt-get update
      $ sudo apt-get upgrade

      Optional: Set static IP address

      $ nano /etc/network/interfaces

      Make changes similar to this:

      auto eth0
      iface eth0 inet static
      address 192.168.1.10
      netmask 255.255.255.0
      gateway 192.168.1.1
      dns-nameservers 192.168.1.1

      Note: ZoneMinder expects to contact MySQL on a Unix socket located at /var/run/mysqld/mysqld.sock

      Install

      The high-level procedure is as follows:

      Reboot server
      Add PPA repository for ZoneMinder
      Install ZoneMinder
      Tell Apache to serve ZM's website
      Install Cambozola
      Setup NTP to ensure computer's clock is accurate
      Optional: Add SSL Security
      Reboot apache (or server)

      Install PPA Repository for Zoneminder 1.26.5-1

      apt-get install python-software-properties
      add-apt-repository ppa:iconnor/zoneminder
      apt-get update

      Install Zoneminder, Minor Patch

      apt-get install zoneminder

      We want a small delay on zoneminder's startup time, to allow MySQL to start before Zoneminder

      nano /etc/init.d/zoneminder

      Add below: start() {

      sleep 15

      should look like:

      start() {
      sleep 15
      echo -n "Starting $prog: "

      Optional: Install H.264

      apt-get install x264

      Link Apache to Zoneminder

      ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
      /etc/init.d/apache2 force-reload
      adduser www-data video

      Install Cambozola

      cd /usr/src && wget http://www.andywilcock.com/code/camb...-latest.tar.gz
      tar -xzvf cambozola-latest.tar.gz

      replace 935 with cambozola version downloaded

      cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder

      Optional: Add SSL to Apache2

      Create a self-signed certificate:

      make-ssl-cert generate-default-snakeoil --force-overwrite

      It creates the following files:

      /etc/ssl/private/ssl-cert-snakeoil.key
      /etc/ssl/certs/ssl-cert-snakeoil.pem

      Activate Apache SSL module:

      a2enmod ssl

      Activate Apache default ssl virtual host:

      a2ensite default-ssl

      Restart Apache:

      service apache2 restart

      NTP Daily Sync

      nano /etc/cron.daily/ntpdate

      Copy the following into nano

      !/bin/sh ntpdate ntp.ubuntu.com

      Ctrl+o Enter to save

      CTRL+x to exit

      chmod 755 /etc/cron.daily/ntpdate
      Ubuntu Server 12.04 64-bit with Zoneminder 1.27 the easy way
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        #78
        Rebuilt the two ZM boxes now to running Ubuntu 14.04 64 bit. One box is primarily HD IP cams and the other is using the 8 port analog capture card.

        I really like Ubuntu 14.04. It seems to run a bit faster than Ubuntu 12.10 64 bit. Maybe its me though.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #79
          3rd of August, 2014

          Ubuntu Server 14.04 64-bit with Zoneminder 1.27 the easy way

          I have been running using Zoneminder 1.26.5 now for a while on Ubuntu 14.04. (slowly updating all of the Ubuntu 12.XX boxes to Ubuntu 14.XX)

          Decided to update Zoneminder to most current version which looks to be Zoneminder 1.27.1

          I have separated to two Zoneminder boxes; one remains analog with an 8 port capture card and the other one is just connecting to the IP cameras.

          Easy peasy

          apt-get install python-software-properties
          add-apt-repository ppa:iconnor/zoneminder-master
          apt-get update
          apt-get install zoneminder
          Personally saw a couple of issues with the update to Zoneminder 1.27.1. Easy fix.

          1 - In the Zoneminder version 1.26.5 there was a fix put in.

          Add delay to allow MySQL to start before Zoneminder

          Code:
          nano /etc/init.d/zoneminder
          Add above "zmfix -a" sleep 15
          You will see something about not finding zmfix. I just commented out the "zmfix" piece. (you can remove it too).

          Code:
          prog=ZoneMinder
          ZM_PATH_BIN="/usr/bin"
          command="$ZM_PATH_BIN/zmpkg.pl"
          
          start() {
              sleep 15
                  echo -n "Starting $prog: "
          [B][I]#    zmfix -a[/I][/B]
                  $command start
                  RETVAL=$?
                  [ $RETVAL = 0 ] && echo success
                  [ $RETVAL != 0 ] && echo failure
          2 - The next error was sort of a leftover error that I saw originally one one of the two machines when using sudo and stopping and starting the apache2 service.

          Code:
          pete@blahblah:~$ sudo su
          root@blahblah:/home/pete# service apache2 stop
           * Stopping web server apache2                                                   *
          root@blahblah:/home/pete# service apache2 start
           * Starting web server apache2  [I]AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message[/I]
           *
          The fix to this error message is:

          1 - Add ServerName localhost as the last line in /etc/apache2/apache2.conf file.
          2 - Edit a file named /etc/apache2/conf-available/servername.conf and add the string ServerName localhost inside and save it. Create a soft link under /etc/apache2/conf-enabled as follows
          ln -s /etc/apache2/conf-available/servername.conf
          3 - restart the server.
          Attached Files
          Last edited by Pete; August 4, 2014, 11:38 AM.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            #80
            8th of June, 2015

            X-10 configuration not working ZM V1.28.1

            Fixed with new script file.

            Zoneminder updates are here.
            Last edited by Pete; June 9, 2015, 07:17 AM.
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              #81
              11th of August, 2015

              Ubuntu Server 14.04 64-bit with Zoneminder 1.28.0 the easy way


              If you install from CD install Ubuntu Server, OpenSSH Server, and LAMP Server (LAMP installs Apache2, PHP, and MySQL server)

              If you use the minimum ISO CD install Basic Server, OpenSSH Server, and LAMP Server (LAMP installs Apache2, PHP, and MySQL server)

              Log in then become root:

              sudo su

              apt-get update
              apt-get upgrade
              apt-get dist-upgrade


              Optional: Set static IP address

              nano /etc/network/interfaces

              Make changes similar to this:

              auto eth0
              iface eth0 inet static
              address 192.168.1.10
              netmask 255.255.255.0
              gateway 192.168.1.1
              dns-nameservers 192.168.1.1


              Reboot server

              Log in and become root

              sudo su

              Suggested changes to MySQL

              For most of you Zoneminder will run just fine with the default MySQL settings. There are a couple of settings that may, in time, provide beneficial especially if you have a number of cameras and many events with a lot of files. One setting I recommend is the "innodb_file_per_table" This will be a default setting in MySQL 5.6 but should be added in MySQL 5.5 which comes with Ubuntu 14.04.

              To add "innodb_file_per_table" edit the my.cnf file:

              nano /etc/mysql/my.cnf

              Under [mysqld] add

              innodb_file_per_table

              Ctrl+o Enter to save

              CTRL+x to exit

              Restart MySQL

              service mysql restart

              As you add cameras to your system and the events build up you may need to increase the size of the "innodb_buffer_pool_size" when this setting runs out of space your system may act like it is out of disk space. One way to check this is to install mysqltuner and run it from the command line. When the results are shown you can edit the my.cnf file and change the buffer size. The default "innodb_buffer_pool_size" is 128M. In the ZM forum I have found a recommended setting of 256M. My production server required a setting greater than 410M. Install and run mysqltuner to determine the recommended size for your system. Be sure to restart MySQL after making changes.

              CGI is not enabled in Ubuntu 14.04 by default. Enable it this way:

              a2enmod cgi

              Restart Apache

              /etc/init.d/apache2 force-reload

              or

              service apache2 restart

              Add Repository

              apt-get install software-properties-common python-software-properties
              add-apt-repository ppa:iconnor/zoneminder
              apt-get update


              Install Zoneminder

              apt-get install zoneminder

              Note: a couple of package configurations will open up. These are to configure Nullmailer. You can just OK them and come back to configure them later.

              You will need to install "extra" VLC components torun Libvlc (verified 20OCT14)

              apt-get install libvlc-dev libvlccore-dev vlc

              Add delay to allow MySQL to start before Zoneminder

              nano /etc/init.d/zoneminder

              Add sleep 15 as shown:

              start() {
              sleep 15
              echo -n "Starting $prog: "


              Ctrl+o Enter to save

              CTRL+x to exit

              Create a symbolic link to zoneminder's apache config file. Since Ubuntu includes tools to enable/disable conf files, do so the 'Ubuntu way'

              ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf

              Now, enable the zoneminder apache config file:

              a2enconf zoneminder

              Create a new user

              adduser www-data video


              Restart Apache

              /etc/init.d/apache2 force-reload

              or

              service apache2 restart

              Install Cambozola (needed if you use Internet Explorer)

              cd /usr/src && wget hxxp://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz

              tar -xzvf cambozola-latest.tar.gz

              replace 935 in the next line with cambozola version downloaded

              cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder


              You should now be able to access the web server using https://servername

              NTP Daily Sync

              nano /etc/cron.daily/ntpdate

              Copy the following into nano

              !/bin/sh
              ntpdate ntp.ubuntu.com


              Ctrl+o Enter to save

              CTRL+x to exit

              chmod 755 /etc/cron.daily/ntpdate

              Open Zoneminder in web browser

              hxxp://serverip/zm

              Click Options

              Uncheck: Check with zoneminder.com for updated versions (?) click Save

              Click Images tab

              check Is the (optional) cambozola java streaming client installed (?) Click Save

              Addendum - Controlling Event triggers via Homeseer 3

              Note this has evolved some from xAP to X10 to now this...

              Here over the years have utilized video analytics and analog sensors for triggers.

              Zoneminder comes with a Perl script, zmtrigger.pl, located in /usr/bin on my Ubuntu server. Zmtrigger enables external applications / devices to trigger recording events in ZoneMinder. Zmtrigger as currently written allows applications / devices to interface over a TCP socket, Unix pipe, file system, or serial port.

              The command syntax is as follows:
              monitor#|action|priority|Cause|text|showtext where
              - monitor is the number of the zoneminder
              - action is “on” to turn on recording, “off” to turn off recording, “on+5″ to record for 5 seconds
              - priority is a number between 0 and 255 (one unsigned byte). This is totally arbitrary and can be used to rank events importance in the event viewer
              - Cause is a text field you can use for any purpose. Since it is delimited with the pipe character it can use spaces with being escaped with quotes.
              - text is a freeform notes field you can put any notes in. You can access it from the event viewer by clicking on the Cause field and you can add and save notes too
              - finaltext is supposed to overlay text on the image.

              1 - Shut off video analytics by commenting out the following two lines in /usr/bin/zmtrigger.pl - NOTE: if you update Zoneminder these changes will get written over.

              nano /usr/bin/zmtrigger.pl

              # ============================================================ ==============
              #
              # Channel/Connection Modules
              #
              # ============================================================ ==============

              use lib '/usr/share/perl/5.18.2'; # Include custom perl install path
              use ZoneMinder;
              use ZoneMinder::Trigger::Channel::Inet;
              use ZoneMinder::Trigger::Channel::Unix;
              # use ZoneMinder::Trigger::Channel::Serial;
              # use ZoneMinder::Trigger::Connection;


              2 - Go to the web page, open options, on the first page, toward the bottom, there is a entry ‘opt_triggers’, tick the box, save the settings, restart zm from the web page.

              3 - While you are in the web page area, open the config for the monitor you want to add the text to the end of and add %Q at the end of timestamp string in your monitor settings, or where you want the text to appear.

              4 - Change the monitor function to NoDect?, MoCord? or MoDect?.

              5 - create a new php script and call it myhs3.php

              $cfgServer = "localhost";
              $cfgPort = 6802;
              $cfgTimeOut = 10;

              if ($extTrigger) {
              // open a socket
              if(!$cfgTimeOut) {
              // without timeout
              @$conn_handle = fsockopen($cfgServer, $cfgPort);
              }else{
              // with timeout
              @$conn_handle = fsockopen($cfgServer, $cfgPort, &$errno, &$errstr, $cfgTimeOut);
              }
              if(!$conn_handle) {
              // echo "Connexion failed ";
              exit();
              }else{
              // echo "Connected ";
              fputs($conn_handle, $extTrigger);
              }
              // close connexion
              fclose($conn_handle);
              }


              6 - You can then trigger an event from the URL like this:

              hxxp://myserver/zm/myscript.php?extTrigger=[id]![action]![score]![cause]![text]![showtext]

              change xx to tt and ! to...and ( to
              Last edited by Pete; August 11, 2015, 07:48 AM.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

              Comment


                #82
                24th February, 2016

                Zoneminder is currently at API version 1.29. Many new features have been added.

                Read here on the update.

                Guides for Ubuntu Serverhttps://wiki.zoneminder.com/Ubuntu#G..._Ubuntu_Server

                New application GUI for Zoneminder called zmNinja has been released.

                Works on everything (literally).

                Here is a video demo.



                What is zmNinja?

                zmNinja is an awesome home security app that works along with ZoneMinder. Various studies have shown its approximately 73% better than warm butter on toast. zmNinja is not backed by a big corporation. It's just one dude, doing things at 2AM in the morning and then at 10PM at night. That's probably why it rocks

                - Multi-OS

                zmNinja works on Android as well as iOS. Well, don't just stop there. It also works on Linux, Windows and Mac desktops. And by 'works' I mean 'works gorgeously'.


                - Awesome features

                zmNinja has awesome features like a fluid montage, event montage and quick scrub just to name a few. Best of all, I'm dog-fooding my app every day and night so I keep adding cool stuff.


                - Mobile-first

                zmNinja is a mobile first app. It uses the powerful ionic framework as a base and offers native like performance. Folks who have been trying to use ZoneMinder on their mobile phones without my app have had manic bouts of ecstacy after discover zmNinja


                - Features
                • Multiple ZM server support
                • Live View, Event View
                • PTZ support
                • Awesome quick scrub mode for events
                • Push Notifications! (needs event server)
                • Timeline view
                • View past events in a montage - think connected events!
                • Quick pullup sheet on events
                • Fully responsive for tablets and phones
                • Native like performance, built using ionic
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                Comment


                  #83
                  Monday, May 31, 2016 Update to Zoneminder

                  The following stuff is dedicated to Marty Cox (AKA Nightwalker - RIP - May 13, 2015)

                  Marty wrote a script to compile event videos from Zoneminder in 2011.

                  Attached is a new Zoneminder video script. This does one camera events in a 24 hour period. It is adjustable.

                  Code:
                  #!/bin/sh
                  
                  # Change to suit your needs
                  # Author unknown
                  # dedicated to Marty Cox (AKA Nightwalker)
                  # mods - Pete
                  
                  ###  MUST RUN AS ROOT #######
                  
                  # If you do not want to delete events after video is made
                  # Comment out lines 'xargs -I{} sh -c 'rm {}' < $TMPDIR/$TMPFILE' and 'find $EVENTSDIR/$MONID -empty -exec rm -r {} \;'
                  
                  # Monitor ID - MUST BE NUMERICAL ID OF MONITOR WILL NOT FOLLOW SYMLINK
                  MONID=2
                  
                  # TMP DIR - change if you have to
                  TMPDIR=/tmp
                  
                  # Events dir (look where you specified ZM to store events eg:/var/cache/zoneminder/events)
                  EVENTSDIR=/var/cache/zoneminder/events
                  
                  # Output dir
                  OUTDIR=/home/$USER/Videos/Events/$MONID/$(TZ=EST26EDT date +%F)
                  
                  # What user/group we save videos as
                  USER=
                  GROUP=
                  
                  #### DO NOT MODIFY BELOW #######
                  # Create Output dir if it doesnt exist
                  mkdir $OUTDIR
                  
                  # TMP file name
                  TMPFILE=$MONID.txt
                  
                  # DON'T CHANGE
                  EVENTS=$EVENTSDIR/$MONID
                  
                  # Output filename
                  OUTFILE=$MONID-$(TZ=EST26EDT date +%F).avi
                  
                  # Dont remove dir just make so we dont delete running jobs
                  # rm -vfr $TMPDIR
                  mkdir $TMPDIR
                  
                  # Find each jpg modified in 24hrs and sort numerically (eg 100 before 10000)
                  find $EVENTS -type f -name *capture.jpg -mmin -$((60*24)) -printf "%C@ %p\n" | sort -M | awk '{print $2;}' > $TMPDIR/$TMPFILE
                  
                  # Mencoder time... fps = Frames per second! NOTE my cameras are captured at 15fps so 60 means each minute lasts only ~5 seconds!!!
                  /usr/bin/mencoder "mf://@$TMPDIR/$TMPFILE" -mf fps=60 -o $OUTDIR/$OUTFILE -ovc lavc -lavcopts vcodec=mpeg4:threads=2
                  
                  # Clean up jpgs of what we just made so zmaudit.pl will remove events
                  # xargs -I{} sh -c 'rm {}' < $TMPDIR/$TMPFILE
                  
                  # Find all empty files and dir and remove them (More clean up)
                  # find $EVENTSDIR/$MONID -empty -exec rm -r {} \;
                  
                  # Change permission of outfile to user
                  chown -R $USER:$GROUP $OUTDIR
                  Last edited by Pete; May 31, 2016, 06:22 AM.
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                  HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                  HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                  HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                  Comment


                    #84
                    Pete this is fantastic. I didn't see it before I installed Zoneminder. You linked me to a set of Zoneminder instructions at the time. The timing is perfect now though. I am going to build a new server with lots of memory to run some VMs on. Zoneminder will be one. A Windows installation to support my Linux HomeSeer will be another. The components are sitting in a Fry's bag behind me and I thought I would read the forum before starting to assemble the PC.

                    It is amazing what you can get for little $ if you build yourself and are willing to use not quite the latest thing. 6 core 3.5-4.1 GHz unlocked AMD processor. 16 GB Patriot Viper DDR3 1600 MHz memory. 120 GB Sandisk SSD and 1 TB Western Digital surveillance model hard drive. With case and peripherals I won't spend $300.

                    My condolences for your friend.

                    Comment


                      #85
                      Been playing a bit with an html page which displays mp4/ogg files and it is working fine right now with my timelapse stuff. The above script writes one file for one camera only one day's worth of events. I think too this may work with Homeseer touch.

                      The better CPU/more memory lets you do much more with Zoneminder and faster. That said it'll do the doo of multiple streaming captures with little overhead. It's always been like this.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                      Comment


                        #86
                        Zoneminder is running fine on an old PC I had. Slow IBM Core 2 Duo. 4 GB DDR 2. I only have four cameras on it but streaming them all HD at 25+ frames/second only runs the CPU at 10-25% and memory at 25%. It ran ine with 2 GB RAM but I had to add 2 more for Windows. The same machine dual boots into Windows 7 and bogged down completely running pretty much anything. With iSpy running and 4 GB it runs 20-50% CPU and 50% memory. HSTouch Designer still doesn't run for more than a minute or two on it. It finally installed Kate and Paul after I added the memory. Between Kate and a plugin or two I would like to run that aren't available for Linux I will need some Windows install running continuously. The only other Windows in the house is my wife's Windows 10 and I treat that machine like it has cooties. She has never seen a pop up she wouldn't click on.

                        I'm setting the virtual machine host up so I don't have to run 3 PCs (HomeSeer, Windows, Zoneminder) continuously.

                        Comment


                          #87
                          Zoneminder main box is an Intel Core 2 Duo with 4Gb of Ram. (Foxconn MB). #2 is similar but an HP AMD.

                          HSTouch Designer still doesn't run for more than a minute or two on it.

                          Here running it on old Windows 2003 standard. VB-RDP with no issues.

                          Utilize mostly Ubuntu to get to the box lately. Yup Neospeech 8/16 voice fonts sound better to me than any of the others. AT&T voice fonts were OK but a bit on the heavy side.

                          Here with my wife's PC I just created a share on the NAS and told her not to save anything on her PC. It is imaged and only takes a few minutes to restore it. That said she rarely utilizes it.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                          Comment


                            #88
                            - Update 9th of July, 2016

                            Here currently running Zoneminder 1.29 on Ubuntu 16.04 64 bit server. It is doing well. Using two (2) other Zoneminder servers in test modes (one using AMD and another using an Intel server). Might update AMD to Ubuntu 15.XX and Zoneminder 1.30 RC2.

                            Steps used are here:

                            Ubuntu Server 16.04 64-bit with Zoneminder 1.29.0 the easy way

                            It is now officially in the current Ubuntu repositories.

                            Zoneminder 1.30 is in pre-release and looks to have some major updates.

                            New Features relating to V.1.30 RC2

                            Onvif discovery is now enabled by default. This features increases build time, but the benefit is auto-discovery of any Onvif compliant camera. Please note that this feature is still experimental. It has not been tested in a large environment or with a large variety of cameras. Using this tool is largely self explanatory, but if you are looking for documentation it can be found on the @altaroca ’s blog site. As time allows, we will bring the documentation over to our readthedocs site. Volunteers to do this work are welcome.

                            ZoneMinder now has a telemetry deamon which collects information about your machine. This was done to learn how our user base uses ZoneMinder, the most common system size, choice of distro, cpu, memory, and a couple of other things. This will help us focus our efforts on what features get used the most. Since this was written in Perl, you can easily see for yourself what information is being sent. Note that this feature defaults to ON. If this is not what you want, then you can turn it off under Options. In a future release, we plan to include an install wizard, which will prompt the user about this feature.

                            Have you ever wished for the motion detection zones to be live, rather than a static image? Well they are now! Creating or modifying zones works exactly the same as before, but with the live stream running in the background. If you need to freeze the stream, there is a Pause button at the bottom of the window to do just that.

                            Interested in testing....(not production) give the following a try.

                            My steps to upgrade from A WORKING 1.29 to 1.30-rc1 on ubuntu 15:

                            Note: when you build the package it will say 1.29. Disregard that. it will actually be 1.30. Note that 1.30 is in 'pre-release' state, so doing this for a production server is not recommended (though I did exactly that, but thats because I know I can fix stuff if things break, and it did not, plus I made a snapshot of my VM incase I had to re-do - so plan for things going wrong if you are working on bleeding-edge releases)


                            Code:
                            sudo systemctl stop zoneminder.service
                            wget https://raw.githubusercontent.com/ZoneMinder/ZoneMinder/master/utils/do_debian_package.sh
                            chmod a+x do_debian_package.sh
                            ./do_debian_package.sh `lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'`  `date +%Y%m%d`01 local v1.30.0-rc1
                            sudo gdebi zoneminder_1.29.0-wily-2016060401_amd64.deb
                            sudo chown www-data /etc/zm/zm.conf
                            sudo chown -R www-data /usr/share/zoneminder/www/api/
                            sudo systemctl start zoneminder.service
                            - Pete

                            Auto mator
                            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                            Comment


                              #89
                              10th of May, 2017

                              Testing Zoneminder on a new computer. Runs well. I am impressed.

                              Kernel and CPU Linux 4.4.0-77-generic on x86_64
                              Processor information Intel(R) Xeon(R) CPU E5520 @ 2.27GHz, 16 cores
                              System uptime 2 days, 8 hours, 43 minutes
                              Running processes 249
                              CPU load averages 0.26 (1 min) 0.59 (5 mins) 0.56 (15 mins)
                              Real memory 30.67 GB total / 1.50 GB used
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                              Comment


                                #90
                                Integration of Zoneminder with W800 wireless X10.

                                Over the years here have documented the use of X10 with Homeseer. Trying an experiment here in Linux using wireless X10 PIRs for triggering motion / recordings in Zoneminder. Historically X10 triggers worked well.

                                This would provide a low cost outdoor motion sensor trigger for Zoneminder.

                                Searching this morning have found some old python wireless scripts written for use.

                                The easy way of integration here would be to utilize Homeseer to receive the wireless commands and integrate this with the CM11A which would send commands over to the CM11A connected to the Zoneminder box.

                                Faster though would be just integrate wireless X10 to Zoneminder for triggers.
                                - Pete

                                Auto mator
                                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                                Comment

                                Working...
                                X