- Posts: 443
- Thank you received: 36
Dpad issues with SmartRemote @davep
- Nillaz
- Topic Author
- Away
- User
-
Less
More
1 year 10 months ago #3307
by Nillaz
Some of those devices don't matter. I don't care about it on my bluray player because it's not necessary to hold a button for scrolling purposes in the first place. It's much more of an issue on streaming devices like the Shield and Apple TV. For the sake of simplicity I'll just focus on the Shield TV since that is what we use the most and where I might be scrolling left and right through long rows of videos. I prefer to use IR commands via the ip2ir for navigation because they allow for faster scrolling than ADB.
So if I was to press the right dpad button (this one has worn out first on both remotes because it tends to get used the most) my current command is:
Control|3~SendIR~Nvidia-Shield Android TV IR~CURSOR RIGHT
If I switch to ADB I use:
AV|{{active_shieldtv_{{clientname}}}}~Remote~Right
The results are the same with both. If I longpress the dpad right button it starts scrolling right, as expected. When I let go of the button it keeps scrolling right. How long it keeps scrolling for depends on how long I have held the button for. If I've held the button for 5 seconds the server will keep issuing commands for maybe another 6 or 7 seconds. If I've held the button for 10 seconds it might keep issuing commands for an additional 20 or so. This interval keeps getting longer as you hold the button for longer durations. It's also uninterruptable by pressing another button on the remote. I have to let the system finish processing all of the commands that have queued up first before I can do anything else. This can be literally dozens of additional commands after releasing the button, dramatically overshooting the intended onscreen target.
There is nothing amiss in the logs at all. It just keeps issuing the same command repeatedly until it's finished doing it's thing.
The highlighted line in this screenshot is where I released the button after 10 seconds. If you could scroll down the page you would see that there is an additional page and a half of dpad right commands being issued after the button release.
To eliminate the possibility of this being due to changes I've made to the system I've set up a second pi4 myServer for testing purposes. This is bone stock, as in I haven't made a single change to anything in myServer or myDesigner other than to apply the latest driver and Linux updates. I've also updated the remote used with this server to the new apk. The only device that it is connected to is yet another Nvidia Shield bought for testing purposes, which is also bone stock out of the box. This is connected strictly via ADB. The longpress behavior is exactly the same as on my primary server.
I really don't want to get into using longpress macros to loop commands a set number of times the way that you prefer to do. It's not intuitive and isn't very precise, particularly when using multiple different apps that all have different layouts and each have a different number of videos visible on the screen at one time.
As I said in my original post I don't really care how each individual driver handles this, but if the Generic IR driver can be made to stop sending additional commands immediately after a direction button is released this would be ideal. Then I have at least one driver that covers all devices and use cases in my system.
I genuinely appreciate you engaging on this. I REALLY don't want to give up my system so I hope we can get to the bottom of this.
Replied by Nillaz on topic Dpad issues with SmartRemote @davep
The commands I use depend on the device, but it happens with all devices, and all commands regardless of format. I don't use a Roku, but I observe this behavior on my Shield TV, Apple TV, bluray player, XBOX, etc.Hi Nillaz,
Can you provide more detail: What is in the myDesigner command for the webpage that is currently loaded for the navigation button you are pressing?
What is in the log when this occurs?
Are you using a custom command?
For example, on the roku.html, If I have the guide up on the TV, I press, cursor moves as long as depressed. I let it up, it stops. That's what I would expect for that use case.
I also use the Channel Up Short to go "Up 5 clicks" with one press. This gets uses a LOT. I use Channel Up Long to go "Up 30 clicks". I use this when going from "middle of the guide to top of the guide, quickly".
These two functions are used extensively on my system (which should be the default behavior) which significantly eliminates pressing the Up / Down nav buttons.
Some of those devices don't matter. I don't care about it on my bluray player because it's not necessary to hold a button for scrolling purposes in the first place. It's much more of an issue on streaming devices like the Shield and Apple TV. For the sake of simplicity I'll just focus on the Shield TV since that is what we use the most and where I might be scrolling left and right through long rows of videos. I prefer to use IR commands via the ip2ir for navigation because they allow for faster scrolling than ADB.
So if I was to press the right dpad button (this one has worn out first on both remotes because it tends to get used the most) my current command is:
Control|3~SendIR~Nvidia-Shield Android TV IR~CURSOR RIGHT
If I switch to ADB I use:
AV|{{active_shieldtv_{{clientname}}}}~Remote~Right
The results are the same with both. If I longpress the dpad right button it starts scrolling right, as expected. When I let go of the button it keeps scrolling right. How long it keeps scrolling for depends on how long I have held the button for. If I've held the button for 5 seconds the server will keep issuing commands for maybe another 6 or 7 seconds. If I've held the button for 10 seconds it might keep issuing commands for an additional 20 or so. This interval keeps getting longer as you hold the button for longer durations. It's also uninterruptable by pressing another button on the remote. I have to let the system finish processing all of the commands that have queued up first before I can do anything else. This can be literally dozens of additional commands after releasing the button, dramatically overshooting the intended onscreen target.
There is nothing amiss in the logs at all. It just keeps issuing the same command repeatedly until it's finished doing it's thing.
The highlighted line in this screenshot is where I released the button after 10 seconds. If you could scroll down the page you would see that there is an additional page and a half of dpad right commands being issued after the button release.
To eliminate the possibility of this being due to changes I've made to the system I've set up a second pi4 myServer for testing purposes. This is bone stock, as in I haven't made a single change to anything in myServer or myDesigner other than to apply the latest driver and Linux updates. I've also updated the remote used with this server to the new apk. The only device that it is connected to is yet another Nvidia Shield bought for testing purposes, which is also bone stock out of the box. This is connected strictly via ADB. The longpress behavior is exactly the same as on my primary server.
I really don't want to get into using longpress macros to loop commands a set number of times the way that you prefer to do. It's not intuitive and isn't very precise, particularly when using multiple different apps that all have different layouts and each have a different number of videos visible on the screen at one time.
As I said in my original post I don't really care how each individual driver handles this, but if the Generic IR driver can be made to stop sending additional commands immediately after a direction button is released this would be ideal. Then I have at least one driver that covers all devices and use cases in my system.
I genuinely appreciate you engaging on this. I REALLY don't want to give up my system so I hope we can get to the bottom of this.
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
1 year 10 months ago - 1 year 10 months ago #3308
by David Li
Replied by David Li on topic Dpad issues with SmartRemote @davep
No, no steam lost, just engaged on other projects currently. I think there is a thread on "SmartRemote2" that can be used to collect Wants. A SR2 will be a much simpler project for Allonis than SR1 was as we are "most of the way home" already 
What makes a "SmartRemote2" a reality is selling out of "SmartRemote1". And that there is a growing population of users. We can use your help in spreading the good word of how you are using the SmartRemote / myServer and why it's important for your system design across forums / websites.
Thanx for helping!!!

