Announcement

Collapse
No announcement yet.

[NetCAM] Take snapshot from camera with name xxxx_latest.jpg

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

  • [NetCAM] Take snapshot from camera with name xxxx_latest.jpg

    I just upgraded from HS2 to HS3 and noticed that there is no longer a camxx_latest.jpg file when taking a snapshot using the NetCAM plugin.

    I just used this filename in my events to send this images by mail. Can this option be restored?

  • #2
    It's just called CurrentImage.jpg now.

    I use it the same way. (I only use one cam.)

    Regards
    Morten

    Comment


    • #3
      And there is my issue. I use multiple cams so i would expect multiple current images also based on the camera name

      Comment


      • #4
        Im also interested in a feature like that..

        Comment


        • #5
          If fixed this to run an 'immediate' script in the event, to grab an actual picture from the camera and store it as the camera name.
          In case of a Foscam camera you can use:

          &hs.GetURLImage("http://<cam-ip>:<cam-port>","/snapshot.cgi?user=<cam-user>&pwd=<cam-pwd>", TRUE, 80, "/html/netcam/frontcam.jpg")

          Comment


          • #6
            Thats great!

            Didnt know about that feature. This makes the plugin a bit redundant, I can just keep using that script in stead.

            Comment


            • #7
              I can not get this URL to work anyone have any ideas?

              &hs.GetURLImage ("http://192.168.1.202","/Streaming/Channels/1/picture?user=XXXX&pwd=XXXXX",True,8192,"/html/images/FrontDoor.jpg")


              This works in my browser to display the camera image
              http://192.168.1.202:8192/Streaming/...=XXXX&pwd=XXXX


              I have tried with the port number right after the IP but the info I have seen shows the port number is after the true on not like the previous poster showed. I tried it both ways along with more but haven't seem to find the right combo.

              Any ideas?

              Thanks

              Comment


              • #8
                I use a simple script which take a snapshot for 4 cams, put it in a directory with the camera name and date and time, and then duplicate these files into a xxx_lastest.jpg file
                Here is a sample of the script if it can help :

                Code:
                Dim formatdate As String = "yyyy-MM-dd"
                Dim formatheure As String = "HH-mm-ss"
                
                ddate = time.ToString(formatdate) & " at " & time.ToString(formatheure)
                
                
                'CAM1
                
                hs.GetURLImage("http://" & IPCAMGarage,"/snapshot.cgi?user=" & user & "&pwd=" & password, TRUE, 80, "C:\Program Files\HomeSeer HS3\Data\Visiteurs\" & ddate & " Garage.jpg") 
                
                If File.Exists( "C:/Program Files/HomeSeer HS3/html/netcam/Garage_Latest.jpg" ) = True Then
                
                    File.Delete( "C:/Program Files/HomeSeer HS3/html/netcam/Garage_Latest.jpg" )
                
                    If debug then hs.writelog (LogName, "Fichier Garage_Latest effacé")
                
                End If
                
                File.Copy ("C:/Program Files/HomeSeer HS3/Data/Visiteurs/" & ddate & " Garage.jpg", "C:/Program Files/HomeSeer HS3/html/netcam/Garage_Latest.jpg", True)
                
                
                'CAM2
                hs.GetURLImage("http://" & IPCAMTouran,"/IMAGE.JPG", TRUE, 80, "C:\Program Files\HomeSeer HS3\Data\Visiteurs\" & ddate & " Elro.jpg") 
                
                If File.Exists( "C:/Program Files/HomeSeer HS3/html/netcam/Elro_Latest.jpg" ) = True Then
                
                    File.Delete( "C:/Program Files/HomeSeer HS3/html/netcam/Elro_Latest.jpg" )
                
                    If debug then hs.writelog (LogName, "Fichier Elro_Latest effacé")
                
                End If
                
                File.Copy ("C:/Program Files/HomeSeer HS3/Data/Visiteurs/" & ddate & " Elro.jpg", "C:/Program Files/HomeSeer HS3/html/netcam/Elro_Latest.jpg", True)

                Comment


                • #9
                  was this ever officially fixed?
                  HS3 Pro on Windows 8 64bit
                  53 Z-wave nodes(46 devices, 7 remotes), 15 DS10a's, 10 ms16a's, 9 Oregon Sensors, W800, RFXCOMtrx433, Way2Call, 3 HSTouch Clients, 2xRussound CAS44, Global Cache GC100-12,10 Rollertrol blinds(+ zwave) ,3 Squeezebox Radios and 1 Squeezebox Boom,DMX Arduino via ethernet,Rain8Net,3x Echo Dot's


                  Check out my electronics blog here:
                  https://www.facebook.com/RaptorsIrrationalInventions

                  Comment

                  Working...
                  X