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

    Zoneminder Ubuntu Server Installation with ZMXAP to use with HS MCSXP

    Updates -

    06/01/2011 - Added the pieces for the Ubuntu 11.04 update / patches - now verbiage includes both Ubuntu 10.X and 11.04 builds.
    08/15/2011 - Added Webminstats for Zoneminder - Thank-you Homeseer user Nightcrawler (Alco)!!
    12/07/2011 - Added 24 hour video alarm script - Thank-you Homeseer user Nightcrawler (Alco)!!
    12/30/2011 - Updated "mootools" adjustments and fixes verbiage (sym link removal and updates). Single versus columnar montage view issue addressed.
    01/01/2012 - Updated attached starup text labeled zm2 (01012012).txt uncommenting two lines. Not creating a zm.pid issue addressed.
    01/12/2012 - Zoneminder Memory.pm bug in 1.24.4 - Thank-you Homeseer user Wollo!
    02/03/2012 - Updated; such that verbiage includes putting in a SQL password when requested.
    02/07/2012 - "chown www-data var/run/zm", should be "chown www-data /var/run/zm"
    10/01/2012 - Zoneminder X-10 Control added
    08/01/2013 - Current running still with 8 port capture card and ~ 8-12 IP SD and HD connections.
    08/18/2013 - changed the OP post to include X10. This will allow HS events recordings via XAP or X10.
    04/18/2014 - Upgrading Zoneminder via PPA
    DVR/NVR control and alarm / event playback functionality into HSTouch.

    08/01/2013 - Cameras used today -

    1 - Optex combo outdoor PIR and analog camera model WonderTrack DC-3000CP - modded with 3.6mm newer camera boards - multiple
    2 - generic 3.6mm color analog 700TVL multiple cams
    3 - Panasonic BL-C10A IP SD
    4 - Foscam FI8918W IP SD
    5 - Trendnet TV-IP110W IP SD
    6 - Schlage WCE100 / NorthQ IP SD
    7 - Ubiquiti Aircam IP HD - multiple
    8 - Grandstream IP GXV3672-HD
    9 - DIY Grandstream/Speco IP HD Dome 3.6mm - multiple

    03/13/2014

    DST time changes fix on the Grandstream and Aircam

    Noticed that the default date change (spring ahead) on the Grandstream cameras is incorrect.

    So if you change it as so; it will automatically change.

    You can change it on the Ubiquti Aircam such that it automatically changes by editing the /etc/TZ file to read the same by SSHing to the Aircam and saving TZ change. (there is no menu option for this)

    This is not documented and Ubiquiti support answer is not to use the clock on the Aircam as a reference but rather the Ubiquti DVR software.

    Tangent note: Noticed the same issue with the Ubiquiti AP. (No GUI item for autochanging time and a manual TZ thing needs to be done).

    You can't really see the local time (just GMT on main page) in any of the pages; you have to look at the logs for the time.

    MTZ = Mountain Time Zone or same as MST/MDT

    Auto time zone change format for self defined timezone entry under system tab.
    Look here for your timezone. http://famschmid.net/timezones.html
    Look here for your timezone date change: http://www.timeandda...e/dst/2014.html

    Example: CST+6CDT+5,M3.1.0,M11.1.0

    CST = Central Standard Time + 6 (GMT)
    CDT = Central Daylight Time + 5 (GMT)
    M3.1.0 = 3rd Month, 1st Sunday
    M11.1.0= 11th Month, 1st Sunday

    Note:

    I've been changing the DIY a bit. I am currently running Zoneminder 1.24.2 on Ubuntu 11.04 server. Its been pretty stable.

    I am also testing Zoneminder 1.24.4 on Ubuntu 11.04 32bit Server and may be testing it later on Ubuntu 11.04 64bit server.

    Meanwhile the as written DIY works well with Ubuntu 11.04 or 10.10 server as written.

    I've built the HW "production" version and built/rebuilt a VM version. The "production" ZM is already running. with an 8-port DVR card.

    The two currently tested machines (aside from the VM) have been a Shuttle Atom D510 with 2 Gb of memory and a Zotac core duo with 4Gb of memory.

    Noticed that the install is totally different when doing it as a VM versus doing it on the HW.

    The DVR card setup is the same and typically ZM will recognize what you install maybe 70% of the time; the other 30% you have to do some manual "adjustments".



    The most current version of Ubuntu Server 11.04 can be downloaded here:

    http://www.ubuntu.com/download/server/download

    With this installation of Ubuntu and the only option you will be installing from the installation CD with be OpenSSH.

    During the installation you will be asked to create a login name and password. Do so.

    After you login the first time do the following to get root access:

    sudo passwd root
    Reboot and log back in as root. I would recommend that you set up a static IP on your new server; we'll do this after we install webmin.

    For now type "ifconfig eth0" at the command line prompt.

    You will see something like the following:

    eth0 Link encap:Ethernet HWaddr 00:0F:20:CF:8B:42
    inet addr:217.149.127.10 Bcast:217.149.127.63 Mask:255.255.255.192
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2472694671 errors:1 dropped:0 overruns:0 frame:0
    TX packets:44641779 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1761467179 (1679.8 Mb) TX bytes:2870928587 (2737.9 Mb)
    Interrupt:28
    The "inet addr:XXX" is your IP address; write it down for the next step.

    Validate the install of OpenSSH with a program called Putty. Install it on a PC you typically use on your home network.

    You can download it here:

    http://www.chiark.greenend.org.uk/~s.../download.html

    Using Putty log in to your ZM box via SSH from the PC you installed Putty on. Test it once by logging in as root and typing "reboot" and log in a second time as root and type "halt" - your ZM box should shut down. Power the ZM box back up.

    Another useful application you can install on your PC is WinSCP. You can download it here:

    http://winscp.net/eng/docs/faq

    Give it a test run by configuring the IP of your ZM server and login via SSH using it.

    Install Webmin on your Ubuntu Server

    Webmin allows you to remotely manage your ZM box via a nice web gui.

    Read about using it here:

    http://www.webmin.com/

    Log in to your new ZM via Putty remotely. Start up WinSCP on the same computer.

    With WinSCP edit "/etc/apt/sources.list" and put the following at the bottom of the list you see. If you don't want to use WinSCP use Nano at the command prompt.

    Code:
    deb http://download.webmin.com/download/repository sarge contrib
    deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
    You should also fetch and install authors GPG key with which the repository is signed, with the commands via your putty login :

    Code:
    cd /root
    wget http://www.webmin.com/jcameron-key.asc
    apt-key add jcameron-key.asc
    Install Webmin with the following commands:

    apt-get update
    apt-get install webmin
    Takes about 15 minutes or so to install depending on your ISP connection. All dependencies should be resolved automatically.

    After installation is complete reboot your ZM box. Webmin should start on its own. Check to make sure its running via its browser interface by logging into it via your favorite web browser.

    Code:
    https://www.xxx.yyy.zzz:10000
    Log in via root and create yourself a user ID. Set yourself up with full access on Webmin. Log out and log back in as the user you just created.

    Go to the Networking tab on the left hand side, Network Configuration and Network Interfaces. Configure your static IP address and set it up to be activated on boot.
    Go to the Networking tab on the left hand side, Network Configuration and Routing and Gateways. Configure your Gateway address.
    Go to the Networking tab on the left hand side, Network Configuration and Hostname and DNS Client Configure your Hostname and DNS Client.

    Read the verbiage under the tabs in the Network Configuration section. Log out and log back into your ZM box with the new static IP address via Webmin.

    You can also edit the network configuration files manually with nano at a command prompt on your ZM console. Read here to do that.

    http://www.yolinux.com/TUTORIALS/Lin...ml#CONFIGFILES


    Log out of Webmin. Open an SSH session with Putty to your Zoneminder box.

    Checking Time

    Type "date" at a prompt while logged in via SSH. You should have both proper date and time.

    Installation of Zoneminder

    Someone wrote a script to install Zoneminder which works pretty well.

    If you are installing on a server with a generic 8-port DVR Kodicom 8800 or "similiar" then do the following. (Google for picture of the card).

    ============================================================ ==========================================
    Generic 8 Port video card installation

    You can skip this step if you are just doing IP Cameras.

    Install bttv driver

    Reference:

    http://www.linuxtv.org/wiki/index.ph...ce_Information

    nano /etc/modprobe.d/bttv.conf
    copy and paste the following:
    options i2c-algo-bit bit_test=1
    options bttv gbuffers=32 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0
    Test DVR card by rebooting and typing
    ls /dev/video*
    If it works you will see:
    /dev/video0 /dev/video2 /dev/video4 /dev/video6 /dev/video1 /dev/video3 /dev/video5 /dev/video7
    ============================================================ ==========================================

    Running the ZM installation script

    Open attached pada.sh.txt and clip an paste it with nano via command line or with WinSCP. (whatever you feel more comfortable with).

    cd /tmp
    nano pada.sh
    Make it executable.

    chmod 744 pada.sh
    Install Zoneminder:

    ./pada.sh
    It takes a bit to install it; so take a break and walk away for a time.
    BTW - one of the most common issues I've seen with ZM was relating to kernal memory configuration. This script takes care of it.

    To see what was automatically configured for kernel.shmmax and kernel.shmmall; check the output of the last part of the script. Here is mine for the VM.

    Enter a password for SQL when requested. (any password will do)

    Setting up bc (1.06.95-2) ...
    -- Total memory = 520691712 B = 496 MB
    -- Page size = 4096 B
    -- Current kernel.shmmax = 33554432 B = 32 MB
    -- Current kernel.shmall = 2097152 pages
    -- Recommended: kernel.shmmax = 468622540 B = 446 MB
    -- Recommended: kernel.shmmall = 127122 pages
    -- Adding: kernel.shmmax to /etc/sysctl.conf
    -- Adding: kernel.shmall to /etc/sysctl.conf
    -- Using: new sysctl values
    kernel.shmmax = 468622540
    kernel.shmall = 127122
    --- Done.
    root@ubuntu:/tmp#
    Now lets create the following user:

    adduser www-data video
    root@ubuntu:/tmp# adduser www-data video
    Adding user `www-data' to group `video' ...
    Adding user www-data to group video
    Done.
    root@ubuntu:/tmp#
    reboot box

    reboot
    Login onto Zoneminder by going to:

    Code:
    [url]http://www.xxx.yyy.zzz/zm[/url]
    I've attached a browser image of what ZM looks like not configured and another one fully populated.

    Setup some basics on your Zoneminder Server

    We need to make a couple of changes to ZM via the Options menu / Path tab.

    Check USE_DEEP_STORAGE. Click Save button.

    Got to Options / Images tab. Default JPEG_FILE_QUALITY is 70 , change to 100.

    Delete everything at FFMPEG_OUTPUT_OPTIONS and replace with:

    -f mp4 -vcodec libx264 -vpre default -an -threads 0
    Delete everything at FFMPEG_FORMATS and replace with:

    mp4 mpg mpeg wmv asf avi* mov swf 3gp**
    When you are done; hit the save key.

    Stop Zoneminder hitting the "running" option and restart it. (you can also do this via command line by typing "ZM stop".

    Zoneminder Tweaks

    Tweak 1 - It appears that Zoneminder is starting too fast so we will put a short delay in the startup script of Zoneminder using Webmin.

    Easiest way to do this is with Webmin. Just login to Webmin, go to the system tab, Bootup and Shutdown tab. You'll see Zoneminder on the bottom of the list and it should show that it gets started with the server. Double click on it and you will see the "Action Script". Right before the line that states "zmfix -a" insert a line.

    sleep 15
    Save and reboot ZM box

    Tweak 2 - This tweak is relating to an entity called
    zm.pid
    . Historically a directory was created in the
    /var/run/zm
    which would store this PID. For some reason the directory isn't being created (might be a rights/owner/makefile/perl thing) and may be a bug in current version of ZM.

    So basically what we need to do is create the directory and then check to make sure that the
    zm.pid
    exists in said directory. This tweak is necessary for the function of ZMXAP.

    o FEATURE � A
    zm.pid
    file is now placed in
    /var/run/zm
    when ZoneMinder is running, and removed when stopped. This can be used by other elements to check the status of ZoneMinder. The pid in the file is that of the master zmdc.pl server instance.
    Here:

    http://www.zoneminder.com/index.php?...=10&tt_news=49

    Its an easy add to the startup of ZM file and you can do it via command line (nano), Webmin or WinSCP. Once startup is edited reboot and check to make sure its there.

    Before modifying startup script; lets look at what I am writing about.

    Check the /var/run directory. If you have a zm directory there you are ok. If not; stop ZM. "mkdir /var/run/zm", "chown www-data /var/run/zm", "/etc/init.d/zm restart". "-l /var/run/zm"
    Here you will then see the zm.pid under zm. Shut down ZM and reboot computer. You will see it disappear.

    Used the attached zm startup file. Note that the whole start up file is attached. Its easier to use winSCP and look at the /etc/init.d directory. You'll see a ZM and a Zoneminder file. The ZM is just a symbolic link. Edit the zoneminder file with a clip and paste. Test it by stopping ZM and restarting the box. If you look in the /var/run/zm directory you'll see the PID show up when running ZM.

    Tweak 4 - Disabling Nullmailer

    If you are not using Nullmailer and you do not want to see the Nullmailer logging entries; disable it. The easiest way to do this is with Webmin, System, Bootup and Shutdown, Service Name, Nullmailer, "Start at boot time?" , No.


    You will now have a working ZM box base.

    Installation of ZMXAP for your Zoneminder Server

    Download most current version (.9) of ZMXAP from here: http://www.limings.net/xap/zmxap/

    Its recommended that you expand it here: /usr/local/zmxap. You can do this via command line or using WinSCP.

    For a bit configure the options in ZMXAP to give you some detail in the XAP logging (don't forget to set the option of no local hub).

    Read the rest of the wiki mentioned above to configure the rest of your ZM setup such that we can continue to the next step.

    Lets test it. Make sure that ZM is running. We are going to open two SSH sessions to ZM.

    In the first one lets run ZMXAP by typing
    /usr/local/zmxap/zmxap.pl -path=/usr/local/zmxap
    In the second SSH session type:
    tail -f /tmp/zmxap.log
    The second session will show you XAP traffic whether its sourced from your ZM box or on your network.

    On the same PC download XAP viewer and watch the traffic for a bit.

    You can download XAP viewer from here:

    http://www.xapautomation.org/index.php?title=xFx_Viewer

    With all of the above you should see ZM XAP traffic. Main and all cams.

    You have just validated the function of ZM XAP. Create a startup script such that it starts when you reboot your ZM box. Do this with Webmin.

    Just put the following line in a command and give it a name:
    /usr/local/zmxap/zmxap.pl -path=/usr/local/zmxap &
    Save it. Go back and look. You should see that Webmin automatically created a startup script for you.

    Reference:
    http://www.zoneminder.com/wiki/index.php/Zmxap

    Checking Video streams and IRQ's.

    Refer to attached PDF

    Zoneminder Mobile View

    I'm using W6.X MS Mobile with Opera as browser to the following link for the Mobile link for ZM.

    http://www.xxx.yyy.zzz/zm/index.php?skin=mobile

    Basically after initial setup your Zoneminder will be maintenance free. Never breaks. The install ISO will install an update application reminder. You have the choice of having it done automatically, just notifying you of the update or no notifications. These will show up on the main screen of Webmin. Just clicking on these update lines will guide you thru the update process. I am trying to keep the main post brief; but will get granular if requested. Depending on the section I can either add to this post or attach a PDF or JPG. Consider this a kind of live document/post.

    Zoneminder 1.24.2 ZM XAP wireless/wired IPCamera/analogue gremlins

    - ZMXAP will start to beacon non stop increasing CPU utilization thinking ZM is not running unless you add an ancillary from previous versions ZM PID in the start up of Zoneminder 1.24.2.
    - ZMXAP will start to beacon non stop increasing CPU utilization if for whatever reason the wireless IPCamera(s) becomes "disconnected" from Zoneminder 1.24.2.
    Proposed maybe fix will be to "relax" the timeouts in ZMXAP - maybe modifying the perl script - guessing right now


    Zoneminder 1.24.2 on Ubuntu 11.04 gremlin differences and Fixes

    Tweak 5 - MooTools

    - Mootools has been upgraded on the Ubuntu 11.04 such that the "ancillary" sym links do not work and causing an issue relating to the "Montage" view of Zoneminder. The multiple camera view just appears in one column only; the grid view doesn't work properly. I am not sure what else it causes. This is from the ancillary Mootools Version 1.2.4 to the newer Mootools Version 1.2.5

    A - remove the ancillary symbolic link:

    Code:
    user@zm# cd /usr/share/javascript/mootools
    user@zm# /usr/share/javascript/mootools#
    user@zm# rm mootools-more.js
    B- add the new symbolic link:

    # ln -s /usr/share/javascript/mootools/mootools-more-nc.js /usr/share/javascript/mootools/mootools-more.js
    ls -l
    will show you all of the symbolic links in the directory.

    C - Shut down ZM and Apache and reboot.

    root@ICS-ZM:~# service zm stop
    Stopping ZoneMinder: success

    root@ICS-ZM:~# service apache2 stop
    * Stopping web server apache2
    ... waiting [ OK ]

    Broadcast message from root@ICS-ZM
    (/dev/pts/0) at 14:23 ...

    root@ICS-ZM:~# reboot

    The system is going down for reboot NOW!
    Log back in and check your montage view.

    test the grid montage view in Zoneminder 1.24.2 to validate "fix"

    April 18, 2014 - Upgrading Zoneminder via PPA

    https://launchpad.net/~iconnor/+archive/zoneminder

    You can update your system with unsupported packages from this untrusted PPA by adding ppa:iconnor/zoneminder to your system's Software Sources.
    Code:
    sudo add-apt-repository ppa:iconnor/zoneminder
    sudo apt-get update
    This updated my stuff to Version 1.27 of Zoneminder
    Attached Files
    Last edited by Pete; April 18, 2014, 12:30 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

    #2
    Thanks Pete - My cams are all IP - Might be able to use the SX35 for this? Will it run on an Atom?

    Comment


      #3
      I've tested a Zoneminder 1.24.2 install with Ubuntu 10.00 and 11.04. Works great.

      Noticed that the web interface is much quicker than the old one. Setting up the IP cams in ZM allow you to utilize one IP for all of your IP cams; recording in vivo 24/7 plus only saving the "events". Doesn't utilize that much space as each event video is small. I've run my older ZM box on a 120Gb drive for many years.

      Doing the installation at this time is much easier than a few years ago where you had to almost hand configure a bunche of different pieces. Its more plug n play.
      Last edited by Pete; June 28, 2011, 11:59 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


        #4
        I've redone the docs such that the base will be posted with helper docs / pictures attached. The new ZM install I have is running well now. I tested the streaming letting it go by not entering caps and it'll stream the 10 video feeds at 25-30 FPS. Noticed also that the Foscam doesn't lock up with this new version of Zoneminder. I'm also running these feeds at 640X480. I am having one little issue with the XAP application and have modified the perl script to get it to run; but that's not idea. I don't foresee any issues running ZM for IP cams on an Atom based CPU setup or a VM. Utilizing Webmin and SSH the box runs nice.
        - 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


          #5
          Pete,
          I intend to give this a shot using the ShuttleXS35 - Let you know after the holidays how it went. Thanks

          Comment


            #6
            Which version of 1.24? I noticed you didn't include a link for it - It isn't included in the Ubuntu download is it? I will assume the newest which would be 1.24.2
            I am looking here http://www.zoneminder.com/downloads.html

            Comment


              #7
              Yes its version 1.24.2 on Ubuntu 10.10. You don't need to manually download anything. The downloads on the ZM server are to "cook" your own. This one is running on an "old" P4 D 775 at 2.66 and only 1.5Gb of memory.

              #!/bin/sh
              # ZoneMinder 1.24.2 installation script
              #
              # Copyright (C) 2010 Chris "Pada" Kistner
              #
              # This program is free software; you can redistribute it and/or
              # modify it under the terms of the GNU General Public License
              # as published by the Free Software Foundation; either version 2
              # of the License, or (at your option) any later version.
              BTW the Foscam is not locking up anymore. I just tested it for maximum FPS leaving the framerate blank and it hit about 26 FPS and didn't lock up running at 640X480. But only saw this one time as the next time it was much lower.

              The script attached does it all for you; it has the links to the newest Zoneminder; automatically writes it to your Ubuntu configuration and does a bit extra stuff. The Zoneminder links in the scripts are in the Ubuntu repositories with ZM "tweaked" to run on Ubuntu 10.10. There are many flavors of Zoneminder 1.24.2. Each Linux OS has different paths for different applications and typically a style which you have to follow. This is what causes some issues with ZM as it expects things to be in certain directories but they are not.

              Just now been doing a back and forth email with Gregg; the person that wrote the XAP Zoneminder program. It seems that the perl scripts running in ZM didn't create some base directories which XAP wsa looking for. This caused a problem with XAP running. So the fix was to manually create the directories that ZM didn't create. All is well now with ZM XAP.

              Check out the frame rates for attached. The Foscam doesn't give me as fast of a frame rate.

              This is what an XAP looks like that's being sent to HSPro. HSPro receives the message and this turns on or off a designated ZM HS variable. You can also have ZMXAP send out the XAP with the link to the video event such that you can click on it to watch the ZM video event. You can also send an XAP event over to ZM for it to record an HSPro sourced event (like an outdoor PIR event). Each event is only seconds long and doesn't really ding the HD space too much. You can also run automatic scheduled jobs to prune the events.

              xap-header
              {
              v=12
              hop=1
              uid=FFEA0901
              class=VMI.AlarmEvent
              source=zm.zoneminder.houseriveway
              pid=1044
              }
              Alarm
              {
              AlarmFrames=1
              AlarmId=558
              AvgScore=100
              Cause=Motion
              Duration=4383788.79
              Frames=11
              MaxScore=100
              State=off
              Last edited by Pete; December 23, 2010, 01:19 PM.
              - 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


                #8
                So - this Xap sounds like something I will want - it's job is to integrate the ZM into HSPRO? Those screens you just posted are actually the HSPRO showing ZM output? There is a plugin to do this I will guess.. going to look now....

                Also - your Foscams hardwired? Mine work better that way.

                Comment


                  #9
                  Those are the Zoneminder screens. I do captures with HS with the Netcam application for events and manually run captures via events. Attached is a direct capture event from the other night and a current view from Netcam. using HSPro.
                  I use MCS XAP for the XAP stuff; its plug n play.

                  I do have my Foscam directly wired. The new one's LED's are much brighter than the old ones and illuminates garage well (that picture is with no lights on). You can see the glow of the LEDs though.
                  Last edited by Pete; December 23, 2010, 01:20 PM.
                  - 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


                    #10
                    Pete - I got to here:
                    ===============================
                    Install some Utilities for your Zoneminder Server

                    - Dropbear SSH
                    - Webmin
                    - Zoneminder XAP

                    Refer to PDF attached
                    ==============================

                    I only see the one PDF attached - I don't think it is the one.

                    Comment


                      #11
                      The "pause" was related to utilizing Zoneminder XAP with the above mentioned installation of Zoneminder. It is an issue related to Zoneminder that needs to be sorted out. I depend on the interaction of Homeseer and Zoneminder utililzing XAP.

                      It was sorted out yesterday; but its kind of a cludgy work around; so need to get back to the ZM forums to find out why.

                      Will post the rest of the steps shortly. Kind of redid what I posted. Its still a live document and not finished.
                      Last edited by Pete; December 22, 2010, 09:50 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


                        #12
                        Ubuntu 64 claims it cannot find a Nic on the Shuttle SX35. I then tried some other 64 bit versions with same result. I was able to install a full 32bit version and it had no problem with network. I opened a terminal window and entered these commands I found on kirichkov dot com:

                        user@ubuntu:~$ sudo apt-get install openssh-server zoneminder
                        user@ubuntu:~$ sudo usermod -a -G video www-data
                        user@ubuntu:~$ sudo ln -s /etc/zm/apache.conf /etc/apache2/sites-enabled/001-zoneminder
                        user@ubuntu:~$ sudo service apache2 restart

                        having no idea what I was doing. I can now open Zoneminder from another PC. It appears to work. Do not know if it really works yet have not tried adding a camera (remote at the moment and don't have all my info). Also - the 32 bit version I installed has the full gui - I believe it is a desktop version.

                        Anyhow - I am currently downloading the 32bit server version and intend to reload and see if it has trouble with the NIC or not.

                        EDIT: The 32bit server will not find a Nic either. Rats.... I might continue on with the 32bit desktop version and see if I can add cameras.
                        Last edited by Monk; December 23, 2010, 12:07 PM.

                        Comment


                          #13
                          Monk,

                          Thank you for the feedback. Its easier if you do everything to the ZM box remotely using any PC that you have on the network.

                          My ZM box is sitting in the "server" rack and I don't have eyes to the physical box except for now; just got a faster CPU (today) for it and taking it down and updating the CPU from a 2.6Ghz to a 3.4Ghz 775 socket CPU.

                          Take your time. The main install of Ubuntu 10.10 via ISO takes only about 15 minutes or so. Don't worry about the ZM piece right away.

                          Don't install the GUI version; you don't need it and it doesn't really do anything at all for the ZM installation piece for you.

                          Use the link provided for the ISO downloaded to use.

                          I want to continue to add to the first post such that its a plugnplay installation.

                          You don't need to use SUDO. Look at the beginning of the post relating to starting the install of Zoneminder. You really want to just be able to access your ZM box with root access. SUDO is a "protective" means access. When first installing Ubuntu and the defaults it should have asked you if you wanted to install Open-SSH. I did notice a difference though in the VM install versus the HW install where as the HW install asked and the VM install did not. BTW if you want to keep using SUDO; then type "SUDO SU" ...read this to tell you more:

                          http://linux.about.com/od/commands/l/blcmdl8_sudo.htm

                          Relating to a Linux installation on the Shuttle. There's been a lot folks installing the Linux version of XMBC on their new Shuttle SX35GT's. I believe the Shuttle was kind of more built (even the BIOS) for the MS W7 user rather than a Linux user. I haven't looked there but I bet you'll find users trying to run the Shuttle on 64bit flavors of Linux.

                          I saw similiar with the Asus 901A relating to what was in the BIOS and what the HW could do relating to Linux and Windows (Bluetooth mostly).

                          There are commands in Linux that you can probe your HW. See the ID's of the HW on the bus etc. Its only a computer and if you break what you have; its not a big deal to start over again. You will not break the HW.

                          If you can get to ZM via the network you are doing well! Congratulations!

                          What would you like to see on the first post relating to getting the base Ubuntu 10.10 installation up (prior to ZM installation) that would make it easier for you?

                          I'm trying to include all the steps in an easy to read format.
                          Last edited by Pete; December 23, 2010, 01:23 PM.
                          - 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


                            #14
                            Pete I get the sudo command. I was merely stating the following:

                            1. Server 10.10 (32 or 64) does not run on the SX35 (Nic Driver)
                            2. Workstation version (32) runs fine.
                            3. The four commands I posted automagically installed and configured Zoneminder to where I can connect from another machine.

                            This all occured in about 15 minutes, not having to do anything else. So I do not get it. Will installing server version and following complicated instructions work better?

                            I found a post with my same scenario (SX35 owner) - tried to manually load a driver but to no avail. The same post states that version 10.04 Server loads the Nic.

                            SO - Now I am downloading the 10.04 version to try it rather than use desktop GUI version - will see what happens, but if it DOES work and I can make it work with the 4 commands, what is the advantage of extra? I am guessing I am missing something.
                            Thanks for your help.

                            Originally posted by Pete View Post
                            Monk,

                            Thank you for the feedback. Its easier if you do everything to the ZM box remotely using any PC that you have on the network.

                            My ZM box is sitting in the "server" rack and I don't have eyes to the physical box except for now; just got a faster CPU (today) for it and taking it down and updating the CPU from a 2.6Ghz to a 3.4Ghz 775 socket CPU.

                            Take your time. The main install of Ubuntu 10.10 via ISO takes only about 15 minutes or so. Don't worry about the ZM piece right away.

                            Don't install the GUI version; you don't need it and it doesn't really do anything at all for the ZM installation piece for you.

                            Use the link provided for the ISO downloaded to use.

                            I want to continue to add to the first post such that its a plugnplay installation.

                            You don't need to use SUDO. Look at the beginning of the post relating to starting the install of Zoneminder. You really want to just be able to access your ZM box with root access. SUDO is a "protective" means access. When first installing Ubuntu and the defaults it should have asked you if you wanted to install Open-SSH. I did notice a difference though in the VM install versus the HW install where as the HW install asked and the VM install did not. BTW if you want to keep using SUDO; then type "SUDO SU" ...read this to tell you more:

                            http://linux.about.com/od/commands/l/blcmdl8_sudo.htm

                            Relating to a Linux installation on the Shuttle. There's been a lot folks installing the Linux version of XMBC on their new Shuttle SX35GT's. I believe the Shuttle was kind of more built (even the BIOS) for the MS W7 user rather than a Linux user. I haven't looked there but I bet you'll find users trying to run the Shuttle on 64bit flavors of Linux.

                            I saw similiar with the Asus 901A relating to what was in the BIOS and what the HW could do relating to Linux and Windows (Bluetooth mostly).

                            There are commands in Linux that you can probe your HW. See the ID's of the HW on the bus etc. Its only a computer and if you break what you have; its not a big deal to start over again. You will not break the HW.

                            If you can get to ZM via the network you are doing well! Congratulations!

                            What would you like to see on the first post relating to getting the base Ubuntu 10.10 installation up (prior to ZM installation) that would make it easier for you?

                            I'm trying to include all the steps in an easy to read format.

                            Comment


                              #15
                              Ubuntu 64 10.04 LTS

                              Rats - The 10.04 version (64) exhibits same symptom. Am downloading the 32 bit version now. If that still doesn't work, I will have to go with the GUI - Desktop Version.

                              Comment

                              Working...
                              X