Announcement

Collapse
No announcement yet.

UltraNetCam HSPI - In Development

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

    #46
    Ultra,
    I am trying to get a CGI event to work with my Vivotek 8362 camera. The command I would normally issue to enable / disable the built-in IR lights is:

    http://ipaddress<IP><IP>:80/cgi-bin/admin/setparam.cgi?ircutcontrol_disableirled=0

    I keep getting various errors in the log. Am I barking up the wrong tree here? (That's an underscore between ircutcontrol_disableirled)

    Any guidance appreciated.

    An unexpected error occured in the NetCamAPI() function/subroutine: [System.UriFormatException: Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at System.Net.WebRequest.Create(String requestUriString) at HSPI_ULTRANETCAM.NetCamDevice.NetCamCGI(String strQueryString)]

    Comment


      #47
      Feature request and problem with last version

      The last version uploaded would not install unless I manually removed the previous version. I could install it after that but it seemed to loose track of what picture was taken last, after deleting all in photos the UltarNetCam folder it seems to be working.

      One nice feature to add would be to have the ability to send to an email address based on an event. Right now I can only have one address. If a drop down was added to the event which let you override the default address (the one in the plug-in config) it would be nice.

      Thanks again, I'll try with a different camera tomorrow....

      Comment


        #48
        OK - I'm fixed now.

        In the event, you are specifying the camera already as one of the drop-down choices. When entered as below it works great!

        Thanks for a great plugin!
        Click image for larger version

Name:	event.PNG
Views:	1
Size:	8.5 KB
ID:	1167019

        Comment


          #49
          When I installed the new version I uninstalled first without even trying.

          I found the same as you regarding previous pics
          Also - my camera's were all "gone" but the email settings remained intact.

          Originally posted by norcoscia View Post
          The last version uploaded would not install unless I manually removed the previous version. I could install it after that but it seemed to loose track of what picture was taken last, after deleting all in photos the UltarNetCam folder it seems to be working.

          One nice feature to add would be to have the ability to send to an email address based on an event. Right now I can only have one address. If a drop down was added to the event which let you override the default address (the one in the plug-in config) it would be nice.

          Thanks again, I'll try with a different camera tomorrow....

          Comment


            #50
            Originally posted by Monk View Post
            When I installed the new version I uninstalled first without even trying.

            I found the same as you regarding previous pics
            Also - my camera's were all "gone" but the email settings remained intact.
            Sorry about that. This was my fault. I had made a typo in the Installer version which means it would always detect a newer version as older. I fixed this issue along with the uninstaller not leaving the database when you did an uninstall. The version you installed implemented both of those fixes.

            Regards,
            Ultrajones
            Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

            Comment


              #51
              Originally posted by norcoscia View Post
              The last version uploaded would not install unless I manually removed the previous version. I could install it after that but it seemed to loose track of what picture was taken last, after deleting all in photos the UltarNetCam folder it seems to be working.
              Sorry about that. This was my fault. I had made a typo in the Installer version which means it would always detect a newer version as older. I fixed this issue along with the uninstaller not leaving the database when you did an uninstall. The version you installed implemented both of those fixes.

              Regards,
              Ultrajones
              Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

              Comment


                #52
                Originally posted by Ultrajones View Post
                Sorry about that. This was my fault. I had made a typo in the Installer version which means it would always detect a newer version as older. I fixed this issue along with the uninstaller not leaving the database when you did an uninstall. The version you installed implemented both of those fixes.

                Regards,
                Ultrajones
                After all, it IS A BETA . Keep up the good work.!

                Comment


                  #53
                  Originally posted by aldo View Post
                  Would it be possible to send a small video i.e. 1 minute of the captured images to the smartphone as well? I noticed that is hard to view the pictures as thumbnails while maybe easy to view as a small video.

                  Thanks,
                  Aldo
                  I think I can do this with ffmpeg: http://ffmpeg.org/
                  Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                  Comment


                    #54
                    Installed for testing and my HSPro log shows this entry:

                    9/8/2012 11:28:05 PM - UltraNetCam Error - An unexpected error occured in the InsertNetCamDevice() function/subroutine: [System.Exception: One or more required fields are empty. Unable to insert new NetCam device into the database. at HSPI_ULTRANETCAM.HSPI.InsertNetCamDevice(String netcam_name, String netcam_address, Int32 netcam_port, String snapshot_path, String videostream_path, String auth_user, String auth_pass)]

                    I think this happened when I clicked something or pressed enter while a field was selected as I was unfamiliar with how to add a new camera. I guess I was expecting something different in the data entry experience.

                    On the image viewer, can we have prev/next buttons as appropriate once an image is displayed full-sized rather than just the 'x'? A simple << < > >> x would work.

                    Also, I noticed you had a lot of stuff working for the foscam. Where is that hidden for things like jog up/down, pan left/right, IR on/off, etc? If we tell the plugin we have a foscam pan/tilt w/IR, do controls get created and I missed them? I can't find any devices associated with the netcam. Should I find anything?

                    Feature Request:
                    Can the email option have it's own schedule or time period? I'd like to send an image via email only 1 per hour, yet save images at whatever time interval I want. For example, save every 6 minutes and email every 60 minutes, or after 10 images.
                    Last edited by huggy_d1; September 8, 2012, 10:58 PM. Reason: added feature request
                    huggy_d1

                    Automating made easy

                    Comment


                      #55
                      Originally posted by markesdale View Post
                      Nice to haves maybe?

                      - when viewing snapshots in large view, a next / prev option? (to see next or prev saved snapshot)
                      Hello Mark. This already exists. When viewing images that are part of an event, you can click the left side of the image to view the previous image and click the right side to view the next image (in the event).
                      Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                      Comment


                        #56
                        Ultrajones, looking forward to this integration. This would make a great addition to your plug-in. Being able to look a a small video clip on my phone would be great instead of each single picture. Now days with plenty of bandwidth and smart phones I see it as a great feature to have. I'm sure lot of other people would love this feature as well.

                        Thanks,
                        Aldo

                        Comment


                          #57
                          I'm doing something wrong

                          Originally posted by Ultrajones View Post
                          I just posted an update that adds:

                          1) E-mail template support for $camera_name in both subject and body.
                          2) Foscam alarm motion triggers.

                          See first post for download.

                          You can enable the alarm trigger on the Foscam NetCams as follows:
                          http://{camera IP address}:{camera port}/set_alarm.cgi?http=1&http_url=http://{IP Address of HomeSeer}/hspi_ultranetcam/hspi_ultranetcam.aspx?trigger=alarm&user=admin&pwd=password

                          Note: The user and pwd are for the Foscam and not HomeSeer.

                          Once it has been set, you enable/disable the feature using the following:

                          http://{camera IP address}:{camera port}/set_alarm.cgi?http=1&user=admin&pwd=password
                          http://{camera IP address}:{camera port}/set_alarm.cgi?http=0&user=admin&pwd=password

                          You can use the UltraNetCam CGI HomeSeer event action to automated enabling/disabling the alarm notification.

                          To trigger a HomeSeer event, select "UltraNetCam Alarm Trigger", then select the Camera that will trigger then event.

                          Regards,
                          Ultrajones

                          Regards,
                          Ultrajones
                          Great plugin! Installed without any problem, capturing a pic once an hour with an event. Now i'm trying to get he camera alarm to work but i'm not having any luck. I've created an event to fire with the UltraNetAlarm trigger but it doesn't appear to be working. I don't understand the "enable alarm trigger" and the "enable/disable" code above. Do I have to used those in conjunction with the event?

                          Also I just tried typing in

                          http://{camera IP address}:{camera port}/set_alarm.cgi?http=1&http_url=http://{IP Address of HomeSeer}/hspi_ultranetcam/hspi_ultranetcam.aspx?trigger=alarm&user=admin&pwd=password

                          with the correct values and I get "error: illegal params." returned.
                          Attached Files

                          Comment


                            #58
                            @Thickman
                            You might want to check your camera's webpage to see if this feature is available. You can turn it on there if it is.
                            I don't know about the Foscams, but this feature was not available on my Apexis clones, untill I updated the firmware in December of last year...
                            HS2PRO - Ocelot, SecuIR, Secu16, Attendence Management Alarm Interface, X-10, LCD Studio VFD Display, 3 Apexis IP Cams, Custom Software Interfaces, GMQ Geiger Graphing
                            HS3PRO - Testing

                            Comment


                              #59
                              Originally posted by Jebus View Post
                              @Thickman
                              You might want to check your camera's webpage to see if this feature is available. You can turn it on there if it is.
                              I don't know about the Foscams, but this feature was not available on my Apexis clones, untill I updated the firmware in December of last year...
                              It's turned on, I have a Foscam 8904.
                              Attached Files

                              Comment


                                #60
                                You may need a firmware update. Run http:{yourcameraip}/get_params.cgi and check if you have the following in the output:

                                var alarm_http=
                                var alarm_http_url=

                                Regards,
                                Ultrajones
                                Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                                Comment

                                Working...
                                X