What makes a "SmartRemote2" a reality is selling out of "SmartRemote1". And that there is a growing population of users. We can use your help in spreading the good word of how you are using the SmartRemote / myServer and why it's important for your system design across forums / websites.
Thanx for helping!!!
Last edit: 1 year 10 months ago by David Li.
Please Log in to join the conversation.
- bitzerjd
- Offline
- User
-
Less
More
- Posts: 373
- Thank you received: 3
1 year 10 months ago #3310
by bitzerjd
Replied by bitzerjd on topic Dpad issues with SmartRemote @davep
Good to know that you haven't lost interest. I realize this product/project is still in it's infancy but there are things that need to be fixed/implemented before it is mainstream ready. Just some food for thought...start planning on SmartRemote2, offer the original remotes at a super deep discount to existing customers having button issues or just want an additional remote.
Thanks for the update!
Thanks for the update!
Please Log in to join the conversation.
- Nillaz
- Topic Author
- Away
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 10 months ago #3311
by Nillaz
Replied by Nillaz on topic Dpad issues with SmartRemote @davep
Just to be clear I'm not asking for new remotes or discounts on existing remotes. I'm just looking for a fix to a problem. The remotes are wearing out due to my usage and I own that. If anything I should have made an effort to get ahead of it before it became a more serious problem, but better late than never.
It's in everybody's interests to ensure that these remotes are robust and last for as long as possible. Other customers are not going to want to deal with worn out buttons and I'm pretty confident that Allonis doesn't want the SmartRemote to develop a reputation for being fragile.
It's in everybody's interests to ensure that these remotes are robust and last for as long as possible. Other customers are not going to want to deal with worn out buttons and I'm pretty confident that Allonis doesn't want the SmartRemote to develop a reputation for being fragile.
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
1 year 10 months ago #3316
by David Li
Replied by David Li on topic Dpad issues with SmartRemote @davep
For Nvidia Shield: ADB uses asynchronous communication. And, with ADB being a very slow processing technology (on the Shield), myServer sends numerous requests to the Shield that the Shield gets around to processing in the order it received them...so, when you let up the button, the Shield still will process commands.
If you are using the Shield, high recommendation is to use that with the USB adapter from VideoStorm that processes commands much faster which might address the issue you are seeing.
With regards to IR, that shouldn't have same problem. But we will setup a test setup to see if we can verify.
If you are using the Shield, high recommendation is to use that with the USB adapter from VideoStorm that processes commands much faster which might address the issue you are seeing.
With regards to IR, that shouldn't have same problem. But we will setup a test setup to see if we can verify.
The following user(s) said Thank You: Nillaz
Please Log in to join the conversation.
- Nillaz
- Topic Author
- Away
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 10 months ago #3325
by Nillaz
In the interest of thoroughness I stopped and picked up a Roku Ultra tonight to test with. Roku's longpress works on my system the way that it should and myServer stops issuing commands to it instantly when I release the button. It's quite snappy actually. Unfortunately it's not a suitable replacement for my Shield's or I would just buy 5 of them and be done with it. OTOH I've at least satisfied myself that the problem isn't caused by some deeper issue in my setup so I'll take that as a win.
If it comes down to it I'll consider giving the VideoStorm devices a shot, but I'd like to avoid that unless absolutely necessary. I'd have to buy multiples of them for all of the Shield's in the house and they're just going to add more complication to an already complicated system. If possible I would greatly prefer to just have the Generic IR driver stop issuing commands exactly the same way the Roku driver does since I already have all the ip2ir's in place and working. This would solve for every device in my system and would simplify things for me immensely.
Replied by Nillaz on topic Dpad issues with SmartRemote @davep
Thanks for putting in the effort!For Nvidia Shield: ADB uses asynchronous communication. And, with ADB being a very slow processing technology (on the Shield), myServer sends numerous requests to the Shield that the Shield gets around to processing in the order it received them...so, when you let up the button, the Shield still will process commands.
If you are using the Shield, high recommendation is to use that with the USB adapter from VideoStorm that processes commands much faster which might address the issue you are seeing.
With regards to IR, that shouldn't have same problem. But we will setup a test setup to see if we can verify.
In the interest of thoroughness I stopped and picked up a Roku Ultra tonight to test with. Roku's longpress works on my system the way that it should and myServer stops issuing commands to it instantly when I release the button. It's quite snappy actually. Unfortunately it's not a suitable replacement for my Shield's or I would just buy 5 of them and be done with it. OTOH I've at least satisfied myself that the problem isn't caused by some deeper issue in my setup so I'll take that as a win.
If it comes down to it I'll consider giving the VideoStorm devices a shot, but I'd like to avoid that unless absolutely necessary. I'd have to buy multiples of them for all of the Shield's in the house and they're just going to add more complication to an already complicated system. If possible I would greatly prefer to just have the Generic IR driver stop issuing commands exactly the same way the Roku driver does since I already have all the ip2ir's in place and working. This would solve for every device in my system and would simplify things for me immensely.
Please Log in to join the conversation.
Time to create page: 0.233 seconds