maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Pierogi - a universal infrared remote control app (https://talk.maemo.org/showthread.php?t=82243)

xes 2015-02-10 01:02

Re: [Announce] Pierogi - a universal infrared remote control app
 
@Copernicus

Do you think pierogi could be used to generate the codes to enable hidden service menu of LG tv?

http://openlgtv.org.ru/wiki/index.ph...IR_transmitter

Copernicus 2015-02-10 01:57

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by xes (Post 1460285)
Do you think pierogi could be used to generate the codes to enable hidden service menu of LG tv?

Yes; in fact, I've had the service menu and factory reset controls for LG TVs (and a few other brands) in Pierogi for a while now, I've just been too worried about people accidentally (or purposefully!) turning Pierogi into a TV-destroying tool. But when I updated the Macros last year, I made every control in Pierogi available, including the more dangerous ones. Use with caution!

Here's a little Pierogi Macro XML file that should make button #1 on the Macros control panel send the "service menu" command for the current keyset (assuming that that keyset has a service menu command defined):

Code:

<? xml version=1.0 ?>

<macropack name="Factory Controls">

 <macro name="Service Menu" button="1">
  <send key="Service Menu"/>
 </macro>

</macropack>

Save this as a file somewhere on your N900, and then load it into Pierogi by selecting "Load New Pack" from the Macros panel.

And here's a link to more Pierogi Macro documentation:

http://jpietrzak8.github.io/Pierogi/macros.html

Copernicus 2015-02-11 01:11

Re: [Announce] Pierogi - a universal infrared remote control app
 
Well, it has finally happened. The end is upon us. This may be a portent of the final days of mankind!

Alright, not really. :) But, after endless procrastination, I have gone ahead and finally promoted Pierogi version 1.1 up into Extras-Testing. If you feel that it is ready to be promoted all the way up into Extras, please do give it some testing, and then go to the Pierogi Extras-Testing package page and vote it up.

Or, if you feel that it needs more work, vote it down (and please do tell me why). :) Thanks!

(And yeah, this is not the end at all -- lots more work to be done in the future, such as improved macros, the proposed support for human-readable config files, a massively updated UI to support rotation, and more...)

kureyon 2015-02-16 11:51

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Copernicus (Post 1460286)
Save this as a file somewhere on your N900, and then load it into Pierogi by selecting "Load New Pack" from the Macros panel.
http://jpietrzak8.github.io/Pierogi/macros.html

Thanks for a really useful app!

I'm using LG TV Keyset 1 and want to activate the Service Menu, when I do the "Load New Pack", I get the following error:

Code:

QXmlStreamReader returned error. Expected '[a-zA-Z]', but got ''.

davisrases 2015-02-16 15:21

Re: [Announce] Pierogi - a universal infrared remote control app
 
how to keep screen dimmed or activate it by a tap when running pierogi ?
i know of that untick lock screen automatically but that is prevelant everywhere i just want in pierogi
upgraded from extras no issues ;

Copernicus 2015-02-16 15:21

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by kureyon (Post 1460912)
I'm using LG TV Keyset 1 and want to activate the Service Menu, when I do the "Load New Pack", I get the following error:

Ah, sorry, I'm being sloppy with my XML. (I guess I should test before I post!) That first line (the xml version tag) needs to be written in a very specific way -- no spaces around the question marks, and double quotes around the version number. So, this should be a valid XML file (and I did test this time):

Code:

<?xml version="1.0"?>

<macropack name="Factory Controls">

 <macro name="Service Menu" button="1">
  <send key="Service Menu"/>
 </macro>

</macropack>


Copernicus 2015-02-16 15:27

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by davisrases (Post 1460940)
how to keep screen dimmed or activate it by a tap when running pierogi ?
i know of that untick lock screen automatically but that is prevelant everywhere

