Announcement

Collapse
No announcement yet.

Camera view

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

    #31
    FINALLY!!!

    Sub Main(ByVal Parm As Object)

    hs.writelog ("test","dd")
    hs.PluginFunction("HSTouch Server", "", "ClientAction", {43, "iPad:iPad", "New Screen:ImageVideo", "http://www.fatpaint.com/images/best-web-tool.png"})

    hs.WaitSecs(2)

    hs.PluginFunction("HSTouch Server", "", "ClientAction", {43, "iPad:iPad", "New Screen:ImageVideo", "http://www.fatpaint.com/images/make-logo.jpg"})

    hs.WaitSecs(2)

    End Sub

    I Have no idea why this was causing all kinds of almost red herring errors!. The error reporting for a script is not exactly helpful
    PHEW! as a newbie that required a lot of searching the forums and trying lots of "hit and hope"

    Though it does work ; it does cause me to think of 10 other questions why/how 😁

    Comment


      #32
      Well!

      I kind of have success.
      I've got camera feeds working but it's absolutely crippling the servers performance. I'm lucky if I can get 1 frame every 10 seconds!
      Even then HStouch becomes slow and unusable.

      Simply pointing a URL at the camera ip didn't cause the video to update

      So I went down this route:

      page = hs.GetURLImageEx("user***@192.168.8.21:80","/Streaming/Channels/102/picture","/html/piccynew13x.jpg",80)

      hs.PluginFunction("HSTouch Server", "", "ClientAction", {43, "iPad:iPad", "New Screen:ImageVideo", "C:\Program Files (x86)\HomeSeer HS3\html\piccynew13x.jpg"})

      Setting "is video" to true no matter what refresh rate seems to cause a problem.
      This script running doesn't seem to hog the cpu but as soon as I set "is video" it does.

      Don't understand what everyone else is doing to get a simple updating camera url that doesn't hog .....

      Comment

      Working...
      X