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)

Garrett_PL 2012-09-08 01:43

Re: [Announce] Pierogi - a universal infrared remote control app
 
I can confirm that experimental Triax panel is not working with Triax SR110 device. I could't resist to scan it with all availible panels, one of them (not sure which one, they do go very fast) switch channel, second put it into service mode :-))

It is deadly feature that scanning proces, imagine Your self "in wild" passing slowly wall of TV's in big warehouse with Auto Scan on.

Like Estel pointed out before, it would be nice to have some kind of "Stop When Paired" option. Or maybe at least possibility to set time of switching betwen pannels during scan.

Copernicus 2012-09-08 02:33

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

Originally Posted by Garrett_PL (Post 1262874)
I can confirm that experimental Triax panel is not working with Triax SR110 device.

Drat, sorry. I thought I was on to something there...

Quote:

I could't resist to scan it with all availible panels, one of them (not sure which one, they do go very fast) switch channel, second put it into service mode :-))
Yikes! Sorry about that. Yeah, the biggest problem with remote controls these days is that many manufacturers are too lazy to set up their protocols properly; most protocols have a "device code" of some sort to uniquely identify a model of device (even the ancient NEC protocol allows you to choose 65536 different device codes), but manufacturers end up using the same device code for different models, allowing for cross-talk between different remotes. So there will probably never be a "clean" way to scan for any given key. Please be careful when using this!

Quote:

Like Estel pointed out before, it would be nice to have some kind of "Stop When Paired" option.
Ah, unfortunately, there's no good way for the N900 to actually know when an IR command has actually triggered some external device. I'm really relying on the user to hit the pause button when something happens here.

Quote:

Or maybe at least possibility to set time of switching betwen pannels during scan.
Actually, you don't have to use the automated scan at all; the first row of four buttons lets you do a "manual" search -- you can step one at a time through the list with the "next" and "prev" buttons, and move quickly through the list with the "fast forward" and "reverse" buttons. They generate "Power" commands in exactly the same way as the automated search does, but only run for as long as you hold down the button. (And, in fact, you can pause an automated search in the middle and switch to the manual buttons to find a particular keyset with precision...)

sixwheeledbeast 2012-09-08 09:50

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

Originally Posted by Copernicus (Post 1262860)
BTW, let me give a big thank you to Sixwheeledbeast for the latest updates and improvements to the Device Compatibility Page. The page continues to be easier to use each time he touches it. :) Everyone, if you have a device that works with Pierogi, please do add it to the list on that page; those editions do eventually get added in to Pierogi, thus improving and expanding its list of known devices. Thanks!

:o

Why, thank you.

Just done another update, to help explain how to add compatible keysets to the wiki for those who are unsure.

IMO for maximum data capture a link to...

http://wiki.maemo.org/Pierogi_Device...atible_Devices

...should be added to Pierogi some how (menubar?).
Now I have completed instructions of how to edit that section of the page.

From looking at the wiki logs about half of the data is from none garage members. This is true more so for compatible keysets.

I think a link to here would help many add there compatible's easily.
Unless there is another easy "in-app" way of collecting this data?


FYI liking the new layout for the scan panel although I am still getting trouble pausing and resuming the scan.
When this happens reverse and fast fwd also stop functioning.
If I can provide any more data I will :) using the latest 1.1.10 with the triax update.

Edit:-
It seems to be pressing the top four buttons while scanning kills the auto-scan feature.

As previously mentioned it's hard to get debug info.
/opt/pierogi/bin/pierogi
Spits out boxes in app with rubbish like
Code:

yyyyyyyyyyyyyyyyyyyyy::yyy Done

Copernicus 2012-09-08 13:48

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

Originally Posted by sixwheeledbeast (Post 1263017)
IMO for maximum data capture a link to...

http://wiki.maemo.org/Pierogi_Device...atible_Devices

...should be added to Pierogi some how (menubar?).

Hmm. Yeah, something on the menubar seems easiest. Certainly, I can add it to the About or Documentation pages instantly (although I've got so much work to do on the documentation now, I'm kind of scared to even touch it). But it'd be interesting to try and fit the link somewhere on the Edit Keyset dialog (along with the device info known for that keyset). I will take a look.

Quote:

Unless there is another easy "in-app" way of collecting this data?
Hmm. The only things I could think of off the top of my head all involve Pierogi making a call to an external server, and QtIrreco has shown me the dangers of that. But I should at least allow the user to add their own data for themselves. I need to do some more thinking here as well. :)

Quote:

FYI liking the new layout for the scan panel although I am still getting trouble pausing and resuming the scan.
When this happens reverse and fast fwd also stop functioning.
If I can provide any more data I will :) using the latest 1.1.10 with the triax update.