Yeah, I've actually got that "lock screen automatically" unticked myself. :) I'm not sure exactly how to implement that on a per-app basis, though (or if it can be done at all). I'll do a little research. :)

davisrases 2015-02-16 16:46

Re: [Announce] Pierogi - a universal infrared remote control app
 
oh my oh my !
i freaked out when i saw my username diffrent next i opend mail to reply and guess what

this stays here to freak out other people who do not take the simplest of measures to protect their privacy or say personal data and let it get man handeld .From experince most ofen it turns bad
anyway i didnt go through any of em just logged out but scrolling down to logut i at least saw rainbow coloured headers ;
take care

nokiabot

pichlo 2015-02-16 16:56

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by davisrases (Post 1460958)
this stays here to freak out other people

I'm afraid "other people" have NFI WTF you are talking about ;)

nokiabot 2015-02-16 17:08

Re: [Announce] Pierogi - a universal infrared remote control app
 
that post was by me he forgot to remove his accounts so i let a reminder for other people to be cautious when ebaying their devices
thats it
cheers !

davisrases 2015-02-16 18:04

Re: [Announce] Pierogi - a universal infrared remote control app
 
Ha ha ha! I really am sorry! I thought I had logged out of all my accounts!

kureyon 2015-02-17 16:01

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Copernicus (Post 1460941)
So, this should be a valid XML file (and I did test this time):

Yep, it works now, thanks.

robthebold 2015-02-21 15:46

Re: [Announce] Pierogi - a universal infrared remote control app
 
Request: Is it possible to add support for B&O Beomaster 6000? The 80s Beomaster 6000 with optional IR remote, not the quadrophonic 6000 from the mid-seventies. (I got one from a friend of a friend who found it in the attic of a house he bought. I assume he kept the pr0n VHS tapes for himself -- houses with stuff left over always seem to have some hidden somewhere.)

Love Pierogi, thanks very much!

Copernicus 2015-02-21 22:15

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by robthebold (Post 1461587)
Request: Is it possible to add support for B&O Beomaster 6000? The 80s Beomaster 6000 with optional IR remote, not the quadrophonic 6000 from the mid-seventies.

Ah, Bang & Olufsen is always a pain. :) I think I have found a config file for the 6000 (if it is the right 6000), but I can't seem to find the protocol associated with that file. :o This may take some digging. (And even then, I can't say for certain that the N900 will be able to produce the appropriate signals; B&O like to go their own way with IR controls, and don't really follow industry standards in any way... But I'll see what I can do.)

s4br0s0 2015-02-21 23:13

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi Copernicus.

On one point of development, the ps3 have buttons like x, circle, triangle, o, but i wasn't sure that they work.

I tried a few times but didn't know how to make them works.

Anyway, them don't exist anymore.

I on 1.1.40 right now, the ps3 keyset doesn't work with ps4 but the sony tv keyset does work (with ps3 works too, via bravia sync).

By the way, the ps3 keyset is very confuse right now, i'm not sure that works with ps3 or how should work (can't try to help).

Greetings.

Copernicus 2015-02-22 00:35

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by s4br0s0 (Post 1461631)
Anyway, them don't exist anymore.

Ack! Yeah, I set up the Playstation keyset a long time ago when I realized that the Playstation (or at least some versions of it) accepted infrared input. I guess I completely forgot about it when I reworked the new panel system; I've got it using the DVD-media panels, so the X-triangle-circle-square controls are completely missing now. :(

Let me fix that. Whether this keyset would work with the PS4, I don't know; I'll do some research...

s4br0s0 2015-02-22 00:47

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Copernicus (Post 1461634)
Let me fix that. Whether this keyset would work with the PS4, I don't know; I'll do some research...

As i told, the sony keyset tv works with ps3/4 via bravia sync.

Honestly don't know if ps4 have infrared (guess not), so maybe the only way is that.

And maybe is the best way, i mean, hardly someone will use it as "replacement" to game, most will use it for media remote for watching movies.

