Announcement

Collapse
No announcement yet.

FOSCAM in HSTouch - Solution!

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

    FOSCAM in HSTouch - Solution!

    Hi Guys

    Please help me.
    I am really struggling to get something to work.

    I have a FOSCAM FI9826P V2
    1280*960 (1.3 Megapixel)
    H.264 (960P)
    microphone
    speaker
    zoom
    pan/tilt/ir

    It works correctly in the default Android Tablet HSTouch 1024 landscape (however this uses the Select Device menu).

    I have my own Project going on where I want my single camera to show on it.

    In a Chrome Browser the following command works:
    http://IPADDRESS:PORT/cgi-bin/CGIPro...pPicture2&usr=[USERNAME]&pwd=[PASSWORD]
    (I do not know if this is a still image or live stream but my NetCAM plugin uses it to take snapshots)

    RTSP does not seem to work... in a browser or on tablet.

    Please can someone tell me where to begin, even the elements & element settings...
    (1) create the video window
    (2) create a button to pan left

    I have been using the posts on here, the Developer contents file, and have just got myself in a pickle.

    Thank you

    #2
    Solution

    Adding the Camera

    1. Insert a Picture Element into the page.
    2. Select ImageFormat="Stretched"
    3. Select isVideo Property to "True"
    4. Select Image URL= "http://192.168.0.10:80/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=*****&pwd=******"


    Adding a LEFT/RIGHT/UP/DOWN

    1. Insert a Button Element
    2. Select ActionsWhenPressed, press Add
    3. Select "HomeSeer: Run a HomeSeer script with values from Elements"
    4. Leave ScriptProcedure Main
    5. In script type:
    Code:
    &hs.GetUrl("http://192.168.0.10:80/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveLeft&usr=*****&pwd=******","",True,80)
    5. Press OK

    6. Select ActionsWhenReleased, press Add
    7. Select "HomeSeer: Run a HomeSeer script with values from Elements"
    8. Leave ScriptProcedure Main
    9. In script type:
    Code:
    &hs.GetUrl("http://192.168.0.10:80/cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun&usr=*****&pwd=******","",True,80)
    10. Press OK


    Adding a Preset

    1. Insert a Button Element
    2. Select ActionsWhenReleased, press Add
    3. Select "HomeSeer: Run a HomeSeer script with values from Elements"
    4. Leave ScriptProcedure Main
    5. In script type:
    Code:
    &hs.GetUrl("http://192.168.0.10:80/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=Kitchen&usr=*****&pwd=******","",True,80)
    6. Press OK
    OpEx: Case Sensitive 'kitchen' will not work if Preset is 'Kitchen'


    Extra Commands:
    Cruise Vertical cmd=ptzStartCruise&mapName=Vertical
    Cruise Horizontal cmd=ptzStartCruise&mapName=Horizontal
    Cruise Stop cmd=ptzStopCruise
    Cruise Set cmd=ptzSetCruiseMap&name=Horizontal

    Set IR Auto cmd=setInfraLEDConfig&mode=0
    Set IR Manual cmd=setInfraLEDConfig&mode=1
    IR LEDs on cmd=openInfraLed
    IR LEDs off cmd=closeInfraLed

    Record Start cmd=StartRecord
    Record Stop cmd=StopRecord

    Get Config cmd=getMotionDetectConfig
    Get Cruise Map Info cmd=ptzGetCruiseMapInfo&name=Horizontal
    Get RecordList cmd=getRecordList

    Get Snap 1 cmd=snapPicture
    Get Snap 2 cmd=snapPicture2
    Get SnapConfig cmd=getSnapConfig
    Set SnapConfig cmd=setSnapConfig&snapQuality=1&saveLocation=0

    Motion ON
    cmd=setMotionDetectConfig&isEnable=1&linkage=6&snapInterval= 1&sensitivity=1&triggerInterval=0&schedule0=281474976710655& schedule1=281474976710655&schedule2=281474976710655&schedule 3=281474976710655&schedule4=281474976710655&schedule5=281474 976710655&schedule6=281474976710655&area0=1023&area1=1023&ar ea2=1023&area3=1023&area4=1023&area5=1023&area6=1023&area7=1 023&area8=1023&area9=1023

    Motion OFF
    cmd=setMotionDetectConfig&isEnable=0&linkage=6&snapInterval= 1&sensitivity=1&triggerInterval=0&schedule0=281474976710655& schedule1=281474976710655&schedule2=281474976710655&schedule 3=281474976710655&schedule4=281474976710655&schedule5=281474 976710655&schedule6=281474976710655&area0=1023&area1=1023&ar ea2=1023&area3=1023&area4=1023&area5=1023&area6=1023&area7=1 023&area8=1023&area9=1023


    Hope this helps others
    Last edited by smokeycoles; June 3, 2016, 05:15 PM.

    Comment

    Working...
    X