Announcement

Collapse
No announcement yet.

TextSeer (and WPseer) discussion

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

  • #16
    Yes - Scripts

    It was late in the evening when I posted this but I have no excuse because English IS my first language. Thanks for understanding what I meant when I said Events and not Scripts.

    If you could allow a script to be run directly and supply a parameter it would make just about anything possible and simple via a URL using Textseer.

    Posting all of the URL options on a thread here would be very nice.

    You should start a Paypal Donation account. I would contribute a few dollars.

    VERY COOL.

    Comment


    • #17
      The plugin is updated, download 0.0.3 here: http://board.homeseer.com/showthread.php?p=1122376

      It now supports scripts and "smart toggle" (toggle between "off" and "On Last Level" IF IT EXISTS or just "On" if not.

      Also I'm doing some caching of the device list, to speed things up. It gets refreshed every 5 minutes now.
      HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
      Running on Windows 10 (64) virtualized
      on ESXi (Fujitsu Primergy TX150 S8).
      WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

      Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

      Comment


      • #18
        Wow - Quick Work - Thanks

        Thanks for the quick work.

        Question - If you specify

        parameter=some value

        on the URL it always matches the FIRST parameter in the header of your script function no matter the name of the parameter in the script header.

        I have this in a script called test.vb:
        Code:
        Sub Main(Parm1 as Object)
        
          hs.WriteLog("TextSeer", "Test text.vb script passed parm1 = (" & Parm1 & ")"  )
        
        end sub
        in the script.

        and the URL is (with real values substituted for the xxx):
        Code:
        http://xxx.xxx.xxx.xxx/textseer?script=test.vb&sub=main&parameter=val1
        I get this in the log:
        Code:
        Test text.vb script passed parm1 = (val1)
        This implies you can pass only a single parameter which is OK because I could append several values with delimiters like (a;b;c) and parse them in the script.

        Can you verify that I am using this correctly?

        THANKS for the new features.

        Comment

        Working...
        X