This is a big maybe, but don't know if could be implemented, the touch panel of the dualshock 4, in some way the N900 works like it.

Is a crazy idea that honestly speaking, most probably won't work.

Anyway, my intention wasn't that you put again the missing buttons, just want to inform that you can use Pierogi to control the ps4.

Greetings.

Malakai 2015-02-22 19:15

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi,

First of all I would like to thank you Copernicus for this great piece of software. Last day I was in a "battle" with a friend who had an Samsung Galaxy S5 (I think... the one with infrared) and we were in front of a Panasonic TV set; he told me that his new phone can control any TV with this great app he downloaded. He tried a lot of remotes and couldn't turn the TV on. When he gave up, I opened Pierogi and selected the first keyset with Panasonic TV, turned on the TV and explained him that the thing that matters is not the latest phone with the latest software that is sold on a store, it's a good piece of software written by a smart person...

I also wanted to ask you : on my Samsung remote I have a button "Channel List" which helps me get a list of all the channels on the TV and get faster on the one I want. I think all the new Samsung TVs have it. Could it be integrated in Pierogi.
I also have an Intel NUC dn2820fykh with an integrated infrared port on which I have loaded Debian and Openelec (dual boot)... I wanted to know if you have any knowledge how to test and make the infrared port work with Pierogi (or any remote, like my TV remote) cause sadly my TV doesn't have the CEC (or what it is called, cause every company has a different name for it) which would transmit the commands through the hdmi cable.

Thank you again for a great software.

Copernicus 2015-02-22 20:27

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Malakai (Post 1461702)
When he gave up, I opened Pierogi and selected the first keyset with Panasonic TV, turned on the TV and explained him that the thing that matters is not the latest phone with the latest software that is sold on a store, it's a good piece of software written by a smart person...

Thank you! :o Although, if I were a very smart person, I'd already have Pierogi ported over to Android. (Qt should make that easy!) I have been working on it...

Quote:

I also wanted to ask you : on my Samsung remote I have a button "Channel List" which helps me get a list of all the channels on the TV and get faster on the one I want.
Ah! Actually, I've already got that command in my Samsung TV Keyset 1 family, but I didn't know what it was used for, so I haven't yet mapped it to any buttons. :( I'll get it defined and onto a panel somewhere asap.

Quote:

I also have an Intel NUC dn2820fykh with an integrated infrared port on which I have loaded Debian and Openelec (dual boot)... I wanted to know if you have any knowledge how to test and make the infrared port work with Pierogi (or any remote, like my TV remote) cause sadly my TV doesn't have the CEC (or what it is called, cause every company has a different name for it) which would transmit the commands through the hdmi cable.
Very nice little machine! Hmm. The system of choice for receiving consumer IR data on a Linux box is the Linux Infrared Remote Control (or LIRC) server. I've never used Openelec, but I would assume that it sets up LIRC by default; and you should be able to download an LIRC package for Debian.

As to connecting to the CIR receiver: I took a quick look at the Openelec wiki, and it says the dn2820fykh is fully supported, so it should already be able to receive commands via IR. Whether Debian can access the IR hardware is another question; you might have to do some legwork to get a driver up and running for it, if there isn't one already available in your distribution.

You may or may not also need to define a remote control for LIRC. This article mentions that Openelec is by default listening for a Microsoft Media Center compatible remote control; Pierogi has keysets for a few of those. You could also try using the automated keyset search feature of Pierogi to find a compatible keyset.

I've set up a Mac Mini as an HTPC myself. My ancient TV also lacks the newer hdmi-passthrough controls; so, I've gone ahead and hooked up a set of speakers and a TV tuner to the PC itself. This way, I control everything directly through the Mac, and don't do anything more on the TV than turn it on and off. :)

Malakai 2015-02-25 18:55

Re: [Announce] Pierogi - a universal infrared remote control app
 
Just as an information :

