JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

RMIR Simpleset Support
Goto page Previous  1, 2, 3 ... 10, 11, 12, 13, 14, 15  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Fri Nov 21, 2014 5:57 am    Post subject: Reply with quote

A few more details about URC-6440 Extender 0.05. The Shift key (short press of List) now works in a consistent manner in all contexts. A single Shift puts the next key in shifted mode, even for digit keys. This differs from the UEI standard behaviour, which requires a double shift on digits, but seems more logical and consistent. To send the signal with a known EFC you now use two Shifts followed by the 5-digit EFC. This usage also applies to setting up keymoves (keycode and EFC styles) with a 994 command and to keystrokes included in a macro with a 995 command. If using RMIR to create a macro, you can use either Shift,Shift,1,2,3,4,5 or Shift,Shift1,2,3,4,5 to include the EFC 12345. Here Shift1 is the name of the shifted 1 key which can be included in a macro as a single key. The latter form is preferred, though, as it is one keystroke shorter and is the form created by the 995 command. The 995 command has also been extended to enable creation of device-specific macros (DSMs), details in the ReadMe file.

The shift key now operates in a four-press cycle, i.e. four presses returns to the unpressed state. This enables a shift pressed in error to be cancelled, though it times out in any case after about 10 seconds. If the following key is a non-digit then two presses suffice, four are only required for digit keys. The LED flashes 1, 2, 3 or 4 times when shift is pressed, according to its position in this cycle. What this means, of course, is that the flashes occur when you release the List key after a short press - it flashes on release since until you release it, the remote doesn't know that it is going to be a short press.

Shift cloaking is now fully implemented. This is the property that if nothing is assigned to a shifted key then that shifted key sends the underlying signal of the unshifted key, even if the unshifted key has a macro, keymove or learned signal assigned to it. This also works when a volume key is redirected to a different device with Volume Punchthrough. The shifted volume key will send the volume signal of the original device.

This extender also fixes a bug in the original remote that meant that macros on combo keys did not always work, the malfunction being dependent on what else was set up in the remote.
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Fri Nov 21, 2014 7:53 am    Post subject: Reply with quote

You have done plenty! but is there anything still on the drawing board? In passing you have referred to nested macros, and I guess that might be one route to flexible delays.
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Fri Nov 21, 2014 10:05 am    Post subject: Reply with quote

Yes, nested macros is probably next on the list. There is also LKP (Long Key Press) hovering in my mind, and a few other things as well that I want to look into. But what is the flexible delays issue? What is it you would like?
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Fri Nov 21, 2014 12:28 pm    Post subject: Reply with quote

For use in sets of DSMs which include most of the same steps, and in case there is a limit to the number of commands permitted in a single macro, nested macros would be the favourite. Given that luxury, a set of do-nothing macros of various lengths could be nested individually as required, but the facility for variably timed 'delay commands' would be next favourite.

On the whole it has proved more convenient to judge delays of more than a few seconds by watching front panels to see when devices are ready, but would it somehow be possible for a 'timer' to tick in a macro in the background, while allowing other commands to be issued in the meantime?
Back to top
View user's profile Send private message
mdavej
Expert


Joined: 08 Oct 2003
Posts: 4501

                    
PostPosted: Fri Nov 21, 2014 1:48 pm    Post subject: Reply with quote

The processors in these remotes are single-threaded, as far as I know, making such a thing difficult. Better to simply rearrange your commands or use dummy commands for such delays.
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Fri Nov 21, 2014 2:35 pm    Post subject: Reply with quote

HT for surround sound takes 42 seconds before CEC kicks in and the input for the TV/PVR needs to be changed, one PVR takes 27 seconds to warm up from low power standby and be ready for the 'on' power command, another takes 'only' 19 seconds, and a PVR/HDD recorder takes 55 seconds from mains power on for standby to be set up ready for 'on', and a further 32 seconds to come out of standby. Dummy commands are currently rather unwieldy for these sorts of delays but timed delay commands did work ok when using other remotes which had them.
Back to top
View user's profile Send private message
mdavej
Expert


Joined: 08 Oct 2003
Posts: 4501

                    
PostPosted: Fri Nov 21, 2014 3:49 pm    Post subject: Reply with quote

I think interrupt-able macros might be the best option and more do-able. What I would do is put all your power and input commands in twice - at the beginning for a warm startup situation and at the end for a cold startup. That way, if you're doing a warm startup, you could bail out of the long delays.

