- Posts: 1019
- Thank you received: 99
Now we're talking! Random thoughts after a successful setup!
- David Li
- Offline
- Admin
-
Less
More
2 years 5 months ago #1180
by David Li

Replied by David Li on topic Now we're talking! Random thoughts after a successful setup!
yes, I use that now as well. I also modded my Long Press Up and Down channel button to be "60" clicks on press. To surf from top to bottom of the lists as quick as the hardware will go. And the Long down press is for the medium guide length navigation. And the short press Up/down channel presses are the one guide page at a time. And the short press up / down are for the one click at a time...So I think I have the variations handled
I just got back to this, I can confirm the longpress works (at least for select) on Roku. Thanks!I just modified the AndroidTV and Roku drivers to support a Longpress command.
For Android ADB has a native longpress command. I tested a LongPress|Home and it worked.
For Roku Longpress is implemented as a KeyDown, wait 1.5 seconds then KeyUp. Not sure of the timing. It might be too long or too short.
Let me know how these commands work.
Please Log in to join the conversation.
- bowlingbeeg
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago - 2 years 5 months ago #1188
by bowlingbeeg
Replied by bowlingbeeg on topic Now we're talking! Random thoughts after a successful setup!
Sorry, was on vacation when you made this update but just wanted to let you know that it's working great. In the future it would be nice if you could add something to the designer app where we could specify this behavior for any of the buttons, but the ones you've selected are the most important. Thanks!2) Turns on SmartRemote hard button repeats for the 4 cursor keys, the volume up and down buttons along with the channel up and down buttons. If you press and hold down these buttons they will start repeating at a rate of about 4 per second. The change was made in the SmartRemote.js file. If you update the Designer and then update your SmartRemote project you will pick up this new javascript file. Depending on how it is cached it may be necessary to flush the cache on your SmartRemote.
Consider this an experiment. Let us know how it performs.
Last edit: 2 years 5 months ago by bowlingbeeg.
Please Log in to join the conversation.
- retate
- Offline
- User
-
Less
More
- Posts: 64
- Thank you received: 1
2 years 5 months ago #1199
by retate
Replied by retate on topic Now we're talking! Random thoughts after a successful setup!
How should an XBox or Playstation device be added? Should it be added via the BluRayIR driver?I just released a SmartRemote template update that
1) Adds sample pages for XBox and Playstation. These pages assume you are controlling them via IR and the IR models have the names XBox and Playstation appropriately. The server that was just released adds XBox and Playstation as known sources and will create activation macros for them. NOTE: you will have to edit the activation macros to specify what IR device is controlling the player. The macro has comments where this has to be done.
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 5 months ago #1219
by David Li
Replied by David Li on topic Now we're talking! Random thoughts after a successful setup!
The XBox and Playstation IR models will be remapped to look like a BluRay player from a command perspective since that is likely what most people use them for. There isn't much integration other than maybe Power On / off for gaming.
Please Log in to join the conversation.
- Nillaz
- Topic Author
- Away
- User
-
Less
More
- Posts: 443
- Thank you received: 36
2 years 5 months ago #1220
by Nillaz
I already have Google Assistant integrated with my Nvidia Shield via a USB microphone plugged into the streamer itself. I can invoke it just by mapping a button press on the remote in order to have it start listening for a voice command. It would be logical for me to use the mic button on the remote for this purpose since it's literally a mic button. Is this not possible? I don't see an option for this in either the global Project Level Button Commands list nor in the Hard Buttons list for individual scenes.
Replied by Nillaz on topic Now we're talking! Random thoughts after a successful setup!
Apologies if I wasn't clear, but I'm not asking for voice services to be added to the remote now. I imagine that would be an enormous undertaking to get ready for real world use, and while I'm sure that will be amazing when it happens I know there are more important things being worked on ATM. I'm not in ANY rush for that.
My recollection is that a var gets updated with the Text the SmartRemote sends to myServer. Possibly you could lace in an Automation Event (on change) to do what you want to do? Voice services will be a later add to myServer. There is an Alpha driver today, but it needs more work to be usable.
Thanks for this I appreciate it.For those that have discovered that the EndlessList object tends to be a bit too Endless it is fixed in the next round of Designer updates. It's a change to the app.css file that fixes it.
FWIW I was able to piece together a long press command that works for the Shield using the IP2IR, a FLIRC, and some custom IR codes that I imported into myServer. It ain't pretty, but it's getting the job done and will pass the wife test.
While I'm already deeply involved in hacking The Matrix here could you tell me if there's a way to remap the mic button? I don't see it in the Hard Button properties. I'm probably never going to use this for server level voice control but it would be the perfect button for me to invoke Google Assistant.
I already have Google Assistant integrated with my Nvidia Shield via a USB microphone plugged into the streamer itself. I can invoke it just by mapping a button press on the remote in order to have it start listening for a voice command. It would be logical for me to use the mic button on the remote for this purpose since it's literally a mic button. Is this not possible? I don't see an option for this in either the global Project Level Button Commands list nor in the Hard Buttons list for individual scenes.
Please Log in to join the conversation.
- CodZero
- Offline
- User
-
Less
More
- Posts: 28
- Thank you received: 4
2 years 5 months ago #1251
by CodZero
Replied by CodZero on topic Now we're talking! Random thoughts after a successful setup!
I was really hoping to get to the setup this weekend but I fell down a Home Assistant rabbit hole instead! On the plus side, I now have my Shield, Samsung TV, Denon AVR, Xbox Series X, and Zidoo Z9X all running activities like they do on the Harmony Elite (except without the recently developed Harmony delay in executing commands) including conditionals to check power status when switching devices, and the scripts are mapped to buttons, and the buttons themselves should be importable into SmartRemote. I also have scripts which put all of my AV entertainment devices into standby, and another script which turns off all the actual power switches they are plugged into, and those are also mapped onto buttons. On the plus side, this is all via IP, no IR involved (although I do have an IP2IR sitting here if needed). I mostly use voice commands to execute them, but it would be nice to have them on physical buttons on a device, since Alexa could go down and then I'd need to mess around with tablets etc (or go back to the Harmony).
So I figures, at least to start with, if needed, I can always import those buttons via the HA integration, and then I would just need to make sure transport keys work and volume is locked to the AVR. I can then add another page with the devices themselves, so that if required I can get to the settings stuff for devices (although it's not that often I need them).
I have a three and a half day weekend next week, but the F1 season is starting, so it's gonna be a toss up whether I can get round to this, but I am sure gonna try. I must be so many updates behind on myServer! It's great to read this thread and see the success of getting the remote up and running and in use. Nice one!
So I figures, at least to start with, if needed, I can always import those buttons via the HA integration, and then I would just need to make sure transport keys work and volume is locked to the AVR. I can then add another page with the devices themselves, so that if required I can get to the settings stuff for devices (although it's not that often I need them).
I have a three and a half day weekend next week, but the F1 season is starting, so it's gonna be a toss up whether I can get round to this, but I am sure gonna try. I must be so many updates behind on myServer! It's great to read this thread and see the success of getting the remote up and running and in use. Nice one!
The following user(s) said Thank You: Nillaz
Please Log in to join the conversation.
Time to create page: 0.194 seconds