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)

enne30 2012-02-28 18:54

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

Originally Posted by Copernicus (Post 1171457)
Ah, you should give it a try! It isn't as hard as it may look. :)



The main problem with this is that I don't yet have a mechanism to store and retrieve an individual keyset (or subset of keys). I'd also have to make the Pierogi IR device manager available separate from the rest of the code. Basically, the current Pierogi design works against this.

However, let me mention that this is exactly how the LIRC server works -- you feed it an individual LIRC config file, and then make calls to it from your own personalized front-end. Existing desktop IR widgets, such as the very nice RaeMote, work in exactly this manner. So you don't need to wait on Pierogi if you'd like to develop something like that...

thanks for explanations, I will give a look to the LIRC stuff :)

sixwheeledbeast 2012-02-28 19:50

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

Originally Posted by Copernicus (Post 1171349)
My current plan is to set up a decent command-line interface; therefore, instead of making the app itself into a desktop widget, you could create a lightweight GUI (maybe a QBW?) that makes scripted calls to Pierogi.

Current plan sounds good.

psycon 2012-02-28 21:15

Re: [Announce] Pierogi - a universal infrared remote control app
 
can you add a keyset for viewsat 2000 their is a config for lirc if its easy to port.

sixwheeledbeast 2012-02-28 21:17

Re: [Announce] Pierogi - a universal infrared remote control app
 
Idea...
What's the chances of a Lefty Main Screen option?
This would switch the volume and the channel selector buttons over.

I don't know about everyone else but I am used to the volume being on the left.

Copernicus 2012-02-28 21:35

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

Originally Posted by psycon (Post 1171565)
can you add a keyset for viewsat 2000 their is a config for lirc if its easy to port.

Will do, the LIRC config file looks fine. :)

Copernicus 2012-02-28 21:37

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

Originally Posted by sixwheeledbeast (Post 1171566)
Idea...
What's the chances of a Lefty Main Screen option?
This would switch the volume and the channel selector buttons over.

Well, chances are much better than they were a few days ago. :) I'm trying out a more flexible GUI mechanism than before; if it works out, it'll be much easier to set up numerous varieties of button panels. (Still not up to the QtIrreco level of flexibility, but I'm really not aiming for that with Pierogi...)

petur 2012-02-29 15:18

Re: [Announce] Pierogi - a universal infrared remote control app
 
hope this is still the place for requests: how about logitech squeezebox? I use the IR remote for mine (SB2) a lot, as it is the only way to control it bar going to a web browser or dedicated app, and for simple interaction, the IR is easier/faster

Copernicus 2012-02-29 16:09

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

Originally Posted by petur (Post 1172105)
hope this is still the place for requests: how about logitech squeezebox?

I've located a config file for the squeezebox, I'll put it on my list. :) (I'm messing around with the Pierogi GUI code right now, so I don't have a good handle on exactly when the next update will come out...)

Copernicus 2012-03-01 01:47

Re: [Announce] Pierogi - a universal infrared remote control app
 
1 Attachment(s)
Well, after much research and experimentation, I've come to the conclusion that I just can't push the tabbed window mechanism any further. Pierogi has simply grown beyond the limits possible for displaying a set of tab names at the top of the screen; I just need more tabs than the system can deal with.

So, after more research and experimentation, I've replaced the tabbed window mechanism with a system of stacked panels topped by a combo box. While physically somewhat similar to the previous approach, it has the advantage of supporting a practically unlimited set of control panels. The disadvantage is that you can no longer get to any panel by pressing a single button. We'll have to see if the tradeoff is worth it.

In this new system, it is quite easy to add or remove panels as you see fit. I've added a new menu option called "Manage Panels" that allows you to do just that.

An update with the new GUI is now making its way up to the extras-devel repository. Also in this update:

- An entirely new "Air Conditioner" panel. This panel contains a selection of buttons specifically tailored for A/C control. The existing A/C keysets in Pierogi have been modified to use these buttons, so there is no longer any need to try and figure out what "3" or "yellow" means when attempting to control your A/C. :)