Edit:-
It seems to be pressing the top four buttons while scanning kills the auto-scan feature.
Drat, you're right. The manual keys apparently aren't checking whether an automated scan is in progress, even though I set them up to work with an automated scan that is paused. (And I keep pushing up code without doing enough testing... :( )

Quote:

As previously mentioned it's hard to get debug info.
/opt/pierogi/bin/pierogi
Spits out boxes in app with rubbish
Yeah, I've not yet figured out why my exception handler keeps losing all of its string data, gotta get that fixed too.

I'll get some more fixes up asap. Thanks! :)

sixwheeledbeast 2012-09-08 14:00

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

Originally Posted by Copernicus (Post 1263124)
And I keep pushing up code without doing enough testing... :( )

Relax, it is devel after all.
It's not a problem for me keeping version 1.1.5 on my stable device and updating to test the latest on my testing device.

I am sure the community wouldn't mind if you, tested and consolidated your updates over a longer period; if you wish.


I got up this morning and you had released two versions while I was a sleep! Good Morning BTW. ;)

Copernicus 2012-09-08 18:10

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

Originally Posted by galeark (Post 1256593)
Is it possible to add a panel for qwerty keyboard in Samsung Tv keyset 2a?
I need it for Samsung SmartTv UE32ES6800

Hey, an update on this: TMO user Zifis has just reported that he got bluemaemo working with his own Series 6 Samsung TV, so it should work with yours as well!

galeark 2012-09-09 09:30

Re: [Announce] Pierogi - a universal infrared remote control app
 
Tx for the info!
I already managed to solve through bluemaemo, but it only works as bluetooth mouse, while keyborad isn't working
I'll ask Zifis how he solved

Copernicus 2012-09-09 12:43

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

Originally Posted by galeark (Post 1263547)
Tx for the info!
I already managed to solve through bluemaemo, but it only works as bluetooth mouse, while keyborad isn't working
I'll ask Zifis how he solved

More embarrassment to report here: I was looking through the ES6800 manual again, and finally did find a section where it talks about using keyboards and mice. (I don't know why I couldn't find it before.) But get this -- it apparently supports both bluetooth keyboards and mice, as well as USB keyboards and mice. So a $5 usb keyboard might just work fine. :)

Apparently, you can adjust the keyboard settings by going to "Menu->System->Device Manager" on the TV. (This might help getting the bluetooth keyboard working as well...)

Edit: Ah, the difference is that I'm looking at the manual for the 40 inch ES6800, not the 32 inch one. Hopefully, all the functionality in the 40 inch TV is also available in the 32 inch one...

guilledoc 2012-09-09 13:37

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi thanks for this great app
I have an old crown mustang tv and tried several set of your app to if anyone could work with no succes. can you ad any set for it? thanks

Copernicus 2012-09-09 15:07

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

Originally Posted by guilledoc (Post 1263668)
I have an old crown mustang tv and tried several set of your app to if anyone could work with no succes. can you ad any set for it?

This is another tough one! I'm finding almost nothing; I have found one LIRC file for a "Crown" TV, so I'll add that one in. That file is using a pretty standard RC5 command set; you might try using the Philips TV Keyset 1 and see if any of the keys work. Odds are, though, that I'm not going to find a good keyset for this one...

krutznikov 2012-09-09 22:43

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

Originally Posted by Estel (Post 1262801)
as you have noticed on Your own, the latter is horribly impossible to update, as opposed to well-maintained Pierogi. Why Pierogi couldn't make "TVBGone!" obsolete, then? :)

Quote:

Originally Posted by Copernicus (Post 1263124)
Hmm. The only things I could think of off the top of my head all involve Pierogi making a call to an external server, and QtIrreco has shown me the dangers of that. But I should at least allow the user to add their own data for themselves. I need to do some more thinking here as well. :)

Right, if you still want to improve again the app when you are done with your bugs due to the new memory management and with your keysets loop system, I advise you to think about providing another panel to add custom keysets in pierogi. I have no idea how the files you find containing the manufacturers keysets work, but I suppose it's a standardized format. Using this kind of files found on the internet, the users could be able to manually link the keys to each button in pierogi, so that you are not forced to do it by yourself for all the new models in the future (by this way pierogi would never be obsolete :) ).

Thanks a lot again for your work copernicus.

Copernicus 2012-09-10 00:45

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

Originally Posted by krutznikov (Post 1263958)
I advise you to think about providing another panel to add custom keysets in pierogi.

I may indeed do that in the future. But hey, QtIrreco already has that feature; you don't have to wait for me to add it to Pierogi. And besides, the LIRC server (and QtIrreco is pretty much just a GUI on top of the LIRC server) was designed and built from the start to work off of config files provided by the user. Pierogi has been built in a completely different manner, incorporating keysets directly into the source code. Odds are, Pierogi will never have the kind of flexibility that an LIRC-based controller will have.

