Announcement

Collapse
No announcement yet.

Receving "Incomplete IR Event" responses from Plugin, Resetting it Fixes Temporarily

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

    Receving "Incomplete IR Event" responses from Plugin, Resetting it Fixes Temporarily

    Hello, I'm using the plugin to control a Global Cache GC-100-06 device and, in general, this has been working pretty well.

    Over the last week or so, however, the plugin is malfunctioning intermittently. When this happens, the logs are reporting a message of "Incomplete IR Event" from the plugin. When this happens all IR commands fail to function. I can still access the WebGUI of the Global Cache device when this happens, and power cycling the Global Cache doesn't resolve things either, the single point of unity here seems to be the plugin itself.

    In every case, I can just disable/re-enable the plugin and it will work again. This is happening with increasing frequency, however, as I'm now resetting the plugin almost every day to clear this condition.

    I have just enabled the enhanced logging for the plugin so I'll review that standalone log file if/when the issue presents itself, but wanted to ask if this was something known or if anyone had any suggestions.

    This is HS4 on Linux Ubuntu 20.x

    thank you,
    Adam

    #2
    Hi Adam,

    Thanks for the info. Sorry you're experiencing a problem. I've just shut down my system as I'm about to move house. However, if you can shoot me over those enhanced logs, I'll take a look. I think I may have an idea as to what is going on already but can't test anything right now. I'll do my best to work with you on a fix but it may take a little longer than either of us would like because of my move. Hope that's ok.

    -David

    Comment


      #3
      Thanks, David, will-do. I did just experience another case of it, second time today. Sadly, I rebooted and that recycled the logs so I lost it...next chance I get I'll report back the logs. I'll post the pertinent parts here once I have 'em. Appreciate your help on this, it's a great little plugin and has been working great until just recently.

      Kind regards,
      Adam

      Comment


        #4
        Hi David, thanks for being patient,...I thought it might not repeat itself but sure enough last night it did this again. I'll attach the full log file here for reference but here's what appear to me to be the pertinent bits. Thanks very much for any help or assistance.

        Code:
        0/8/2020 9:53:08 PM Start Global Cache IR Receivers...
        10/8/2020 9:53:08 PM Listening for Global Cache devices...
        10/8/2020 9:53:08 PM Listening for IRTrans broadcasts...
        10/8/2020 9:53:13 PM Sending IRTrans UDP Discover...
        10/8/2020 9:53:13 PM Sending Udp packet to 255.255.255.255:21000
        10/8/2020 10:04:40 PM GC-100-06 (10.10.33.32) - send HDMI A Channel 2
        10/8/2020 10:04:41 PM Received 18 response bytes from 10.10.33.32 in 695ms : completeir,2:2,90
        10/8/2020 10:05:12 PM Incomplete IR event
        10/8/2020 10:05:12 PM Incomplete IR event
        10/8/2020 10:05:16 PM Incomplete IR event
        10/8/2020 10:05:16 PM Incomplete IR event
        10/8/2020 10:05:20 PM Incomplete IR event
        10/8/2020 10:05:20 PM Incomplete IR event
        10/8/2020 10:05:27 PM GC-100-06 (10.10.33.32) - send HDMI A Channel 3
        10/8/2020 10:05:27 PM Received 18 response bytes from 10.10.33.32 in 697ms : completeir,2:2,44
        10/8/2020 10:05:34 PM Incomplete IR event
        10/8/2020 10:05:34 PM Incomplete IR event
        10/8/2020 10:05:35 PM Incomplete IR event
        10/8/2020 10:05:35 PM Incomplete IR event
        Attached Files

        Comment


          #5
          Thanks. Do each of the "Incomplete IR event" messages correspond to a failed attempt to send an IR command? Also, can you share with me the IR codes you are using?

          Comment


            #6
            Ok, I think I've answered my own question. I've looked at the code again and the "Incomplete IR event" message is caused whenever an event is triggered and one or more of the following isn't configured in the event action: The IR Sender, IR Command, IR LED or Repeat count. Can you double check your event config? If that looks OK but still isn't working, please can you share some screenshots of your event?

            Comment


              #7
              It's weirdly inconsistent, but it seems to have this problem on a specific IR code which is here:
              Code:
              0000 006E 0022 0002 015A 00A9 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0016 003F 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 05D3 0157 0054 0016 0E0D
              I did a quick side-by-side comparison and it's the right length from what I can tell. Here's another curious item...it works when I run it through an event, but it does not work when my event is triggered off of a virtual device.

              To make this Alexa friendly, I've created a virtual device with just a basic On/Off status. I use the triggering of that device to "on" to run the event which sends the IR command through the GC-100-06. Then the same event turns that virtual device off again.

              What I've noticed is that if I just click on the event to run it manually, it works correctly...if I click on the device, it does indeed trigger the event in HS but that is where we are getting the "Incomplete IR".

              To troubleshoot, I went ahead and deleted the event all together, and created a brand new one, and sure enough, now it's working correctly once more.

              I'm OK with that if you are, and once again, thanks for your support on this, I really do appreciate it.

              Thanks again!
              Adam

              Comment


                #8
                Thanks for the feedback Adam. The most important thing is that you've got it working correctly! :-) I'm especially pleased because as I said earlier, I've packed all my HA equipment up because I'm in the middle of moving house.

                Let's keep an eye on it and fingers crossed all is OK. I do have the code on my laptop, so we can try a few things if necessary. At the very least, I'll improve the error reporting of that particular condition in the next release.

                Cheers!
                -David

                Comment

                Working...
                X