- A new "Select Keyset by Device" window: I've finally removed the confusing "filter by device" option from the existing list of keysets, and created a window to show all of the devices currently considered to be supported by Pierogi. Selecting a device from this list will activate the keyset associated with that device.

- Following advice in another thread, I've set up Pierogi to use a 50% duty cycle for all IR protocols. This might improve the range in some situations; it might also reduce the range. We'll have to see if it helps more than it hurts.

- Many new keysets: added some Foxtel set-top boxes, a Logitech Squeezebox, several Sony CD players, and an improved Western Digital media player. A first pass has been made at keysets for AOC, Arcam, Dell, Dick Smith Electronics, Dynex, Harman Kardon, Kathrein, Starsat, and Viewsat.

- Finally, I'm using a more rational numbering scheme; rather than changing a major number at the end of a development cycle (just before pushing Pierogi up to extras-testing), I'm changing the number at the start; so this "version" of Pierogi will have the same number when it finally gets promoted as it does now. So, this is now version 1.1, "For a Few Pierogies More". :)

Please note, with this many code changes, new bugs are nearly unavoidable! As with anything in extras-devel, please be careful when using this app.

Here's a look at the new interface:

king Ralphred 2012-03-01 23:34

Re: [Announce] Pierogi - a universal infrared remote control app
 
As you know, I've been messing about since this came out but I used it tonight because I lost the tv remote. Superb. I noticed the sky+ keysets are missing from the latest version. I was messing about with it today before the update and I can't figure out why it works on some presses but not others. Any chance of adding it again?

sixwheeledbeast 2012-03-01 23:53

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

Originally Posted by king Ralphred (Post 1172803)
I noticed the sky+ keysets are missing from the latest version.

I don't think there missing. There just not in the Compatible device list.
Choose "Select Keyset by Name" not "Select Keyset by Device" the two Sky Keysets are there.
If you have a Sky Box that works add the make and model to the Compatibility List or post them here and I'll add them.

king Ralphred 2012-03-02 00:22

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

Originally Posted by sixwheeledbeast (Post 1172816)
I don't think there missing. There just not in the Compatible device list.
Choose "Select Keyset by Name" not "Select Keyset by Device" the two Sky Keysets are there.
If you have a Sky Box that works add the make and model to the Compatibility List or post them here and I'll add them.

Having a dim moment. How do I get "select keyset bey name". All I can find is select keyset with make and device.

sixwheeledbeast 2012-03-02 00:37

Re: [Announce] Pierogi - a universal infrared remote control app
 
Latest version of Devel 1.1.0 has this option.
If you don't have 1.1.0 manually scroll down the list on Any/Any.

king Ralphred 2012-03-02 01:06

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

Originally Posted by sixwheeledbeast (Post 1172840)
Latest version of Devel 1.1.0 has this option.
If you don't have 1.1.0 manually scroll down the list on Any/Any.

I think Copurnicus said that the latest update only had keysets from the compatability list. I'm purging and installing via xterm with reboots after each process. Would this install the version from devel or extras? And if devel, would disabling devel give me the version from extras. Why am I even asking. Will try it now.

Cool. It worked. I like the mute button on the main screen for adverts aswell.

Copernicus 2012-03-02 03:21

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

Originally Posted by king Ralphred (Post 1172858)
I think Copurnicus said that the latest update only had keysets from the compatability list.

Sorry! That "sort by device" was way too confusing. The list of compatible devices in Pierogi is simply the list of machines known to work, not the actual set of machines that do work. :)

The truth is I have no idea what machines do and do not work with the keysets I've got. But I'm going to continue to enter every last code I can find into Pierogi. My ultimate goal is to let my N900 control every device on Earth that has an infrared port. :)

(And yeah, I'll be getting back to sorting out the problems with Sky pretty soon...)

ajack 2012-03-02 04:00

Re: [Announce] Pierogi - a universal infrared remote control app
 
Can I suggest that the program, based on the IR codes choosen by user, simply auto-select the appropriate tabs that get displayed? That way only relevant panels get shown. If you get what I mean. :)