The flip side of this decision is that Pierogi can fairly easily do things like a power button search, something that the LIRC server will probably never be able to handle.

Quote:

I have no idea how the files you find containing the manufacturers keysets work, but I suppose it's a standardized format.
Well, actually, not really. (Warning -- long-winded discussion ahead! :) ) I started out grabbing LIRC config files (which have two internal formats -- those being raw IR timings, and slightly less raw IR timings :) ), but have since been grabbing files from the JP1 website (which generally uses files in either "KM" or "RM" formats that they've drawn up themselves, along with excel spreadsheets and simple textual lists of numbers), as well as a database of codes in the "Pronto" format (although I find those even more of a pain to decode). And, of course, there are individuals with either oscilloscopes or equivalent PC software all over the place who record the signals off of their own remotes and put them up on the net (like, say, Ken Shirriff's blog.)

I've kind of given up on supporting any of the various formats out there. The truth is, the original manufacturers start with a protocol, and then assign a number to each key on the remote. So, in Pierogi, I replicate this original protocol, and then rip the original manufacturer's numbers out of the various config file formats and store them as their original values. This has the benefit of being (a) much easier to store than how most of the formats out there do it (LIRC's raw timings can be painfully overblown), and (b), usually much easier to understand (as most manufacturers just start with the number 1 and work their way upwards key by key).

Anyway, check out the LIRC server -- it is fully supported on the N900 (it has been from the very start, I think), and provides a level of user control over IR codes that Pierogi will probably never be able to offer. :) Thanks!

krutznikov 2012-09-10 16:56

Re: [Announce] Pierogi - a universal infrared remote control app
 
outch, ok thanks for those informations. I didn't notice that QTirreco implemented this function...

Copernicus 2012-09-11 04:23

Re: [Announce] Pierogi - a universal infrared remote control app
 
FYI, another small Pierogi update is on its way into extras_devel. This one has a few fixes for the power search panel: Pressing any key on the panel should now pause a running automatic search (rather than getting fouled up and crashing :) ), thanks to Sixwheeledbeast for catching that. The Pioneer protocol has been tweaked to go faster (by avoiding unnecessary command repetitions), but sadly is still pretty slow. And an "edit keyset" button has been added to the panel as well, so that if you find an interesting keyset, you can immediately give it a label or make it a favorite.

I should note that if you hit the keys very very fast, you can still get Pierogi into an unstable state. I still need to do some work to make the UI bulletproof...

Also in this update, I've removed the experimental Triax keyset, and made a first pass at keysets for Creative and Crown.

As always, please give me a holler if you find bugs! Thanks.

Copernicus 2012-09-15 02:22

Re: [Announce] Pierogi - a universal infrared remote control app
 
5 Attachment(s)
Hello again, yes, time for another Pierogi update to extras_devel.

This one is a bit more involved than most. I've been pulling together bits and pieces of work on a macro system, and I think I've finally got it into enough shape to at least let folks play with it. Be Warned: this code is hot off the text editor, and likely to be riddled with bugs. (Also, the UI is just terrible!) There is, as yet, no in-app documentation for the macro system, so let me give a short overview (some example pictures attached at the end of the post):

- Commands within a macro are executed in sequence. (No conditionals, no loops. I suppose those could be added later...)

- Only three types of command are available:
  • Keyset Selection: switch to a chosen keyset. (During the execution of the macro, Pierogi will switch from the user's current keyset to this one, but will revert back to the original keyset after the macro completes running.)
  • Key Commands: have the macro "press" a chosen key. (Note that I am not doing any filtering on keys here -- if you choose a key that doesn't exist in the current keyset, Pierogi will simply do nothing when executing that command.)
  • Pause Commands: have the macro wait for a specified number of seconds.

- Each macro can be given a name.

- Each macro can be assigned to a user-defined button in the interface. (Currently, there is just one "User" panel with six user-defined buttons, that I've added to the "Universal" panel set... Still needs work here! :) )

- Each macro can be assigned to a keyboard key. (I'm working with an American N900 here, so I'm using the English keyboard. Hopefully, this can be extended to other keyboards in the future...) Any Pierogi panel that is not already using the keyboard for another purpose should allow you to execute macros by pressing their associated key (which means that most of them will).

- Sets of macros are collected into "macro packs". (Or, at least, they will be. I'm still working on this. Right now, all user-defined macros are being collected into the "User Defined Macros" pack.)

The user interface for all this is seriously bad (as you can probably tell from the screenshots attached below). The general concept is this:

1) You first go to the "Edit Macro Contents" panel (in the new "Macro Panels" collection),
2) Click the "Macro" button to bring up the "Select Macro" dialog box,
3) Click "New" to create a new macro. (You can give it a name here, and assign it to one of 6 buttons or one of 26 keys.)
4) You're sent back to the "Edit Macro Contents" panel. Now, you can click "Command" to add a new command to the macro.
5) Now here's the most annoying part -- the top button in the "Command Choices" dialog box lets you select from the three different types of command. For the "select keyset" or "select key" commands, you then have to go through a huge combo box of options to find the one you want. I've tried to break the "select key" commands into a handful of categories to make the job easier, but it'll probably take a bit of effort here to find exactly what you want.
6) Continue adding commands as you wish. (You can click on a command to delete it, or move it up or down in the list.)
7) Finally, you can hit the "Run" button to test out your macro.

