Announcement

Collapse
No announcement yet.

PTZ ip camera in Designer and HSTouch

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

  • Richel
    replied
    Originally posted by lj502 View Post
    You need to make an event in Homeseer to run a hsscript (gotta look and check which call) for each button and then in HSTouch point your buttons at each respective event.

    John
    Can you let me know the syntax for this immediate script? I used http://admin:PW@IP/hy-cgi/ptz.cgi?cmd=ptzctrl&act=right, but I got syntax error. Thanks.

    Leave a comment:


  • smokeycoles
    replied
    Rich can you give clear instructions like this on how to get the buttons working?

    Leave a comment:


  • mulu
    replied
    Originally posted by rjh View Post
    For now, if you want to add video to your own project do this:

    1) Add an image element to your screen
    2) In the ImageURLNormal property enter the snapshot URL to your camera. For example:

    http://192.168.2.68:7888/snapshot.cg...=USER&pwd=PASS

    Change the IP and PORT to your camera IP and port (if on port 80 leave out the :7888. Set the USER to your username (admin is the default). If you never changed the password, leave it blank (pwd=).

    Set the IsVideo property to True

    Deploy the project to your IOS device and you should see the video.
    THANK YOU!!!! I spent so much time trying to get this to work. I actually tried it with an image element and setting it on video but I didn't realize that I just put the streaming url into the IMAGEUrlNormal. I tried to somehow connect it with the Cam1 that was generated by the NetCam login. However, I guess that one will only be used to control the camera but not for getting the stream. Although this is not being done through NetCam it would be helpful to elaborate in the NetCam help file on what exactly can be done with it and what cannot (like the streaming).

    Leave a comment:


  • rjh
    replied
    Let me clear this up. You can display Foscam snapshots in IOS, it has always been there. I will describe how to do it below.

    In the next IOS app update though we did add the ability to display video without any configuration. The default project has a camera chooser screen that will automatically discover your Foscam cameras, list them, and then when you pick one it will display it. This is done through the HSTouch Server plugin, version 3.0.0.15 or later is required for this. If you changed the password on the camera you will have to enter the password in the HSTouch Server config, but that is all the configuration you will have to do.

    For now, if you want to add video to your own project do this:

    1) Add an image element to your screen
    2) In the ImageURLNormal property enter the snapshot URL to your camera. For example:

    http://192.168.2.68:7888/snapshot.cg...=USER&pwd=PASS

    Change the IP and PORT to your camera IP and port (if on port 80 leave out the :7888. Set the USER to your username (admin is the default). If you never changed the password, leave it blank (pwd=).

    Set the IsVideo property to True

    Deploy the project to your IOS device and you should see the video.

    Originally posted by Sheriff View Post
    OK, here's the answer from HS Technical: I'm not crazy; Foscam has not heretofore been supported in HSTouch for ios or Android. However, an update for HSTouch might be out today that supports Android. They expect another update in mid-February that supports ios. Keep your fingers crossed...

    Leave a comment:


  • Sheriff
    replied
    The Answer...

    OK, here's the answer from HS Technical: I'm not crazy; Foscam has not heretofore been supported in HSTouch for ios or Android. However, an update for HSTouch might be out today that supports Android. They expect another update in mid-February that supports ios. Keep your fingers crossed...

    Leave a comment:


  • Sheriff
    replied
    lj502, Come In...

    lj502, are you still out there?? After exhausting all my resources, wearing out the message board and finally deciding that Foscam really wasn't supported in HSTouch, you left several year end posts saying there was a simple way to do it; I'd sure love to hear what that is. To recap: I have a Foscam F18910W with a fully accessible ip address. I set up a "Cam" page in designer. I deployed to my PC and to my iPad using the standard URL: http://IP ADDRESS/snapshot.cgi?user=NAME&pwd=PASSWORD. The page opens on my PC and image appears correctly, but the page will not even open on my iPad. I continue to wonder if it might be the third question (following User and Password) on the Foscam login screen "ActiveX, Server Push or Mobile". Since iPad doesn't play with ActiveX, it might be wanting an input that I don't see. Any help? Thanks.

    Leave a comment:


  • huggy_d1
    replied
    Originally posted by loowee View Post
    Hi guys !

    I tought I had the video part working but it seems I was wrong. Finally got the scripting working on the controls but video only shows first image and does not refresh. It does that on android an windows clients.

    As mentioned earlier, this is a Insteon ptz cam copied on the foscam ptz codes. Here is a URL used to capture a Motion JPEG sequence, that<s what I use on my dvr softwares.

    http://192.168.0.85:81/snapshot.jpg?...=******&strm=0

    Any idea ?
    First, let me say I think it is great you are getting close on your HSTouch project on android / windows clients.

    Now some subjects that may help (and please remember these are off-the-cuff and not verified).

    1. I create events for all the PT/PTZ camera controls and simply assign buttons in HSTouch to trigger events. In this way, I can simply update the camera details in the event if I replace a camera or change it's ip address/port / user/pass combo. No redeploy required. Time-saver!
    2. The isvideo and update period for the image to give you slow-stop-motion video simulation in your HSTouch designer properties must be set properly.

    One thing you may want to also do is force the image to be in the background or foreground (each project / device seems to like one or the other), and then bring it forward or backward until the image begins to update.

    I have had every variation of these for iPhone/iPad/Kindle Fire/Nexus 7/Samsung S4/Windows, and there seems to be no magic solution that fits all cameras and deployed clients. That's merely my experience with the designer and clients for HSTouch. You may find a magic solution and if so, please share.

    Leave a comment:


  • loowee
    replied
    Hi guys !

    I tought I had the video part working but it seems I was wrong. Finally got the scripting working on the controls but video only shows first image and does not refresh. It does that on android an windows clients.

    As mentioned earlier, this is a Insteon ptz cam copied on the foscam ptz codes. Here is a URL used to capture a Motion JPEG sequence, that<s what I use on my dvr softwares.

    http://192.168.0.85:81/snapshot.jpg?...=******&strm=0

    Any idea ?

    Leave a comment:


  • Sheriff
    replied
    Sorry I've missed all these replies, vacation. I have not yet tried loowee's suggestion. Yes, lj502, I can access the cam on an ipad browser. What shall I do now?

    Leave a comment:


  • lj502
    replied
    Did you get your cameras streaming ok? There is a much better way than the "Is Video -True" method. Also your pan and tilt should be simple to implement.
    Let us know,
    John

    Leave a comment:


  • lj502
    replied
    Sheriff,
    Can you open the camera page (link) that you used in your project from your iPads browser (not in HSTouch) if you can bring it up there then we can make it work in HSTouch. Also did you deploy the same project file to both your windows machine and your iPad? If so that may be it right there.
    John

    Leave a comment:


  • lj502
    replied
    You need to make an event in Homeseer to run a hsscript (gotta look and check which call) for each button and then in HSTouch point your buttons at each respective event.

    John

    Leave a comment:


  • loowee
    replied
    hstouch PTZ control

    Note that I use the insteon ptz cam which I figured was copied from the foscamm which is probably another copy of some chinese product.

    Works well. Im surprised noone ever mentionned this on this forum yet...

    Just need to get the controls to pass from hstouch to the IP cam and I'll be a happy camper. Hstouch is clearly not a finished product but after many months of going around all bugs, I managed to get a decent interface working on android.

    Leave a comment:


  • loowee
    replied
    hstouch PTZ control

    Hi Sheriff !

    I fiddled around a bit with that thing and got the controls to work with the FOSCAM command parameters.

    Here is a link to the commands for controls : http://www.foscam.es/descarga/ipcam_cgi_sdk.pdf

    It is basically a direct URL that triggers the appropriate command. My question for the HStouch guys is now : How do I call a direct URL ( http://192.168.0.85:81/decoder_control.cgi?command=0&onestep=0 ) for example from an hstouch standard button ?

    The command 0 in this case triggers an UP movement of one step.

    As for the video feed, simply make a text element, check ISHTML and use this code for the text : http://192.168.0.85:81/snapshot.jpg?...=******&strm=0

    Have fun !

    Leave a comment:


  • Sheriff
    replied
    I guess Foscams don't really work in HSTouch...

    Thanks loowee. I just don't understand since HS markets these Foscams as being fully functional within the software. Can you point me towards info on how to create the HTML page you reference?

    Leave a comment:

Working...
X