I did originally think that the commands were possibly being buffered by the Shield, but after I watched the myServer log last night that doesn't appear to be the case. You make a good point about myServer maybe only adding an entry to the log once it receives an acknowledgement from the Shield, but I have no way of determining that and since the behavior is the same when sending an IR command I assume it simply posts entries to the log as it issues commands in real time. I could be wrong but to me logically if it was otherwise the server would log a TX command sent and an RX response received for debugging purposes.Without knowing how it works, it is difficult to draw conclusions.
You are assuming that the commands are sent instantly, and any buffering is happening on the shield. You are also assuming that the log file entry is written at the time the command is sent.
If the buffering happens on the server side, and messages are logged only after receiving a "command complete" message from the shield, then it could be a speed problem after all. But in that case, they could flush the buffer as soon as you release the button.
Continuing that thought, perhaps the way they flush the butter is to process every buffered command, but not send it to the shield. This could result in entries appearing in the log file even if no command is sent.
Tell me what you are doing, and what to look for. (I am not sure how to make sure things are actually being logged, or how to view them.) I'll try it on my setup and let you know if I see anything different.
Please Log in or Create an account to join the conversation.
Thanks for checking this! This is pretty much exactly what I see in my log, except it keeps issuing the command. I'm looking at the timestamps in the log and I just held the button for about 2 seconds but it continued repeating the command for 7 seconds total. I repeated it and held the button for 4 seconds and it continued issuing the command for 12 seconds total. Holding the button for about 10 seconds resulted in about 30 seconds of commands lol.I use it on my AppleTV(IP), Ziddo(HTTP), Ugoos AM6B+(Kodi), and TiVo(IP) all without issues. I have an old chromecast lying around so I tried that today to see if it was an ADB issue or something and it worked exactly how I would expect it to. Hold it down and it keeps sending the command until you let go of the button and then it stops.
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:46.57 · DEBUG · Server.doCommand - AV|66~SendKey~Right from myremote
12/07/2024 14:57:46.57 · DEBUG · AndroidTV.doCommand - Cmd=[66~SendKey~Right] Client=[myremote]
12/07/2024 14:57:52.57 · DEBUG · AndroidTV.CheckAdb - Checking for ADB running
12/07/2024 14:57:52.57 · DEBUG · AndroidTV.CheckAdb - List of devices attached 192.168.20.59:5555 device 192.168.20.71:55055 device
Please Log in or Create an account to join the conversation.
I do this each time there is a myDesigner update and just did it again just to be safe. Unfortunately there's no change.Have you tried selecting your project in MyDesigner and clicking the "Update Project" button, just to make sure everything is up to date?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I tried rebooting everything and no dice. Actually I was going to try a lot of things today but keep running into snags with all kinds of really basic stuff so I think I'm going to walk away from it for now. I was starting to get epically pissed so it'll be better to come back to it in a few days with fresh eyes and better composure. If I still can't get anywhere at that point I agree it'll probably be beneficial to ask Dave to take a look when he has a spare moment, but I don't want to bother him until I've exhausted every possible avenue.I know it works on my Apple TV so there is something definitely wrong. Just not sure what it could be. I might try rebooting both myServer and the smart remote just to see if that clears things up. Otherwise we might need to Dave to help out.
Please Log in or Create an account to join the conversation.
Having spent many years as a software developer I found it was frequently to my benefit to take a break when I was not able to make progress troubleshooting a problem. Sometime even setting something aside for only an hour or two was sufficient to see what I had been missing. The other thing I found was for some really tough problems there are times where you need to start over at the beginning and recheck all of your assumptions / decisions because you have followed a wrong path.it'll be better to come back to it in a few days with fresh eyes and better composure.
Please Log in or Create an account to join the conversation.