As I've mentioned above, this is fresh, relatively untested code, so please be gentle with it.

Along with the "User Defined Macros" pack, I've added one other hard-coded macro pack (following a suggestion from Pierogi user Leo Pacman). Quite some time ago, phone companies began associating keys on the phone keypad with letters from the alphabet (associating a, b, and c with 2, d e and f with 3, etc.); today, most cell phones support text entry on a 10-digit keypad using this system, which is generally known as a "multitap" keyboard. As it turns out, quite a number of televison sets (and probably other devices) support this as well, through their infrared remotes. So, I've thrown together a set of macros to implement a "reverse multitap" keyboard -- e.g., press the "e" key, and Pierogi will emit two "3"s. Press "j", it will emit one "5". For "s", it will emit four "7"s, etc. Hopefully, this will let you use an actual keyboard for any device that supports multitap. If you'd like to try it out, you can enable the "Reverse Multitap Keyboard Macros" in the Preferences screen accessible from the menu.

In any case, I'm happy to finally have some sort of IR keyboard to offer folks!

And also in this release, there are some minor tweaks to the Creative, Grundig, and RCA keysets, as well as a bugfix to the RCA protocol.

Happy Macro-ing, and again, please inform me of any and all bugs you run across!

sixwheeledbeast 2012-09-15 11:01

Re: [Announce] Pierogi - a universal infrared remote control app
 
Ok so a huge new feature. Great! :)
Although having some difficulties with it (as you probably expected).

Firstly, yes the UI is not very intuitive and can be frustrating.
Although most bits seem to work after you get the hang of it.

One major problem is you can't go back and edit the macros commands, pressing the edit button seems to jump you to the Macro Properties Panel with no way to the edit section.

Also I seem to be having trouble with my first macro.
Some clever person decided to not have a sleep button on my LG TV's remote. It is hidden in the system menu with about 10 key presses.
So I though I would try your macro system out.

Fortunately your LG TV keyset has the "sleep" command so I have the following macro.

Sleep > Pause 0 > Sleep > Pause 0 > Sleep > Pause 0 > Sleep > Select

The first time it worked perfectly :) 30 minutes sleep timer, so I reset the sleep timer and tried again.
Ever since that first go it has not worked. It sometimes stops on 10 minutes with the dialog box left open on the TV, sometimes 20 minutes.

I have tried 20 times now and never got it to work like the first go.
What do you think?
I have even tested removing and extending the sleep commands to no avail.


Finally, although I like the idea of using the keyboard to fire off the macro's.
IMO is this not going to create conflicts if you decide to follow OMP and use the top row of keys for switching your tabs.

I wouldn't mind being locked to using the bottom row of the keyboard for my macro's in fact with the being only 6 user defined buttons "ZXCVBN" will be perfect to remember.

sixwheeledbeast 2012-09-15 11:20

Re: [Announce] Pierogi - a universal infrared remote control app
 
Also moving things about the command list would be better done from looking at the list IMO.
ATM you have to click the command to move then up and repeat as required.
If you had select and up down in the list view moving the things about the list would be a lot easier.
You could then have click on the command for "delete and "copy".

Just some ideas for UI improvements :)

olibe 2012-09-15 12:13

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hello,
Thank for adding Cisco 8485DVB but is it possible to map key HDD to Disc Menu?

Copernicus 2012-09-15 14:04

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

Originally Posted by sixwheeledbeast (Post 1266788)
Firstly, yes the UI is not very intuitive and can be frustrating.

