Announcement

Collapse
No announcement yet.

Not restoring Speaker

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Not restoring Speaker

    I am having a speaker relay toggle from on to off. I am using the ADIOcelot plugin along with the SpeakEasy plugin to control a RLY8-XA module. I can get the speaker to come on ok but it will not restore or unlatch the relay. Any ideas?

    #2
    How are you trying to get it to restore?

    Are you using Restore after Idle to Restore Scene? And if so, what's your Restore Scene set to? Also, do you have a timeout set?

    It may be easier to either post a picture of your config screen or the [SpeakEasy] entries from the Settings.ini file in the /config directory.

    I have an Ocelot with a Secu16 module and it properly sets and resets those relays. Tink also has a RLY8 and it works for him as well. I'm working on a logic issue with him on [Loc] statements not participating in the previous queue. But they do latch and unlatch correctly.

    George

    Comment


      #3
      Thanks for the quick reply George,

      Here are my ini settings:

      [hspi_SpeakEasy]
      Version=1.1.1
      gBaseCode=93
      SpkrMethod=ADIOcelot
      SpkrAB8SSAB=A
      SpeakerAlwaysSwitch=False
      SpeakerInvertOutputs=0,0,0,0,0,0,0,0
      SpkrOcelot=1,1,1,1,1,1,1,1~0,1,2,3,4,5,6,7~#1,#2,#3,#4,#5,#6 ,#7,#8
      SpeakerRestoreMethod=After Each
      SpeakerRestoreTo=Previous
      SpeakerRestoreDefault=Off
      SpkrLocation=Master Bedroom,Guest Bedroom,Office,Living Room,Family Room,Theater,,
      SpeakerDefault=Off
      Priority=3
      QueueMode=True
      LogMode=Off
      SpeakerIdleTimeout=1
      SpkrScene=Downstairs,Upstairs,Inside,Outside,,,,~2+3+4,5+6,2 +3+4+5+6+8,7,,,,

      I think one of my issues is that I am using one relay for two purposes. What I mean is,
      I have a stereo receiver hooked to the normally open side and when I want to switch to speech I turn the relay on. This changes the relay to the normally closed side and is then conntected to the receiver driving the VR. What I need is for the plugin to set the relay back to it's normally open setting.

      Hope this helps.

      Comment


        #4
        I've always had problems with doing restores after Each.

        Do me a favor for a test.

        Change your settings to Restore After Idle to Restore Scene

        Then set the Restore Scene to the state that you want the speakers to be in after speaking is done.

        Also, don't forget to set the idle timeout to something higher than 1 to give it time to settle. 10 should be ok.

        Let me know if that works.

        If so, I'll know where to look. If not, we may have to turn on debugging so I can track what's happening from speech start to speaker restore.

        G

        Comment


          #5
          Hi George,

          Sorry but no joy. Here is a dump of the debug. Let me know if I should do something different.

          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Trigger Actions: SpeakEasy-No ActionOffNoneNo ActionHighNo Action3No Action
          5/27/2004 9:41:17 PM~!~SpeakEasy~!~Debug Level set to 3
          5/27/2004 9:41:17 PM~!~Event Trigger~!~Trigger from menu (SpeakEasyTest)
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Received Dev=100 W=False -> [High Loc MasterBedroom] This is a test!
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~GML Keywords: 3 | | MasterBedroom | | | | | | | |
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~GML Tags: 3 | | MasterBedroom | | | | | | | |
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Enter mhsSwitchSpeakers: MasterBedroom
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Enter mhsIssueSwitch: ADIOcelot 1
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Requested Config Bitmap = b'10000000'
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Existing Ocelot bitmap = b'00000000'
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,0,True
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,1 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,2 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,3 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,4 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,5 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,6 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,7 skipped, already in current state
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~New Config Bitmap = b'10000000'
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Issuing SpeakProxy: Device =100 Wait=False Text= This is a test!
          5/27/2004 9:41:17 PM~!~SpeakEasy Debug~!~Audio has started
          5/27/2004 9:41:18 PM~!~SpeakEasy Debug~!~Audio has ended
          5/27/2004 9:41:18 PM~!~SpeakEasy Debug~!~Set IdleTimer: 10000 msecs
          5/27/2004 9:41:18 PM~!~SpeakEasy Debug~!~Audio has started
          5/27/2004 9:41:20 PM~!~SpeakEasy Debug~!~Audio has ended
          5/27/2004 9:41:20 PM~!~SpeakEasy Debug~!~Set IdleTimer: 10000 msecs

          Comment


            #6
            I see the timer being set but I don't see it popping. That's what causes the speakers to be reset. What did you set the idle timeout to be? There should have been lots of log entries after the timer expired. Was this all that was in the log after what seems to be the 10 second interval expired?

            Comment


              #7
              OK, I cleared the log and reran the test. This is all that is written to the log from the test.

              5/28/2004 5:57:47 AM~!~SpeakEasy Debug~!~Trigger Actions: SpeakEasy-No ActionOffNoneNo ActionHighNo Action3No Action
              5/28/2004 5:57:47 AM~!~SpeakEasy~!~Debug Level set to 3
              5/28/2004 5:57:47 AM~!~Event Trigger~!~Trigger from menu (SpeakEasyTest)
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Received Dev=100 W=False -> [High Loc MasterBedroom] This is a test!
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~GML Keywords: 3 | | MasterBedroom | | | | | | | |
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~GML Tags: 3 | | MasterBedroom | | | | | | | |
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Enter mhsSwitchSpeakers: MasterBedroom
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Enter mhsIssueSwitch: ADIOcelot 1
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Requested Config Bitmap = b'10000000'
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Existing Ocelot bitmap = b'00000000'
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,0,True
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,1 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,2 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,3 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,4 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,5 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,6 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,7 skipped, already in current state
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~New Config Bitmap = b'10000000'
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Issuing SpeakProxy: Device =100 Wait=False Text= This is a test!
              5/28/2004 5:57:48 AM~!~SpeakEasy Debug~!~Audio has started
              5/28/2004 5:57:49 AM~!~SpeakEasy Debug~!~Audio has ended
              5/28/2004 5:57:49 AM~!~SpeakEasy Debug~!~Set IdleTimer: 10000 msecs
              5/28/2004 5:57:49 AM~!~SpeakEasy Debug~!~Audio has started
              5/28/2004 5:57:51 AM~!~SpeakEasy Debug~!~Audio has ended
              5/28/2004 5:57:51 AM~!~SpeakEasy Debug~!~Set IdleTimer: 10000 msecs
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Enter mdSpeakerTimeout
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Enter mdSpeakerRestore: Restore Scene, Timeout = True
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Enter mhsSwitchSpeakers: None
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Enter mhsIssueSwitch: ADIOcelot 0
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Requested Config Bitmap = b'00000000'
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Existing Ocelot bitmap = b'00000000'
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,0 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,1 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,2 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,3 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,4 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,5 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,6 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~Ocelot SetPoint: 1,7 skipped, already in current state
              5/28/2004 5:58:01 AM~!~SpeakEasy Debug~!~New Config Bitmap = b'00000000'
              5/28/2004 5:58:01 AM~!~Info~!~Exec command: MASTER BEDROOM MBLIGHT Preset Dim dim: 28 extra: 0
              5/28/2004 5:58:01 AM~!~Info~!~Exec command: MASTER BEDROOM MBLIGHT Preset Dim dim: 28 extra: 0
              5/28/2004 5:58:31 AM~!~Info~!~Exec command: MASTER BEDROOM MBLIGHT Preset Dim dim: 29 extra: 0
              5/28/2004 5:59:01 AM~!~Info~!~Exec command: MASTER BEDROOM MBLIGHT Preset Dim dim: 30 extra: 0
              5/28/2004 5:59:31 AM~!~Info~!~Exec command: MASTER BEDROOM MBLIGHT Preset Dim dim: 31 extra: 0
              5/28/2004 6:00:00 AM~!~Event Trigger~!~Recurring Trigger (WestminsterChime)
              5/28/2004 6:00:00 AM~!~SpeakEasy Debug~!~Trigger Actions: SpeakEasy-No ActionNo ActionNo ActionNo ActionNo ActionNo ActionNo ActionNo Action
              5/28/2004 6:00:00 AM~!~Event Trigger~!~Recurring Trigger (WeatherWarnings)
              5/28/2004 6:00:00 AM~!~Event Trigger~!~Recurring Trigger (Weather Warnings.txt )
              5/28/2004 6:00:42 AM~!~Event Trigger~!~Recurring Trigger (Weather XML)
              5/28/2004 6:01:26 AM~!~Event Trigger~!~Trigger from menu (Ocelot Relay Test Off)
              5/28/2004 6:01:32 AM~!~SpeakEasy Debug~!~Trigger Actions: SpeakEasy-No ActionNo ActionNo ActionNo ActionNo ActionNo ActionNo ActionNo Action
              5/28/2004 6:01:32 AM~!~Event Trigger~!~Trigger from menu (Ocelot Relay test ON)

              Comment


                #8
                Ok,

                This is what the log is telling me.

                If you notice the requested bitmap for the restore at 5:58:01 is b'00000000' or all off. The ADIOcelot plugin reported that the current state of the relay are b'00000000' so the plugin skipped issuing the command to turn number 1 off.

                I don't know if something else in your setup turn it off but I doubt it being you are saying that it's still on. I use an hs.ison on the Ocelot device to determine it's state. If the ACDIOcelot is not setting the HS device status correctly, #1 in your case, then the plugin has no way to know what state the relay is in.

                There is a way you can bypass this. You can set the 'Always Switch' flag on. That tells SpeakEasy to ignore the current reported state of the relays and always issue the SetPoint commands. This should fix your problem but doesn't fix the underlying problem that the ADIOcelot plugin doesn't seem to be setting the device ON or OFF to reflect it's status. It will work but instead of issuing only 2 switch commands, as you can see above 1-on then 1-off, the plugin will issue 16 command everytime. Not overhead optimal but it will work.

                If that works look at this as well. Switch to the device display screen. Issue a speech phrase and look at #1. See if it goes on and then off after 10 seconds. Then goto the SpeakEasy Group and look at the SpeakEasy device 1, you will see that it does go on and then off. If #1 doesn't follow this then the ADI plugin is not setting it's status correctly.

                G

                Comment

                Working...
                X