I think your situation is an unusual one as most modern devices have a much shorter startup time, and most PVRs run 24x7 and are ready in an instant. You'll probably just have to live with these long delays until you inevitably replace those old devices.
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Sat Nov 22, 2014 9:42 am    Post subject: Reply with quote

Just a note to say that I have nested macros working. Not ready for release yet, but it means that it will come. I will look into timed delays. Most extenders have them but it is not something I have got round to with this one.
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Sat Nov 22, 2014 2:34 pm    Post subject: Reply with quote

Good news, thanks for the note.
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Tue Nov 25, 2014 10:57 am    Post subject: Reply with quote

Hi, Tranx. I do not entirely understand how you would like to use delays in macros, but would the following meet your needs: a delay of a fixed (programmable) length that you insert into the macro, but which you can terminate by pressing any key. The rest of the macro would then run. So, for example, a macro of "1, 2, 30-sec pause, 3, 4" would send 1, 2, wait for 30 seconds and then send 3, 4. But if you pressed a key after 10 seconds of the pause, you would get 1, 2, 10-second pause, 3, 4. The key you pressed would not be sent. The programmed pause could be any length, set by you in each macro and a single macro could have more than one pause, possibly of different lengths.
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Tue Nov 25, 2014 12:29 pm    Post subject: Reply with quote

Hi mathdon. Delays of fixed (programmable) length, for use in macros, are just what I had hoped for.

In order to resume a macro 'early' it would certainly be a bonus to be able to interrupt such delays and continue with the following steps, thank you.

For occasional use, might it also be feasible to set up a particular button to jump out of the macro instead i.e. sometimes to exit the macro before its programmed completion? (with nested macros, semi-automatic browsing through a list of channels and synopses, in a loop, could be one possible use)
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Tue Nov 25, 2014 12:41 pm    Post subject: Reply with quote

tranx wrote:
For occasional use, might it also be feasible to set up a particular button to jump out of the macro instead i.e. sometimes to exit the macro before its programmed completion?

I don't think that is practicable. It would involve scanning the keypad on each iteration of the timing loop, to see what button has been pressed, which would upset the timing considerably. To check for any (unknown) key, as in my proposal, just involves testing an interrupt flag and so doesn't upset the timing. But I will do the programmable delay with early resumption, as that seems to meet your main need.
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Tue Nov 25, 2014 12:56 pm    Post subject: Reply with quote

That would be great
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4523
Location: Cambridge, UK

                    
PostPosted: Tue Nov 25, 2014 1:55 pm    Post subject: Reply with quote

tranx wrote:
with nested macros, semi-automatic browsing through a list of channels and synopses, in a loop, could be one possible use

I either missed this or you added it as an edit, but it has given me an idea.

It seems that you would have a macro consisting wholly or mainly of other macros, each sending the digits to select a channel, say, followed by a pause (for you to make a decision). You want to stop this when you reach a particular channel, even though there are more channels in the sequence. That only involves scanning the keypad at the start of each macro. I can do it so that if you hold down the Pause button till it is about to start the next macro then it will exit rather than continue. So if you use the Pause button during the pause after one channel, it will (a) end the pause, as it is a button, and (b) exit before the next macro, as it is Pause.

I hope this makes sense. Does it seem suitable?

You do set me interesting challenges Very Happy .
_________________
Graham
Back to top
View user's profile Send private message
tranx



Joined: 13 May 2012
Posts: 682
Location: Hants, UK

                    
PostPosted: Tue Nov 25, 2014 2:46 pm    Post subject: Reply with quote

[edited]
mathdon wrote:
tranx wrote:
with nested macros, semi-automatic browsing through a list of channels and synopses, in a loop, could be one possible use
I either missed this or you added it as an edit, but it has given me an idea....I can do it so that if you hold down the Pause button till it is about to start the next macro then it will exit rather than continue. So if you use the Pause button during the pause after one channel, it will (a) end the pause, as it is a button, and (b) exit before the next macro, as it is Pause.
....Does it seem suitable?
Thanks, yes I did edit the post...
(a) Continue with the next macro in the nest - when a button is pressed and released.
and
(b) Exit altogether - if it was the Pause button which was held down.
I think would suit very well indeed!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 10, 11, 12, 13, 14, 15  Next
Page 11 of 15

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control