Yup. The current macros UI was quite literally an afterthought, after I managed to get a lot of the internal code working. (And, after fighting with it over the past week, I'm realizing that it should have been part of the forethought...) But I figured I should go ahead and let folks try it out, even if I had to rip it out and start over. :)

Quote:

One major problem is you can't go back and edit the macros commands, pressing the edit button seems to jump you to the Macro Properties Panel with no way to the edit section.
Yeah, I had this big idea to break everything down into "pack" / "macro" / "command" sections; but it hasn't made things all that much simpler so far. I don't really have a way to edit commands at all yet, you just have to delete and recreate them. :( I'll keep working on it...

Quote:

Fortunately your LG TV keyset has the "sleep" command so I have the following macro.

Sleep > Pause 0 > Sleep > Pause 0 > Sleep > Pause 0 > Sleep > Select

The first time it worked perfectly :) 30 minutes sleep timer, so I reset the sleep timer and tried again.
Ever since that first go it has not worked. It sometimes stops on 10 minutes with the dialog box left open on the TV, sometimes 20 minutes.
Hmm. Sounds like I may be pushing the protocol timing a bit too hard; some devices really need commands to be repeated once or twice before they will acknowledge them. The current design just fires off a command once and goes on to the next one (and so it is like pressing a remote key very very quickly).

Also, a "Pause" of 0 seconds should essentially be a no-op. I'm using the Qt "QTimer" class for these commands, which can in theory support milisecond resolution, so I could put in support for fractions of a second if you need it...

Quote:

I have tried 20 times now and never got it to work like the first go.
What do you think?
I have even tested removing and extending the sleep commands to no avail.
I suspect you might be able to get it to work by holding the N900 right up to the TV's IR receiver. If so, it probably means that there is some interference / weak signal / incorrect protocol timing going on, and allowing the signal to repeat would alleviate the problem.

I'll try setting up the macros to hold a keypress long enough for it to repeat once.

BTW, the "power search" feature uses the same no-repeat timing; do you know if it ever fails to switch on / switch off your TV?

Quote:

Finally, although I like the idea of using the keyboard to fire off the macro's.
IMO is this not going to create conflicts if you decide to follow OMP and use the top row of keys for switching your tabs.
Hmm. Is the Open Media Player the standard? Let me take a look at it. If nothing else, I could certainly put an option in the Preferences window to setup the keyboard following the OMP system. (I do still want to allow the use of the entire keyboard when IR keyboarding is possible, as with reverse multitap.)

Thanks!

Copernicus 2012-09-15 14:08

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

Originally Posted by sixwheeledbeast (Post 1266799)
Also moving things about the command list would be better done from looking at the list IMO.
ATM you have to click the command to move then up and repeat as required.
If you had select and up down in the list view moving the things about the list would be a lot easier.

Actually, I had "move up" and "move down" originally as buttons on the side (along with others), but the number of buttons on the screen was starting to crowd out the actual command data. Let me see if I can rearrange things again. :)

Quote:

You could then have click on the command for "delete and "copy".
Ack! "Copy"! I didn't even think of that. Very useful. Easy to implement, too. Let me throw that in...

Copernicus 2012-09-15 14:16

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

Originally Posted by olibe (Post 1266823)
Thank for adding Cisco 8485DVB but is it possible to map key HDD to Disc Menu?

Very possible; I should be able to rearrange the panels a bit to add more functionality. I should probably set up a specific collection of panels for the DVR/Satellite/DTT/etc. set-top boxes...

BTW, now that macros are available (although barely usable), you might be able to set up one of the "user defined" keys to be the HDD key. (You can find it near the bottom of the "Input Keys" category, if you're brave enough to try. :) )

cantruchd 2012-09-15 15:18

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi Corpernicus, great work with the keyset search! I am now able to control my "cheap" Sony label TV with the Haier TV keyset 1. However, the keyset does not provide all keys that my tv can receive.
So after the "searchbypower" feature, I would I like to request a "search by everything" feature, that is to emits all keys from all keysets. Because 'power' button for this device may be 'volume up' button for another one.So user can use keys from various keysets and macro to make their own keyset for a particular device.
I hope my point is clear enough :)
Thank you a lot and great job!

Copernicus 2012-09-15 15:33

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

Originally Posted by cantruchd (Post 1266927)
Hi Corpernicus, great work with the keyset search! I am now able to control my "cheap" Sony label TV with the Haier TV keyset 1. However, the keyset does not provide all keys that my tv can receive.

Thanks! And yeah, that Haier keyset is pretty limited. It is using the "Aiwa" protocol (probably so named because it was designed by Aiwa, and mostly only used by them). And, it's the only TV keyset I've got using that protocol right now... You might try some of the Aiwa non-tv keysets and see how they work. (I'll snoop around for some more Aiwa/Haier keysets. It looks like "Konka" is another possible brand with matching keysets, I'll grab those too.)

Quote:

So after the "searchbypower" feature, I would I like to request a "search by everything" feature, that is to emits all keys from all keysets. Because 'power' button for this device may be 'volume up' button for another one.So user can use keys from various keysets and macro to make their own keyset for a particular device.
Well, I don't think I would want to try to spit out every key for every device at one time; it'd take way too long (and there are some potentially dangerous commands as well). But I don't see why I couldn't allow you to replace the power key with other keys. (And there are keysets that don't even have a power key, so this might help with them as well.) Let me give it a shot.

And yeah, if I ever do get everything working, the macro system should certainly be a way to work around keyset deficiencies (and Pierogi bugs) by allowing you to construct your own buttons. :)

