- Posts: 443
- Thank you received: 36
Are there any videos of the remote being used?
- Nillaz
- Offline
- User
-
Less
More
2 years 3 weeks ago #2891
by Nillaz
Are you using a ShieldTV or do you have another streaming device? I have no idea what I might be doing wrong here with the command repeats. I double checked and I believe I'm on the most recent fxSmartRemote.js build. My SmartRemote template matches the SmartRemote-Sample template and both have a file modification date of 03/25/24. I'm also on the latest myServer software and AndroidTV driver.
I just switched all of the DPAD commands back to IP control instead of my usual IR commands, removed all longpress commands associated with these buttons, and watched the log while I tried this with my ShieldTV. My first thought was that maybe the Shield is receiving too many commands too quickly and buffering them all but it actually looks like myServer keeps issuing the command after I let go of the button. I held the button for about 3 seconds, yet it continued repeating the command for approx another 9 seconds or so after I let go. If I hold the button longer myServer keeps repeating the command for an even longer duration.
The command I sent is "AV|{{active_shieldtv_{{clientname}}}}~SendKey~xxxxx" where xxxxx is obviously the button direction (to the best of my knowledge these are the default commands) but it's not behaving like the volume keys where when I let go of the button it INSTANTLY stops sending the command.
I just looked at the code in the fxSmartRemote.js file and I think I see the section that controls this (near the beginning of the file with the line that starts "onButtonPressed") but frankly for as much as I know about javascript I might as well be trying to decipher hieroglyphics. I'd REALLY love to get this fixed and correct my video. No one should have to sit through a half hour of me blathering on and still walk away with incorrect info lol.
Replied by Nillaz on topic Are there any videos of the remote being used?
Thanks man I appreciate it! I feel like the flow of this layout is pretty logical and efficient given that I don't want to spend a lot of time unnecessarily cycling in and out of pages or drilling down through menus to change settings or turn things on and off. I did spend a fair amount of time on the graphics with gradients, drop shadows, adjusting fonts, and extruding icons to make things as glanceable and finger friendly as I possibly could. Unfortunately a lot of it didn't get captured well by my webcam but it looks pretty great IRL and I couldn't be more pleased with how it all turned out!Nice video Nillaz! I think you have some nicer graphics than I do but the flow of things is fairly similar to what I have done. One thing I wanted to mention is that you said you couldn't hold down the directional arrows and have it send the command repeatedly. But it works that way for me and looking at the code in fxSmartRemote.js, I see the code that should keep sending the command. It's coded for the volume up/down and page up/down as well as the arrow keys. So you may want to go back and check into that.
Are you using a ShieldTV or do you have another streaming device? I have no idea what I might be doing wrong here with the command repeats. I double checked and I believe I'm on the most recent fxSmartRemote.js build. My SmartRemote template matches the SmartRemote-Sample template and both have a file modification date of 03/25/24. I'm also on the latest myServer software and AndroidTV driver.
I just switched all of the DPAD commands back to IP control instead of my usual IR commands, removed all longpress commands associated with these buttons, and watched the log while I tried this with my ShieldTV. My first thought was that maybe the Shield is receiving too many commands too quickly and buffering them all but it actually looks like myServer keeps issuing the command after I let go of the button. I held the button for about 3 seconds, yet it continued repeating the command for approx another 9 seconds or so after I let go. If I hold the button longer myServer keeps repeating the command for an even longer duration.
The command I sent is "AV|{{active_shieldtv_{{clientname}}}}~SendKey~xxxxx" where xxxxx is obviously the button direction (to the best of my knowledge these are the default commands) but it's not behaving like the volume keys where when I let go of the button it INSTANTLY stops sending the command.
I just looked at the code in the fxSmartRemote.js file and I think I see the section that controls this (near the beginning of the file with the line that starts "onButtonPressed") but frankly for as much as I know about javascript I might as well be trying to decipher hieroglyphics. I'd REALLY love to get this fixed and correct my video. No one should have to sit through a half hour of me blathering on and still walk away with incorrect info lol.
Please Log in to join the conversation.
- cjisble
- Offline
- User
-
Less
More
- Posts: 189
- Thank you received: 12
2 years 3 weeks ago #2892
by cjisble
Replied by cjisble on topic Are there any videos of the remote being used?
I believe the problem is that ADB is just too slow processing the directional arrows. Allonis isn't the only one with this problem. See this discussion:
allonis.com/forum/videostorm-irusb/257-n...ield-latency?start=0
I was going to order the IRUSB from Video Storm, but my primary use for the Shield is for Kodi. The Allonis Kodi device doesn't have the lag, because it doesn't use ADB. That's good enough for me for now.
allonis.com/forum/videostorm-irusb/257-n...ield-latency?start=0
I was going to order the IRUSB from Video Storm, but my primary use for the Shield is for Kodi. The Allonis Kodi device doesn't have the lag, because it doesn't use ADB. That's good enough for me for now.
Please Log in to join the conversation.
- Nillaz
- Offline
- User
-
Less
More
- Posts: 443
- Thank you received: 36
2 years 3 weeks ago #2894
by Nillaz
Replied by Nillaz on topic Are there any videos of the remote being used?
I agree about ADB being slow which is why I originally switched to IR. Based on what you are saying I just switched it back to IR control (via the ip2ir) and checked again. The behavior is the same...myServer continues to send directional commands after I let go of the button...it just sends the commands faster, and the longer I hold the button the longer it continues to send the commands after I let go of the button. As far as I can tell the problem isn't speed, it's precision.
I'm not opposed to purchasing some of the VideoStorm devices to test with (for science!), I'm just skeptical that it's going to solve the root of my issue. I have posted this question in the VideoStorm thread you linked and I guess I'll see what responses I get.
I'm not opposed to purchasing some of the VideoStorm devices to test with (for science!), I'm just skeptical that it's going to solve the root of my issue. I have posted this question in the VideoStorm thread you linked and I guess I'll see what responses I get.
Please Log in to join the conversation.
- cjisble
- Offline
- User
-
Less
More
- Posts: 189
- Thank you received: 12
2 years 3 weeks ago #2895
by cjisble
Replied by cjisble on topic Are there any videos of the remote being used?
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.
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.
The following user(s) said Thank You: Nillaz
Please Log in to join the conversation.
- bowlingbeeg
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 3 weeks ago #2897
by bowlingbeeg
Replied by bowlingbeeg on topic Are there any videos of the remote being used?
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
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 to join the conversation.
- bowlingbeeg
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 3 weeks ago #2898
by bowlingbeeg
Replied by bowlingbeeg on topic Are there any videos of the remote being used?
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 to join the conversation.
Time to create page: 0.217 seconds