Announcement

Collapse
No announcement yet.

RequestStatus question

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

  • RequestStatus question

    I'm trouble-shooting a script and trying to use the RequestStatus Method.

    I have both log messages to HomeSeer and log messages from Rain8Net checked but see no activity when using this method.

    PHP Code:
    hs.PluginFunction("BLRain8Net""1""RequestStatus"Nothing
    Shouldn't I see the request and response in the log? I see both when using other commands.

    Also the valve devices aren't always faithfully reporting the true state of the valves.

    Thanks
    Don

  • #2
    Can you capture a debug log of this and attach it zipped
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Here you go. I turned off two stations and then requested status.
      Attached Files
      Don

      Comment


      • #4
        I do not see a call to RequestStatus in the log so I will need to take a look at the code and let you know
        Can u log this as a ticket on my help desk so I can keep track of it

        Thanks
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


        • #5
          OK
          Don

          Comment


          • #6
            I see you are using this:

            Code:
            hs.PluginFunction("BLRain8Net", "1", "RequestStatus", Nothing)
            So you have a BLRain8Net instance named "1"?
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment


            • #7
              Originally posted by Blade View Post
              I see you are using this:

              Code:
              hs.PluginFunction("BLRain8Net", "1", "RequestStatus", Nothing)
              So you have a BLRain8Net instance named "1"?
              No, the instance is named 'Main'.
              Unless I'm misunderstanding the docs, it's asking for the address. I'll try 'Main' and see if that helps.
              Attached Files
              Don

              Comment


              • #8
                My bad - the doc is wrong
                Try this:

                Code:
                hs.PluginFunction("BLRain8Net", "", "RequestStatus", New Object(){"1"})
                Cheers,
                Bob
                Web site | Help Desk | Feature Requests | Message Board

                Comment


                • #9
                  That worked. Thanks.

                  I might have a bad controller, as nothing is coming back... SH#T!
                  Don

                  Comment

                  Working...
                  X