Edit: wow, convoluted corporate histories here. Looks like Aiwa was going bankrupt in the early 2000s, until it was bought out by Sony in 2002. However, Sony apparently didn't find the brand all that useful to them, so they seem to have slowly killed it off. Haier, on the other hand, is a giant Chinese firm working to break into the consumer electronics market; it seems that they may have started by working with other firms (like Aiwa), but nowadays manufacture their own TVs. So anyway, that's how a Sony TV might be using an Aiwa protocol, and might work with a Haier keyset. :)

sixwheeledbeast 2012-09-15 19:20

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

Originally Posted by Copernicus (Post 1266935)
wow, convoluted corporate histories here. Looks like Aiwa was going bankrupt in the early 2000s, until it was bought out by Sony in 2002. However, Sony apparently didn't find the brand all that useful to them, so they seem to have slowly killed it off.

Yes, this is true Sony then started using Aiwa as a "cheap" brand before they finally disappeared.
I used to like original Aiwa stuff.
Have found a few Sony remotes working Aiwa and vice-versa.

Tested the Macro's sat right on top of the TV and it's the same intermittent issue.

I can't test with the Power Search at all as it not working, coming up will error messages like "lirc busy" on every press; even after restarting.

What I was saying with the keyboard would not effect the "multitap". I was thinking from the POV that the multitap would eventually become a "mode" and the whole keyboard would be used for typing.
Whereas all the other tab menus would follow set keyboard hotkeys.
LIke QWERTY for the tabs, ZXCVBN for the macros and M, Space, Up, down, Left and Right for the "main" tab features.
Obviously this is all IMO of course.

Copernicus 2012-09-15 19:36

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

Originally Posted by sixwheeledbeast (Post 1267049)
Tested the Macro's sat right on top of the TV and it's the same intermittent issue.

I can't test with the Power Search at all as it not working, coming up will error messages like "lirc busy" on every press; even after restarting.

Ack! Could you check and see if there's perhaps a zombie Pierogi process running in the background? I'm wondering if perhaps I've got something not shutting itself down properly...

Quote:

What I was saying with the keyboard would not effect the "multitap". I was thinking from the POV that the multitap would eventually become a "mode" and the whole keyboard would be used for typing.
Whereas all the other tab menus would follow set keyboard hotkeys.
Ah, I see; yeah, that should be doable, I think. Let me take a look.

Quote:

LIke QWERTY for the tabs, ZXCVBN for the macros and M, Space, Up, down, Left and Right for the "main" tab features.
Hmm. The QWERTY keys would be re-mapped depending on the current panel collection, I suppose... Yeah, mapping the keyboard arrows to channel/volume/arrows makes sense, at least for those devices that actually have channel/volume/arrow keys. And having quick access to volume/mute from any collection might be nice in any case. :)

sixwheeledbeast 2012-09-15 22:11

Re: [Announce] Pierogi - a universal infrared remote control app
 
killall pierogi seems to have fixed it for now.
It said no process killed but no buttons worked before killall, it now functions as before.

The Macro is still playing up not pressing enough sleep commands and select seems to get missed off most times.