Copernicus 2012-03-02 04:08

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

Originally Posted by ajack (Post 1172909)
Can I suggest that the program, based on the IR codes choosen by user, simply auto-select the appropriate tabs that get displayed? That way only relevant panels get shown. If you get what I mean. :)

Yes, I would love to do that! (I only created a way to select and remove panels a few days ago, so I really haven't put much thought into how to use the system. :) But at the very least, it would make sense to, say, enable the A/C panel when using an A/C keyset.)

But still, the driving concept behind Pierogi is that of the universal remote; I'd like to have a minimal number of panels that can usefully control the maximum number of devices... :)

petur 2012-03-02 22:09

Re: [Announce] Pierogi - a universal infrared remote control app
 
1 Attachment(s)
Now that my collection of controllable devices is growing, I have an idea: the center shows the current keyset, why not cycle between the favorites when tapping this area?

And got another device request: QNAP NMP-1000(P) media player. Did some searching for you to make life easier:

this thread contains a table:
http://www.hifi-remote.com/forums/vi...9c3ab4fc9acddf

I also found this map (attached)

Copernicus 2012-03-02 23:09

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

Originally Posted by petur (Post 1173331)
the center shows the current keyset, why not cycle between the favorites when tapping this area?

Ah, this idea came up before, and I thought about it. But I kind of prefer leaving that area as a fixed space. Instead, I mapped the volume-rocker keys on the side of the N900 to the favorites list -- not only can you cycle backwards and forwards through the list using them, you can do so on any panel, not just the main panel. :)

Quote:

And got another device request: QNAP NMP-1000(P) media player. Did some searching for you to make life easier:
Cool, thanks! Looks like it is using the very popular "NEC" protocol, I'll give it a shot... :)

ioncelmare 2012-03-02 23:32

Re: [Announce] Pierogi - a universal infrared remote control app
 
are u able to introduce the remotes for some tv-tuners?
i personally have a compro.
also a genius remote to my sistem sound ( 4 buttons ) - http://lirc.sourceforge.net/remotes/genius/SW_5_1_HT.

i was busy a wile, and after few dais i see u changed the top part ( nicer and easyer ).

Copernicus 2012-03-03 00:15

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

Originally Posted by ioncelmare (Post 1173365)
are u able to introduce the remotes for some tv-tuners?
i personally have a compro.
also a genius remote to my sistem sound ( 4 buttons ) - http://lirc.sourceforge.net/remotes/genius/SW_5_1_HT.

Sure! The Compro looks fairly easy, I'll go ahead and add it to the list. The Genius looks a little harder, it's using a protocol I haven't seen before, but I'll give it a shot. :)

Copernicus 2012-03-03 01:26

Re: [Announce] Pierogi - a universal infrared remote control app
 
Another update is now on its way up to extras-devel. This one includes the triumphant return of the "Record" button to Pierogi, via a new Program/Record control panel. :) Also included are bug fixes for the Select Keyset by Device window (thanks to sixwheeledbeast), and a first pass at keysets for Compro, Kaon, and QNAP.

akashvani 2012-03-03 09:23

Re: [Announce] Pierogi - a universal infrared remote control app
 
Amazing...Amazing....It operates my LG AC too.

Working - Switch ON and OFF of the AC

Please enhance the UI to include other buttons to control the below
a) Mode
b) temperature
c) Timer - ON and OFF
d) Vertical and Horizontal Swing
e) Fan speed

davdav 2012-03-03 09:45

Re: [Announce] Pierogi - a universal infrared remote control app
 
why not to add a search to the remote key select
thanks in advance :)

petur 2012-03-03 09:54

Re: [Announce] Pierogi - a universal infrared remote control app
 
The QNAP codes seem to work, only tried the basic ones but good work man!