The Microsoft Remote mode 1 works perfectly with the NUC dn2820fykh (as to start it) and with Openelec (every key worked out of the box), so I think you could duplicate or create a link to it and call it something like Openelec or NUC, so people would know that it is also working with this device and OS.
For Debian I will have to look at it (maybe during the weekend if I have some time).

myname24 2015-02-25 21:53

Re: [Announce] Pierogi - a universal infrared remote control app
 
Don't forget the NEC keyset for the next update :)

Copernicus 2015-02-25 22:52

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by myname24 (Post 1462027)
Don't forget the NEC keyset for the next update :)

Oops; I forgot to mention that the new NEC keyset (projector keyset 3) was added in the most recent Pierogi update. :) However, I still think it is not supposed to be the keyset for the V260 projector... I'll take another look around.

kureyon 2015-02-26 04:51

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Malakai (Post 1462003)
The Microsoft Remote mode 1 works perfectly with the NUC dn2820fykh ... so I think you could duplicate or create a link to it and call it something like Openelec or NUC

If it's duplicated it would probably more appropriate to call it Kodi/XBMC since that's what is ultimately processing the IR. I've been using MCE keyset for a while to control a Zotac zbox running XBMC, it works pretty well, except that the IR doesn't switch on the box (this particular zbox apparently uses separate IR codes for on and off.

xes 2015-04-24 21:17

Re: [Announce] Pierogi - a universal infrared remote control app
 
@Copernicus
I'm using very often and with great satisfaction the lg tv keyset 1 with a lg smarttv of 2013. Most of keys are working correctly but the media tab with all the play/pause/stop functions is missing and no one of the other lg keysets contains working media functions.

Do you have any other lg keyset that contains the media functions?

Copernicus 2015-04-24 23:29

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by xes (Post 1468390)
Do you have any other lg keyset that contains the media functions?

Could you try out the LG TV Keyset 1c? That one seems to support the most recent LG TVs (such as 3D TVs), and does map the media controls to new values...

EDIT: Ack! I should read more carefully; you're right, the media panel is completely missing from the LG TV keysets. Let me fix that...

Copernicus 2015-04-24 23:57

Re: [Announce] Pierogi - a universal infrared remote control app
 
Ok, version 1.1.42 of Pierogi is now making its way up to Extras-Devel, with the only change being the addition of media controls to the LG TV keysets. Sorry about missing that! (Please do give me a kick if you find other stuff missing or broken or such, I'm trying to get back up to speed on my various apps...)

xes 2015-04-25 10:58

Re: [Announce] Pierogi - a universal infrared remote control app
 
@Copernicus ... please, don't be sorry. You are a monster!

Media buttons are working perfectly!
Now, if i can ask, while looking at the same keyset there are a few other buttons missing.
First of all Applications/Smart app (the MENU button opens only the settings menu and there is no other way to access media player, applications or recordings)
Rewind, Fast forward and then BACK button is very useful inside menus where exit button closes everything.

I don't know if i'm asking too much and if you have the codes for such buttons... but take your time, there is no hurry. ;)

Anyway... thanks!

Copernicus 2015-04-25 12:45

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by xes (Post 1468446)
First of all Applications/Smart app (the MENU button opens only the settings menu and there is no other way to access media player, applications or recordings)

Ok, I have found a "my apps" control, which I think is what you need. My biggest problem here is that this seems to be a button unique to LG's TVs. :) I've been hoping to make Pierogi as universal as possible, so it can be a bit tough to squeeze in some of these less common controls. But even if I don't manage to find a good way to get it into an existing panel, I should at least make it available via the Macros panel... I'll see what I can do. :)

Quote:

Rewind, Fast forward and then BACK button is very useful inside menus where exit button closes everything.
Hmm. What functions are Rewind and Fast forward being used for inside of menus? (Is it something like a page up / page down function?) As to the back button, I see that I've managed to get confused -- older LG TVs appear to have only an "Exit" button, whereas newer ones have renamed that control "Back", and created an entirely new "Exit" button. I guess I missed the fact that the old control was still being used, but in a new way; I thought they had just moved the Exit command to a new value. I'll figure something out. :)