Power Search works again after killall and my LG TV switches on and off two or three times even on non LG keysets (I guess it's the same command on another keyset).

Yes, the way I see it, tabs/hotkeys would change for each panel.
So for the AC Panel only "QW" are active but for Universal Panel "QWERTY"
Much in line with task switcher in CSSU and OMP, like already mentioned.

I hope my bug reports are helping work out these issues above.
Any other things you need me to test/try let me know.

Copernicus 2012-09-15 23:57

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

Originally Posted by sixwheeledbeast (Post 1267125)
killall pierogi seems to have fixed it for now.
It said no process killed but no buttons worked before killall, it now functions as before.

Ah, I don't know what killall thinks about unresponsive processes, but yeah, it sounds like that was the problem. I need to make sure I am shutting down my worker thread before I allow the program to exit!

Quote:

The Macro is still playing up not pressing enough sleep commands and select seems to get missed off most times.
Well, it's pretty much gotta be my timing, then, I think. I must be forcing the commands too quickly to fit the protocol. I'll put a fix in for that asap.

Quote:

Power Search works again after killall and my LG TV switches on and off two or three times even on non LG keysets (I guess it's the same command on another keyset).
Well, LG is a very popular brand. :) (Also, LG is a company formed by the merger of "Lucky" and "Goldstar", so all the Goldstar keysets tend to be compatible with LG keysets.)

Quote:

Yes, the way I see it, tabs/hotkeys would change for each panel.
So for the AC Panel only "QW" are active but for Universal Panel "QWERTY"
Much in line with task switcher in CSSU and OMP, like already mentioned.
Gotcha! Hmm, from reading the OMP wiki it seemed like the keys were hard-coded to specific windows or menus, which was probably what was throwing me off. I'll see if I can't get something like this into the next release. Thanks!

olibe 2012-09-16 10:42

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

Originally Posted by Copernicus (Post 1266897)
Very possible; I should be able to rearrange the panels a bit to add more functionality. I should probably set up a specific collection of panels for the DVR/Satellite/DTT/etc. set-top boxes...

BTW, now that macros are available (although barely usable), you might be able to set up one of the "user defined" keys to be the HDD key. (You can find it near the bottom of the "Input Keys" category, if you're brave enough to try. :) )

I created this macro but unfortunately key command "HDD Input" of 3 "Cisco Set-Top Box Keyset" doesn't work :-(

Copernicus 2012-09-16 12:49

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

Originally Posted by olibe (Post 1267320)
I created this macro but unfortunately key command "HDD Input" of 3 "Cisco Set-Top Box Keyset" doesn't work :-(

Drat -- just took a close look at Cisco keyset 3, and I don't even have an "HDD" key in that set. :( Sorry about that. Let me check my sources again, I probably missed it...

Edit: Oops, you said "Cisco 8485DVB", right? That should be "Cisco Keyset 1". There is an "HD" key in that set, but I thought it was for "HDMI" input. :) Sorry about that, I'll remap it...

olibe 2012-09-16 14:09

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

Originally Posted by Copernicus (Post 1267368)
Drat -- just took a close look at Cisco keyset 3, and I don't even have an "HDD" key in that set. :( Sorry about that. Let me check my sources again, I probably missed it...

Edit: Oops, you said "Cisco 8485DVB", right? That should be "Cisco Keyset 1". There is an "HD" key in that set, but I thought it was for "HDMI" input. :) Sorry about that, I'll remap it...

Thanks for your reply, it works :)

Copernicus 2012-09-16 23:52

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hey, another update is on its way up to extras_devel right now. I managed to stumble across a massive collection of (potentially dubious) key codes on the hifi-remote website, including keys for brands I haven't been able to find anywhere. (There was even a keyset for a Crown Mustang TV!) So I've been browsing through it over the weekend, and have made a first pass at keysets for Crown Mustang, Hantarex, Keymat, Konka, and Wiwa, and added new keysets to ADB (I-Can), Sony, and Triax. I have no idea how good the data is, but at least it's something to try. (With luck, I'll be able to find some key codes for many of the devices that have been eluding me in the past...)

Unfortunately, I haven't spent much time on the UI; I've made a few tweaks to the Edit Macro Contents panel, but that's about it. I tweaked the protocol for LG to hopefully improve its performance during a macro (and if that works, I'll probably add that tweak elsewhere), and fixed the bug in Cisco's first keyset. And, I've cleaned up the thread handling a bit, so that Pierogi should ensure that everything gets shut down and cleaned up now when it exits.

So, not a big update, but lots of new keysets to play with. :)

sixwheeledbeast 2012-09-17 16:28

Re: [Announce] Pierogi - a universal infrared remote control app
 
@ninelives234
RE comments on the wiki page.
Please discuss issue here rather than on the wiki page.
Quote:

LG TV M227WAP ( on version 1.1 there in lg but for M227WDP not for M227WAP)-ninelives234
Quote:

Ah, if you could, please try out LG TV Keyset 1 anyway. The keysets in Pierogi can work with a far larger set of devices than are currently found in the device list; I suspect one of the existing LG keysets should already work with the M227WAP. --Copernicus 28/Aug/2012''
Quote:

No it didnt i did tried all of keyset under lg keyset and none of that works! or maybe my irda broken? how to test it? thankyou alot for your times man!!
Easiest way to check your IR is hold a command down in Pierogi an look at the IR with a camera. You should see the LED pulsing.

sixwheeledbeast 2012-09-17 16:58

Re: [Announce] Pierogi - a universal infrared remote control app
 
@Copernicus
Well the change in timing as fixed it at close range but from "normal distance" it's worse than before. :(

Pauses however long don't help either. It's like it sees the first command and then nothing at 2 metres. But bob on at 4 foot away.

On a positive note the Power Search feature now works perfectly.
I can button bash to my hearts content and not get a error or the automatic feature lock up.

My above post is from the wiki which I have updated.
I think notes are fine on the wiki but not a discussion, unless it's moved to the discussion part of the wiki.
IMO easier to post on here.

Copernicus 2012-09-17 17:26

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

Originally Posted by sixwheeledbeast (Post 1268047)
@Copernicus
Well the change in timing as fixed it at close range but from "normal distance" it's worse than before. :(

Pauses however long don't help either. It's like it sees the first command and then nothing at 2 metres. But bob on at 4 foot away.