I've been looking into codes for my Magnum (cheepo) tv, but only got far as that it uses rc5. I tried all Philips remotes but it only does some unrelated things for some keysets.

Is there a debug system in pierogi to play with codes? I know a bit about rc5, having once written some very lowlevel code to interact with it.

Edit: found this: http://lirc.sourceforge.net/remotes/magnum/ :)

sixwheeledbeast 2012-03-03 11:22

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

Originally Posted by davdav (Post 1173543)
why not to add a search to the remote key select
thanks in advance :)

Like a search box at the bottom?

This would make it easier to find things from partial model numbers. Due to most manufactures including the size in the device name.
'32' would then bring all the models with '32' in the device name, most will be 32 inch TV's.


At the moment (v1.1.1) the search feature is press a keyboard key for the first hit and then keep pressing for the rest. So....

As you press the "S" key.
Saba > Sagem > Samsung > Sanyo > Sharp > Sky > Sony > Starsat
Then start at Saba again.


This is the same in all the forms. Which IMO can cause problems, take the Select Device for example...

If you press "Q", QNAP comes up with no hits (this is true because there are no Devices in the wiki yet.)
Then if you press "W" Western Digital comes up all is well.

If however while on "Q" you tap the screen by accident pressing "W" no longer works. This is because the the keyboard is now searching the models (not the makes) but you don't realise because nothing is highlighted/changed on screen!
This happens with all the forms.

If you understand what is going on and tap the models again the lookup appears, which is annoying IMO.

@Copernicus
On Select Device form Any/Any, I don't think the top device should be 'Any Asrock HT330'; small bug/typo? ;)

Copernicus 2012-03-03 13:13

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

Originally Posted by akashvani (Post 1173537)
Working - Switch ON and OFF of the AC

Please enhance the UI to include other buttons to control the below

There is a new "A/C Control Panel" that you can bring up by going to the "Manage Panels" option in the menu, and this should have all the rest of the A/C controls in it. I should probably enable this panel whenever you select an A/C keyset. :)

Copernicus 2012-03-03 13:21

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

Originally Posted by petur (Post 1173548)
Is there a debug system in pierogi to play with codes? I know a bit about rc5, having once written some very lowlevel code to interact with it.

I haven't yet gotten that far. :) I'm still messing around a bit with the actual structure of my IR control mechanism, so I haven't really been concentrating on stuff like configuration files or debugging input... But there's no reason you couldn't use the LIRC server if you wanted; it is quite easy to test out codes using their system.

And I'll put the Magnum on my list. :)

Copernicus 2012-03-03 13:28

Re: [Announce] Pierogi - a universal infrared remote control app
 
[QUOTE=sixwheeledbeast;1173578]Like a search box at the bottom?[QUOTE]

Ack! I forgot, I was going to do this earlier. I didn't even realize that the combo boxes were getting the keyboard focus. I really do need to test this stuff out more. :) Let me start on this again, and see how much work it would take to implement.

Quote:

On Select Device form Any/Any, I don't think the top device should be 'Any Asrock HT330'; small bug/typo? ;)
Thank you, yes, the model should not be "Any". :) (I'm not sure why I did that.)

Hurrian 2012-03-03 13:30

Re: [Announce] Pierogi - a universal infrared remote control app
 
10/10, would install over 9000 times.

This app is better than any other IR remote I've used for the N900. Bravo.

All we need now is a better IR LED hooked up to it!

hadjistyllis 2012-03-03 13:37

Re: [Announce] Pierogi - a universal infrared remote control app
 
Request: I have a thomson tv but i cant find any remote for thomson tvs. If its possible to add a thomson remote I will be very pleased :)

Copernicus 2012-03-03 13:54

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

Originally Posted by hadjistyllis (Post 1173624)
If its possible to add a thomson remote I will be very pleased :)

I will put Thomson on my list. :)

ajack 2012-03-03 19:38

Re: [Announce] Pierogi - a universal infrared remote control app
 
@Copernicus: Can I request YORK air-conditioners to the list and I also have a Nokia Satellite Decoder box that needs a remote control... :p