I have to admit, there is still a lot of room left on the Menu panel to add new buttons; I was trying to keep it as simple as possible, to make using the menu controls easier, but I can certainly see adding more controls to support more navigation options...

myname24 2015-04-25 12:54

Re: [Announce] Pierogi - a universal infrared remote control app
 
ping on NEC :)

Copernicus 2015-04-25 13:35

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by myname24 (Post 1468458)
ping on NEC :)

I haven't seen any new NEC projector config files floating around, but I'll take another look. :)

xes 2015-04-25 18:11

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Copernicus (Post 1468455)
But even if I don't manage to find a good way to get it into an existing panel, I should at least make it available via the Macros panel... I'll see what I can do. :)

Well, if the apps button is too far from media or utility menu it could become a little bit hard to use loading it with macros.

Quote:

Originally Posted by Copernicus (Post 1468455)
Hmm. What functions are Rewind and Fast forward being used for inside of menus? (Is it something like a page up / page down function?) As to the back button, I see that I've managed to get confused -- older LG TVs appear to have only an "Exit" button, whereas newer ones have renamed that control "Back", and created an entirely new "Exit" button. I guess I missed the fact that the old control was still being used, but in a new way; I thought they had just moved the Exit command to a new value. I'll figure something out. :)

I would expect to see rewind and fast forward buttons enabled in the media menu, now they are greyed/disabled. Sorry for the confusion.
Movement arrows only jump to a choosed playback position.
Concerning EXIT and BACK button, just to explain it better, now the EXIT button of this keyset behaves like EXIT and while browsing submenus it could be used to exit everything and return to the tv channel.

If i can say my opinion, from the usage perspective, i feel the "guide" and the "zoom" buttons in the wrong place and i would expect to find them in utility tab since they are standalone functions.
At the same time, in the menu tab, the guide button and disc menu(now greyed) could be replaced by the apps menu and back function.
...but this is only the opinion of a single user.

Copernicus 2015-04-25 19:47

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by xes (Post 1468488)
Well, if the apps button is too far from media or utility menu it could become a little bit hard to use loading it with macros.

I agree. :) Setting up a key as a button on the Macros panel is currently the last resort for making it available in Pierogi. (However, you can also bind it to a keyboard key, which might make using it a little easier.)

Quote:

I would expect to see rewind and fast forward buttons enabled in the media menu, now they are greyed/disabled.
Oh, I see! Please try using LG TV Keyset 1c, that might make things work right. (It looks like only the more advanced LG TVs have full media controls. However, older models could apparently use the blue/yellow/green buttons for play/pause/stop. I don't see any ff/rew commands in the older keyset, and play/pause/stop have new values in the newer keyset, so I don't think I could get away with pushing them up from the 1c keyset to the root keyset. Anyway, I'll take a closer look at this situation. :) )

Quote:

Concerning EXIT and BACK button, just to explain it better, now the EXIT button of this keyset behaves like EXIT and while browsing submenus it could be used to exit everything and return to the tv channel.
Interesting! Keyset 1 should have "Exit" mapped to what I have listed as the "Back" button for modern LG TVs, where keysets 1a and 1c have it mapped to the "Exit" or "Return" button. Looks like I need to do more homework, I suppose...

Quote:

If i can say my opinion, from the usage perspective, i feel the "guide" and the "zoom" buttons in the wrong place and i would expect to find them in utility tab since they are standalone functions.
Yeah, the menu panel was originally designed with DVD/BD players in mind, as those are the devices that I personally have spent most of the time navigating menus. I threw "Guide" onto that panel as it normally requires navigating menu commands as well. It would make a lot of sense to have a TV-centric menu panel for TV keysets; I could fit in not only the apps and back buttons, but the "Quick Menu" command that way as well... It'd take a little longer to put that together, but I'll see what I can do. :)