Wow, interesting! Hmm. The first command always works? My initial suspicion, then, is that while fixing the repeat timing, I've screwed up the inter-command timing. But then, if that was the case, pauses between commands would fix the problem... Hmm. Definitely need to do some debugging here. (Everything seemed to be working here on my Samsung, but obviously I need to do more testing!) Sorry about all the problems.

Quote:

On a positive note the Power Search feature now works perfectly.
I can button bash to my hearts content and not get a error or the automatic feature lock up.
Cool, I was hoping that I'd done a better job there. :) But I can still get it to lock up by hitting the buttons really really fast. :( So please be careful! (At least it cleans up after itself correctly now when I close the app.)

Quote:

I think notes are fine on the wiki but not a discussion, unless it's moved to the discussion part of the wiki.
IMO easier to post on here.
I agree, it really is easier to keep track of a discussion on the forum boards. Thanks!

Estel 2012-09-17 19:05

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

Originally Posted by Copernicus (Post 1266628)
Quite some time ago, phone companies began associating keys on the phone keypad with letters from the alphabet (associating a, b, and c with 2, d e and f with 3, etc.); today, most cell phones support text entry on a 10-digit keypad using this system, which is generally known as a "multitap" keyboard. As it turns out, quite a number of televison sets (and probably other devices) support this as well, through their infrared remotes. So, I've thrown together a set of macros to implement a "reverse multitap" keyboard -- e.g., press the "e" key, and Pierogi will emit two "3"s. Press "j", it will emit one "5". For "s", it will emit four "7"s, etc. Hopefully, this will let you use an actual keyboard for any device that supports multitap. If you'd like to try it out, you can enable the "Reverse Multitap Keyboard Macros" in the Preferences screen accessible from the menu.

In any case, I'm happy to finally have some sort of IR keyboard to offer folks!

Absolutely ingenious idea, especially for those "older" TV's, that doesn't support either bluetooth, or USB keyboards, yet, allow renaming things. PITA of writing everything via remote multitap is going to disappear, thanks to Pierogi :)

Of course, other updates are amazing too - I just wanted to highlight, how useful it is, for some users.

/Estel

sixwheeledbeast 2012-09-17 22:33

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

Originally Posted by Copernicus (Post 1268054)
Wow, interesting! Hmm. The first command always works? My initial suspicion, then, is that while fixing the repeat timing, I've screwed up the inter-command timing. But then, if that was the case, pauses between commands would fix the problem... Hmm. Definitely need to do some debugging here. (Everything seemed to be working here on my Samsung, but obviously I need to do more testing!) Sorry about all the problems.

Do bear in mind I am using the same command over and over.
Will this cause the problem with certain protocols?
Thinking about it the Select at the end seems to fail most times so maybe not.
Don't worry about it I don't mind helping to solve it.
Sorry I can't give you more to work on.

Copernicus 2012-09-17 22:56

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

Originally Posted by sixwheeledbeast (Post 1268185)
Do bear in mind I am using the same command over and over.
Will this cause the problem with certain protocols?

Hopefully not; there shouldn't be anything in the current engine that could have knowledge of which commands were last emitted. Most likely, I just haven't done enough work testing and cleaning up the new macro code; all the non-macro Pierogi functionality appears to be working normally, so far as I have seen. I'll keep at it! :)

Copernicus 2012-09-19 21:13

Re: [Announce] Pierogi - a universal infrared remote control app
 
Bugfix time: I managed to step on my own toes trying to delete objects across threads (which, I kind of expected, actually -- I'm not the most experienced thread wrangler out there). Pierogi allows you to choose a different keyset while a command is still running, which is, in itself, not a bad thing. However, it now also tries to immediately clean up the old keyset, which is very much a bad thing -- any running command has its keyset data destroyed from underneath it. :( (This is at least partly to blame for the macro problems, as the macro system does a lot of keyset switching itself.) So, I have another update moving into extras_devel to fix this bug.

Also in this update, a first pass at keysets for Changhong, Frontech, and Sinotec; a new keyset for Thomson; and a fix to an ADB (I-Can) keyset.

sixwheeledbeast 2012-09-20 16:00

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

Originally Posted by Copernicus (Post 1269307)
Bugfix time: This is at least partly to blame for the macro problems, as the macro system does a lot of keyset switching itself.

Just to let you know my test "sleep" macro is still the same.

Every command has a one second pause between and it's very hit and miss with the commands.

Doing the same thing with the normal buttons in pierogi is perfect.

Also updated both wikis to 1.1.14 you may want to check over them

olibe 2012-09-22 15:53

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hello Copernicus,
Could you look at "Cisco Keyset 1", if the Exit key is correctly mapped. Because the Exit key on the remote control works differently.
Sincerely,
Olibe


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8