Announcement

Collapse
No announcement yet.

Double ASR and plugin command calls?

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

    Double ASR and plugin command calls?

    I'm working with my new Echo and the Skill method and my Insteon Thermostat plugin using HS3.0.0.258 downloaded yesterday.

    I've noticed many times when sending one voice command to Alexa to control one my my HS3 devices that I see two "ASR" voice command lines the log followed by two command calls to my plugin. The first does what's asked and the second shows it's ignoring it as it's already been done.

    Any idea why there would be duplicate calls to a plugin when only one command has been given to Alexa and one log showing that command was heard?

    Apr-02 9:57:47 AM Insteon Thermostat SetHold: Thermostat HeatPump1 already set to hold. No change required.
    Apr-02 9:57:47 AM Insteon Thermostat SetHold: Thermostat HeatPump1 set to hold.
    Apr-02 9:57:47 AM TTS Speak (json:OK, I will set pause program to hold
    Apr-02 9:57:47 AM ASR Device voice command: set pause program to hold
    Apr-02 9:57:47 AM ASR Device voice command: set pause program to hold
    Apr-02 9:57:47 AM Info Heard: set pause program to hold
    HS 3.0.0.435 (PRO)
    Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
    Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
    Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
    http://www.kazteel.com/

    #2
    I did some more testing and it appears that my plugin is being called twice for a single voice command. A single "Heard:" is shown but then two ASR lines and two separate calls to the setIOMulti are made. Any ideas?

    The log below is in descending order.

    Apr-03 10:54:11 AM Info Heard: set cooling to seventy seven degrees
    Apr-03 10:54:11 AM ASR Device voice command: set cooling to seventy seven degrees
    Apr-03 10:54:11 AM ASR Device voice command: set cooling to seventy seven degrees
    Apr-03 10:54:11 AM TTS Speak (json:OK, I will set cooling to seventy seven degrees
    Apr-03 10:54:11 AM Insteon Thermostat SetIOMult called - CAPI [CC.Ref] [Idx] [Val] [Row] [Col] [Span] [Type] [String] [Label]
    Apr-03 10:54:11 AM Insteon Thermostat CAPI [589] [81] [70] [1] [1] [0] [2] [] [70]
    Apr-03 10:54:11 AM Insteon Thermostat SetIOMulti: [pump Cool] value [70]
    Apr-03 10:54:11 AM Insteon Thermostat SetCoolSetpoint: pump Cool SetPoint = 70
    Apr-03 10:54:11 AM Insteon Thermostat SetIOMult called - CAPI [CC.Ref] [Idx] [Val] [Row] [Col] [Span] [Type] [String] [Label]
    Apr-03 10:54:11 AM Insteon Thermostat CAPI [589] [81] [70] [1] [1] [0] [2] [] [70]
    Apr-03 10:54:11 AM Insteon Thermostat SetIOMulti: [pump Cool] value [70]
    Apr-03 10:54:11 AM Insteon Thermostat SetCoolSetpoint: Current and requested cool set points match. No change required.
    HS 3.0.0.435 (PRO)
    Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
    Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
    Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
    http://www.kazteel.com/

    Comment


      #3
      Could you post an image of the status pair of the device?
      Wade

      "I know nothing... nothing!"

      Comment


        #4
        I think this is the image you're looking for. Not sure if we should combine this conversation with the one about "Thermostats working ok?" http://board.homeseer.com/showthread...=180377&page=2

        Thanks
        Nathan
        Attached Files
        HS 3.0.0.435 (PRO)
        Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
        Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
        Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
        http://www.kazteel.com/

        Comment


          #5
          I have isolated this issue.

          You should see a fix for this in the next beta.
          Wade

          "I know nothing... nothing!"

          Comment


            #6
            I loaded up HS3.0.0.280 and ran a couple tests and the double ASR issue seems to be fixed.

            Thanks!
            Nathan
            HS 3.0.0.435 (PRO)
            Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
            Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
            Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
            http://www.kazteel.com/

            Comment

            Working...
            X