Copernicus 2015-04-25 21:50

Re: [Announce] Pierogi - a universal infrared remote control app
 
1 Attachment(s)
For those who may be interested, I'll attach a screenshot of what I think might be a decent tv-oriented menu panel. This particular panel has buttons for the major menus found on LG, Samsung, and Sony TVs (those being the Quick Menu or "Q.Menu", the Apps menu, and the Tools menu, along with the original "Menu" and "Guide" that were already on the panel). The Back button is also included for keysets that support it.

If there are other menu-oriented controls that you believe should be on this panel, please let me know. :)

xes 2015-04-25 22:24

Re: [Announce] Pierogi - a universal infrared remote control app
 
Almost perfect!

Copernicus 2015-04-26 12:27

Re: [Announce] Pierogi - a universal infrared remote control app
 
Ok, version1.1.43 of Pierogi is now working its way up to extras-devel. This one has the new TV-oriented menu panel. (DVD/BD/etc. devices should automagically continue to use the old menu panel.) I went through the entire list of TV keysets, but pretty much only LG, Samsung, and Sony TVs are using these new menu buttons. (And I've only been able to find a "back" button for LG.)

As always, beware new bugs! Thanks.

EDIT: Btw, what would folks think about renaming the menu panel something like "navigation" or "options" or the like? Since I'm cramming items like "Guide" and "Apps" onto this panel, it's starting to move away from a just the basic "menu navigation" concept. Anyway, just an idea...

Android_808 2015-04-26 13:10

Re: [Announce] Pierogi - a universal infrared remote control app
 
My Sony (KDL-24EX320) doesn't have a back button but it does have "return". On the remote you have select button in middle, directions around that and 4 buttons surrounding that, Sync Menu, Options, Return and Guide.

Copernicus 2015-04-26 13:19

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Android_808 (Post 1468524)
My Sony (KDL-24EX320) doesn't have a back button but it does have "return".

Ah, I missed that! (In fact, a quick google for Sony remotes shows that some of them label that button both "return" and "back".) I'll get that into the next update.

Quote:

On the remote you have select button in middle, directions around that and 4 buttons surrounding that, Sync Menu, Options, Return and Guide.
I've got "options" mapped to the "tools" button (Sony remotes apparently switch between the two names for different TVs). Guide should work already, I hope. :) I'm not sure what the Sync Menu does, though; I'll have to do some homework there...

EDIT: Aha, Sony's "Sync Menu" appears to correspond to Samsung's "Anynet" and LG's "Simplink". I'll try to get this into the next update as well...

Android_808 2015-04-26 21:38

Re: [Announce] Pierogi - a universal infrared remote control app
 
Now I'm home and checked remote, there are 6 surrounding nav controls. from top clockwise:
sync menu, i+ (info), options, home, return (with back printed next to it) and finally guide.

Sync Menu/AnyNet etc are all names for hdmi-cec features. Panasonic also have there own name, Viera Link IIRC.

Edit: Sony RM-ADP060 remote for bluray uses return with no mention of back but tools/option button is labelled as both.

You may also find Sony sync options as Bravia Sync.

zerox 2015-05-06 13:38

Re: [Announce] Pierogi - a universal infrared remote control app
 
Thanks, Copernicus, for improving this already excellent program. It works perfectly with the LG 42LB580V-ZM TV in my office, allowing full control of the built-in apps feature.

nokiabot 2015-05-06 16:01

Re: [Announce] Pierogi - a universal infrared remote control app
 
well dell projector didnt work with the only keyset in pierogi also power button and too many butts are greyed out in the keyset
nither diffrent car streos that have small remotes worked
first faliure of pierogi here:(


All times are GMT. The time now is 23:22.

vBulletin® Version 3.8.8