Are there any videos of the remote being used?

More
2 years 3 weeks ago #2900 by Nillaz

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.
 
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.

What I did was open the myServer Live Event log and just watched what was happening while I pressed a direction button. On IP it starts sending the same command repeatedly, at the rate of maybe a little more than once per second. Once I let go of the button I see the command still being sent repeatedly for a variable amount of time, and this varies based on how long I had the button pressed for. When I switch to IR commands I see the same behavior, but now the command is being sent at a rate of about 3 times each second.

I just checked my AppleTV and it does the same thing with that device as well. I did not check my bluray player or PS5 but I suspect this will be the case with those devices as well.

If I do the same thing with the volume controls (which is linked to my Denon) it does the same thing looping the volume up/down command, with the difference being that as soon as I release the volume button the commands stop being sent immediately.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2901 by Nillaz

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
 
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'd hate to see what would happen if I held the button for 30 seconds. I'd probably have enough time to go make a cup of coffee before it finished lol.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2902 by Nillaz

Have you tried selecting your project in MyDesigner and clicking the "Update Project" button, just to make sure everything is up to date?
 
I do this each time there is a myDesigner update and just did it again just to be safe. Unfortunately there's no change.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2911 by bowlingbeeg
Replied by bowlingbeeg on topic Are there any videos of the remote being used?
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 to join the conversation.

More
2 years 3 weeks ago #2913 by Nillaz

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.
 
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.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2916 by retate

it'll be better to come back to it in a few days with fresh eyes and better composure. 
 
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.

Please Log in to join the conversation.

Time to create page: 0.292 seconds