petur 2012-03-03 19:39

Re: [Announce] Pierogi - a universal infrared remote control app
 
Another one for your list: telenet (Belgium) digital tv boxes (digicorder).

Found some info:
http://www.hifi-remote.com/forums/vi...510c1113a1783e

Copernicus 2012-03-03 20:12

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

Originally Posted by ajack (Post 1173752)
@Copernicus: Can I request YORK air-conditioners to the list and I also have a Nokia Satellite Decoder box that needs a remote control... :p

York looks hard; I'm not finding any codes for it (or for the other name for the brand, Acson). The Nokia satellite box looks like it has a better chance, there are a few config files on the hifi-remote site; I'll put them on the list. :)

Copernicus 2012-03-03 20:19

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

Originally Posted by petur (Post 1173753)
Another one for your list: telenet (Belgium) digital tv boxes (digicorder).

Found some info:
http://www.hifi-remote.com/forums/vi...510c1113a1783e

Ah, this one is using the XMP protocol! I've been working my way up to that (other brands using this protocol have already been requested, such as Dreambox and Thomson). XMP is one heck of a protocol, with a 4-bit pulse encoding, multiple checksums, and a fancy starting-command / continuing-command / ending-command series of frames. A lot more complex than most protocols out there, but very popular with recent hardware... I've started in on it, but I don't know how long it will take to get it all working correctly. :)

shazosbourne 2012-03-04 11:24

Re: [Announce] Pierogi - a universal infrared remote control app
 
Me again,
If I get the codes for Foxtel IQ2 would you add them to your app eventually?
What format do they need to be in? A PCF file? Or text like this
Code:

0    0000 0073 0000 0012 000F 000A 0006 000A 0006 0016 0006 000A 0006 0010 0006 0016 0006 0016 0006 000A 0006 000A 0006 000A 0006 0016 0006 0010 0006 0016 0006 000A 0006 000A 0006 000A 0006 000A 0006 0CAF
1    0000 0073 0000 0012 000F 000A 0006 000A 0006 0016 0006 000A 0006 0010 0006 0016 0006 0016 0006 000A 0006 000A 0006 000A 0006 0016 0006 0010 0006 0016 0006 000A 0006 000A 0006 000A 0006 0010 0006 0CA9

Chhers

sixwheeledbeast 2012-03-04 11:41

Re: [Announce] Pierogi - a universal infrared remote control app
 
@shazosbourne
Another Foxtel Keyset was added in 1.1.0 is this not working for you?

ioncelmare 2012-03-04 12:11

Re: [Announce] Pierogi - a universal infrared remote control app
 
hy,
just used the remote for compro tv-tuner, and i can say it is working.
i have an older tv-tuner, and i wanted to use only the remote for controling computer.

problem is the radius, about 40 cm from receiver.
someone can confirm this problem on another tv-tuner? do we have another remote for tv-tuners?
probably is the weak signal from the phone combined with older tuner technologies which need more signal strenght.

Copernicus 2012-03-04 13:17

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

Originally Posted by shazosbourne (Post 1174057)
If I get the codes for Foxtel IQ2 would you add them to your app eventually?

That looks like a Pronto hex file. Decoding Pronto is a pain, but those codes do look to be in the Nokia 32 protocol (a 2-bit encoding), and the code they contain is: 0 2 0 1 2 2 0 0 0 2 1 2 0 0 0 0. Putting these sets of bits into bytes, you come up with the hex value 0x21A02600.

As it turns out, following the protocol, this means the major device number is 0x21A0, the minor device number is 0x26, and the command code is 0x00. And these happen to be the values used for the key "0" in "Foxtel STB Keyset 2", which as sixwheeledbeast mentioned was added in the 1.1.0 version of Pierogi (which you can find in the extras-devel repository).

If that keyset isn't working for you, please let me know! I haven't tested out the Nokia 32 protocol very much yet...


All times are GMT. The time now is 04:14.

vBulletin® Version 3.8.8