#zoneminder

/

      • not_roasted
        ?
      • zaim_
        p0g0: the spot style light on the other seems to be different. I don't know if that is a big LED or something else
      • not_roasted: I saw similar error yesterday. Have you reinstalled or changed your password recently?
      • p0g0
        well, point sources all follow the inverse square law, but field sources do not, so to the exent you lighting extends to "fieldness" vs a point, the total illumination is higher and there are no shadows.
      • not_roasted
        zaim_: no.
      • KJN
        I just installed zoneminder, and out of rabid curiosity I set my display skin to XML. How do I undo this change?
      • p0g0
        But a big spotlight is likely both brighter and has a lens...
      • zaim_
        p0g0: true. So, I guess the ring one is better in theory. Then it's up to the model if it's good enough
      • KJN: add ?skin=flat to the end of the url?
      • p0g0
        better is a hard thing to say, if you want contrast or shadows, the ring might not be better
      • zaim_
        KJN: like server/zm/index.php?skin=flat
      • p0g0
        zaim_: you can always add more lights.
      • zaim_
        p0g0: true. yeah, I guess some motion sensor with normal lamps would make sense
      • KJN
        zaim_: That did it, thank you!
      • zaim_
        now you can go and change it back :)
      • not_roasted
        you know, I wonder something.
      • I ran mocord before and had zones set up. I moved to record... but I didn't touch the zones.
      • wonder if that matters?
      • p0g0
        zaim_: those have the advantage of making the motion detection in ZM work better too.
      • not_roasted
        I plan on getting some dedicated IR lights. They seem to be cheap enough to pick up online.
      • the advantage to dedicated IR lights is bugs making webs on those lights doesn't interrupt your visibility, whereas spiders like to make webs on cams with IR
      • so I can be lazier and clean them less frequently <3
      • zaim_
        not_roasted: I'm not sure, but I kind of noticed that if you have plenty of ZM windows open in your browser, and you logout/login in between, then it might trigger that socket_sendto thing
      • p0g0
        yes, but if you get the common PIR triggered lamps, you'll probably use less juice than leaving an IR lamp on all the time.
      • not_roasted
        zaim_: how did you notice that? Nothing was connected to ZM except my laptop, at which point I open the ZM UI, open logs, open montage, and soon enough I see logs appear.
      • zaim_
        not_roasted: I though it was because I had some feed window left open from my earlier session and kind of thought that it still uses some "old session id" or something. Anyway, I then later got rid of the send_to errors by accident
      • If you go to /var/run/zm.../ the path that is shown in the error message, do you have .sock files there when your feed is not open?
      • not_roasted
        zaim_: I even rebooted my server, which I assume would kill any rogue connections, and went in with just my laptop. Got the socket_sendto errors there again too.
      • zaim_
        and then, when you open the feed, there becomes two new files?
      • not_roasted
        zaim_: I'll have to check when I go home for lunch.
      • zaim_
        oh, okay.
      • not_roasted
        which should be soon once I get this presentation done
      • zaim_
        yeah.. I'm not sure what happened here during the last two days.. quite a much of different combinations of settings :)
      • not_roasted
        random thought of the day
      • I wonder how many lines of code encompass zoneminder entirely
      • p0g0 is feeling brain damaged...Frst camera was painless, the second, I cannot even get a static jpg file to work in monitor. I can bring up the tst.jpg in firefox, but choosing File as the Source Type, then giving the path and filename as the source path in the monitor fails...
      • what kind of camera?
      • p0g0
        The camera proper is a Sony bullet, attached to a DVR that offers the snapshot via http- that all works, curl can fetch the jpg, the browsers can too. That jpg is what I am resorting to since all else fails. I'll curl the image here, then expect ZM to open the jpg file.
      • not_roasted
        ah
      • p0g0
        but, it cannot even open a static jpg...
      • not_roasted
        sounds a little more complex than what I'm used to
      • I only ever worked with straight IP cameras.
      • p0g0
        it is a pain. The IP cameras are easier, this should have been trivial too tho.
      • What is odd is that wireshark doesn't show any packets returned to ZM...
      • It sees the curl transaction fine, but ZM appears to never even ask.
      • the static file is a real odd thing tho, no transfers, already in the jpg format...
      • zaim_
        sounds crazy. You are doing it hard core.
      • gnulnx
        p0g0: Did you try the libcurl source type?
      • p0g0
        hey, it started out being pretty simple. I've used ZM for a long time, so this should just work. I did try libcurl, it fails pretty silently too. I had logged some buffer errors with that setting, which increasing buffer sizes had no impact on.
      • so, I am trying the most basic thing possible, and that isn't yet working...
      • zaim_
        Any idea of the Hosafe cameras? Compared to Hikvision?
      • t3rror has quit
      • prozach joined the channel
      • Babbiz29 joined the channel
      • Babbiz29
        Hello, I'm having an issue setting up a webcam on my raspberry pi running ZoneMinder. When I probe the camera I get "Unable to probe local cameras, status is '132'" what exactly does it mean?
      • zaim_
        I don't know. But could you set it as "local" and use "/dev/video0" or something as path?
      • prozach
        Is the API stuff for 1.29 broken on Trusty (ubuntu 14.x)?
      • I am running into problems getting it to work and the documentation doesn't have a ton of info on troubleshooting the API piece
      • on the api page I am getting an error about tables missing from the DB
      • in the db I am not seeing any api anything.
      • gnulnx
        prozach: The API just interfaces with the DB, for example. Please paste a screenshot of your http://zm/api page
      • Or post that exact error about tables missing
      • Most likely, the api config file wasn't updated with the correct DB information
      • achan joined the channel
      • prozach: http://zoneminder.readthedocs.org/en/stable/ins... search the page for 'api'
      • (step 8)
      • p0g0
        OK, so what to look for when monitor 1 (ip cam) is good, but monitor 2 (snapshot|file) doesn't even ask for data? How can a valid jpeg file resident on the local drive with open permissions fail as source type "File"?
      • roasted
        zaim_, home for lunch. disabled updates didn't yield a difference with the socket_sendto errors.
      • maybe I'll just... let them go. everything seems fine.
      • just seems strange they populate.
      • prozach
        gnulnx been there done that (installation tl;dr of the install go to this page if you see green it works.) I was waiting for my DNS to update so I can get the exact error.
      • :-)
      • one sec
      • gnulnx, I initially got the "Missing Controller
      • Error: ApiController could not be found.
      • Error: Create the class ApiController below in file: app/Controller/ApiController.php" error message
      • but I then created the ApiController.php with the content specified by the error
      • and now I am getting http://i.imgur.com/63jlBX4.png
      • Missing Database Table.
      • I was a DBA in another life
      • and if its looking for an api table, there is none in the zm DB
      • roasted
        uh oh. added the two new cams and the zm ui is unresponsive. oh noooooo
      • gnulnx
        huh, that one is new to me.
      • prozach
        well I feel better that I stumped you :-)
      • roasted
        had to reboot the service over ssh
      • prozach
      • and that sorta worked
      • roasted
        i3, 4gb ram, two wired 1mpx cams, one wireless 1mpx cam, one wireless 640x480 cam, two 3mpx wired cams. all in record mode. all 5fps.
      • I'm undoubtedly pushing this box...
      • prozach
        but then the API page threw a bunch of errors about mod_rewrite
      • roasted
        (wireless 1mpx and wireless 640x480 will be removed soon... figured I'd see if this box could handle all six while I have them)
      • prozach
        also came across this post in the forums: https://forums.zoneminder.com/viewtopic.php?t=2...
      • bsaggy_ joined the channel
      • relevant .xkcd https://xkcd.com/979/
      • Jimlad_ joined the channel
      • Shadow__X_ joined the channel
      • kurros_ joined the channel
      • dr1_ has quit
      • dmz has quit
      • kurros has quit
      • Shadow__X has quit
      • ]V[ has quit
      • Jimlad has quit
      • zmd joined the channel
      • Shadow__X_ is now known as Shadow__X
      • Shadow__X joined the channel
      • p0g0
        huh... rebooting the VM & doubling the cores and available ram worked... now I can monitor a local jpg file... next I'll try the Real Deal
      • dr1_ joined the channel
      • roasted
        so now that I added these 2 additional cams (bringing it to six total), when I'm in montage, everything is fine -- but clicking on a single monitor shows a white screen, as if the feed never loads. Though I can exit out and still see the montage just fine...
      • ]V[ joined the channel
      • zaim_
        p0g0: I read somewhere that the ZM configuration settin "shared memory" should be increased in some cases
      • so, there might be much RAM left, but the shared memory setting may still be too low and the memory saturates
      • p0g0
        yes, I've encountered that before. It may be an issue.
      • zaim_
        or something like that
      • ok.
      • p0g0
        the shbuff vals in the kernel
      • but there was no indication of being near any memory limits, the vm had 1/4 of the allocated ram free.
      • But the encouraging thing is that all the error messages to date have been erroneous, and tweaking the free ram and such is easy in the VM.
      • Eureka! And gosh, has it been a long haul. The VM settings and firewall were silent killers... Fixing the wrong problem seldom yields a solution.
      • zaim_
        cool!
      • this is a happy day!
      • p0g0
        Maybe I'll go buy a Jehoboam of champagne...
      • and break it over this beloved ZM box...
      • zaim_
        I already rewarded myself by ordering 4 cameras more :)
      • p0g0
        heh, that's probably a better thing.
      • prozach
        anyone seen this before?
      • p0g0
        Now, I'll sort out the rest of the cams...
      • roasted
        is there a way to set up multiple montages?
      • barjac_ has quit
      • barjac has quit
      • barjac joined the channel
      • prozach
        can anyone point me to a current DB schema for zoneminder?
      • I suspect that the zm_create.sql is not creating the API tables correctly
      • or
      • there is a problem with php
      • prozach has quit
      • not_roasted
        what's the point of creating groups for cameras?
      • I saw in the wiki how to do it, but I'm wondering why would I want to?
      • oh, I'm getting the jist camera groups just allow you to control which users can see which cameras.
      • I was hoping to find a way to get multiple montage groups, so I can have a montage of the baby cameras, montage of the outdoor cameras, etc. I can't seem to stream everything at once, which is looking like it's a browser limitation.
      • chrome fails altogether to even show me a montage of six cameras. firefox succeeds, but once I have montage running with all six and I click on any camera, the page that comes up (which should be that single camera I clicked on) is just blank white.
      • kurros_ is now known as kurros
      • Schrottie joined the channel
      • prozach joined the channel
      • zaim_
        oh.. Yeah, I was wondering the same about the monitor groups
      • Btw, have you found out a way how to make home surveillance system easily switched between Home/Away modes? So that it does not record while someone is at home
      • gnulnx
        That's pretty easy to do with runstates.
      • zaim_
        hmm.. thanks! have to check
      • ic0n
        I just wrote code for zmu to grab a zone image from the most recent event .