Announcement

Collapse
No announcement yet.

Is scripting still available?

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

    Is scripting still available?

    Hi, I used scripts with iAutomate RFID plugin in HS2. Is it possible to use scripts with this new HS3 version? I don't see any references to scripting in the manual.

    Thanks

    #2
    http://board.homeseer.com/showthread.php?t=160063


    tenholde
    tenholde

    Comment


      #3
      Sorry if my previous post wasn't clear. I want to know the methods and properties of iAutomate RFID for scripting. It was documented with HS2 version, but I don't see that in the latest release.

      Comment


        #4
        Originally posted by seguinr View Post
        Hi, I used scripts with iAutomate RFID plugin in HS2. Is it possible to use scripts with this new HS3 version? I don't see any references to scripting in the manual.

        Thanks
        Scripts were never intended to be the primary interface between the RFID system and HomeSeer and I'm not sure what carried over to HS3. We'll test a few, but for the time being, I think you can make the following calls for JSON results:

        http://(server)/RFIDGetData?Command=Value

        Command is NOT case sensitive, so in these examples you do not need to put it exactly as I have it.

        http://(server)/RFIDGetData?GetReaders=
        Returns all of the readers found JSON encoded - which means you have to wait until the discovery of all of the readers is finished or it will return "No Readers Found".

        http://(server)/RFIDGetData?GetReader=X
        Same as above except it only gets Reader #X

        http://(server)/RFIDGetData?GetAllTags=
        Returns all of the tags at all of the readers JSON encoded. If there are none, it returns "No tags found" or something like that.

        http://(server)/RFIDGetData?GetTagsAtReader=X
        Same as above, except just the tags at reader #X.

        http://(server)/RFIDGetData?GetTag=XXX
        Same as above except it only gets Tag #XXX at all readers

        Update: All the scripting functions in the HS2 iAutomate RFID Scripting.pdf still exist except for GetTagCount or GetTagByIndex
        So you can use either the old scripts or the new JSON API.

        We'll edit the document this week and post a link to download the PDF.

        Peter
        Last edited by pmonahan; December 1, 2015, 10:05 AM.

        Comment

        Working...
        X