Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-09 Thread diode84
Jeff07971 wrote: > Glad you got it working. > > There is a list of key here > https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv > > Jeff Thanks Jeff With that I had no trouble mapping two keys as KEY_MINUS and KEY_EQUAL. Its been a long journey for you so thank you and to

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-09 Thread Jeff07971
diode84 wrote: > Thanks Jeff07971, that explained it enough for me at last. > The protocol turned out to be RC-6 so DiodesTables.conf now works up to > a point. I will have to find the correct name for the OK key. Glad you got it working. There is a list of key here

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-09 Thread diode84
Jeff07971 wrote: > The list of protocols is given when you clear the tables initially. > > > Jeff Thanks Jeff07971, that explained it enough for me at last. The protocol turned out to be RC-6 so DiodesTables.conf now works up to a point. I will have to find the correct name for the OK key.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-08 Thread Jeff07971
diode84 wrote: > Is this any better. I think the Philips remote may use RC-5 protocol but > not sure > > # table: philips, type: RC-5 > 0x458 KEY_UP > 0x459 KEY_DOWN > 0c45b KEY_RIGHT > 0x45a KEY_LEFT > 0x45c KEY_OK > 0x42c KEY_PLAYPAUSE The list of protocols is given when you clear the

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-08 Thread diode84
ralphy wrote: > I see 2 issues. > You are missing the type field with the protocol in your table. See > Jeff07971 example. But you must use the correct protocol for your > remote. > and there is NO slash in the KEY_PAUSE/PLAY keysym it should be > KEY_PLAYPAUSE Is this any better. I think

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-08 Thread ralphy
diode84 wrote: > I saved a file called DiodesTables.conf and its contents are: > # table: philips > 0x458 KEY_UP > 0x459 KEY_DOWN > 0c45b KEY_RIGHT > 0x45a KEY_LEFT > 0x45c KEY_ENTER > 0x42c KEY_PAUSE/PLAY > I must be doing something wrong in IR page as it still has no effect. > Any

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-07 Thread diode84
Jeff07971 wrote: > Had to go back and check myself ! > > > Now put those values into a config file say DiodesTables.conf avoid > extended chars spaces etc in filename > > In the form :- > > # Description remark > > KEYCODEKEY_PRESS > > > > If you store it on your laptop you can then use

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-06 Thread Jeff07971
diode84 wrote: > It is slowly making sense. > If I input (sudo ir-keytable -p all -c) I get: > > KEY_UP 0x458 > KEY_DOWN 0x459 > KEY_RIGHT 0c45b > KEY_LEFT 0x45a > KEY_ENTER 0x45c > KEY_PAUSE/PLAY 0x42c > > There is no vol+ or vol- on the remote so can I pick any two suitable > keys. > >

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-06 Thread diode84
Jeff07971 wrote: > A little search will help ! > > https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5 > > Jeff It is slowly making sense. If I input (sudo ir-keytable -p all -c) I get: KEY_UP 0x458 KEY_DOWN 0x459

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread Jeff07971
diode84 wrote: > You are right there is no GPIO 25 on Pi 1. I set it to GPIO 22 and it > worked perfectly so thank you for that. > I also have a much better feel for ssh. Next thing is to get an old > remote control to work on pCP. > How could I map the scancodes for a few buttons on an old

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread diode84
Jeff07971 wrote: > Well GPIO 25 (Not PIN 25) is defualt for pCP but a Pi 1 B does not have > GPIO 25 > You'll have to work out one for yourself that isn't being used by your > DAC and then enter it in the WEB GUI > > Jeff You are right there is no GPIO 25 on Pi 1. I set it to GPIO 22 and it

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread Jeff07971
diode84 wrote: > I have transferred the justboom keytable and did save and reboot but no > luck with remote. > My pi is an Pi 1 b so what IO should I be using. > Any other ideas./ Well GPIO 25 (Not PIN 25) is defualt for pCP but a Pi 1 B does not have GPIO 25 You'll have to work out one for

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread diode84
Jeff07971 wrote: > Sorry should have remembered you using linux the command line you want > is "ssh tc@" > Defualt ssh password for pCP is piCore > > Jeff I have transferred the justboom keytable and did save and reboot but no luck with remote. My pi is an Pi 1 b so what IO should I be using.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread Jeff07971
diode84 wrote: > Thanks Jeff > I am getting there. Terminal in xenial64 and ip address of pCP asks for > password, I dont have one. > When I do get in to pCP can I then just add: > > cd /usr/local/etc/keytables > sudo cp /usr/local/share/pcp-irtools/files/justboomir jivelite > sudo ir-keytable

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread diode84
Jeff07971 wrote: > I'm sorry I don't understand the question ! > > ssh client comes with every linux I know of, try (on you xenial64 box) > in a command prompt "ssh " > > "justboomir" is the keytables file (conf file) for the JustBoom IR > remote > > Jeff Thanks Jeff I am getting there.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread Jeff07971
diode84 wrote: > Am I adding a keytable for the justboom. > It is in the form of: > cd /usr/local/etc/keytables > sudo cp /usr/local/share/pcp-irtools/files/justboomir jivelite > sudo ir-keytable -c -w jivelite > pcp bu > Thats not a file I can add so can I save it as a file then add it, >

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread diode84
Jeff07971 wrote: > You use a Linux that does not have an SSH client :eek: !!! > I didn't know such a thing existed ! > > If you have the keytable "justboomir" then with pCP 6 you can upload it > via the WEB GUI under "Tweaks" > > > > Jeff Am I adding a keytable for the justboom. It is in

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread Jeff07971
diode84 wrote: > I have my justboom remote and IR receiver connected but get a bit stuck > on your tutorial at adding keytable for justboom: > > cd /usr/local/etc/keytables > sudo cp /usr/local/share/pcp-irtools/files/justboomir jivelite > sudo ir-keytable -c -w jivelite > pcp bu > > Any

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-05-04 Thread diode84
ralphy wrote: > That should be fine. I use several IR remotes from long dead > electronics. > > You need to map the scancodes produced from each key on the remote and > assigned the key symbol for the jivelite action to the scancode value. > There's a link near the bottom of post #1 to a

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-25 Thread diode84
ralphy wrote: > That should be fine. I use several IR remotes from long dead > electronics. > > You need to map the scancodes produced from each key on the remote and > assigned the key symbol for the jivelite action to the scancode value. > There's a link near the bottom of post #1 to a

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-25 Thread ralphy
diode84 wrote: > Until I get my IR receiver from Ebay and try a remote I do not > understand. Two things mainly: > (You won't be able to access all areas of the controller functionality > from the remote without the menu key.) > > (key symbols that you need to map) > I have a remote in mind

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-22 Thread diode84
ralphy wrote: > You won't be able to access all areas of the controller functionality > from the remote without the menu key. > > You could map KEY_VOLUMEDOWN and KEY_VOLUMEUP instead of the pause and > menu funtions. If those don't work then use KEY_MINUS (Volume Down) and > KEY_EQUAL

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-22 Thread ralphy
diode84 wrote: > These are fine except I need vol+ and vol-. > I can do without the menu and have never had a pause button but would be > nice. You won't be able to access all areas of the controller functionality from the remote without the menu key. You could map KEY_VOLUMEDOWN and

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-21 Thread diode84
ralphy wrote: > 7 buttons is the minimum to be able to navigate jivelite effectively. > I've listed the key symbols that you need to map. > > > Code: > > > KEY_UP (up) > KEY_DOWN (down) > KEY_ESC (left) Escape > KEY_RIGHT (right) > KEY_L (go) Enter >

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-21 Thread ralphy
diode84 wrote: > I have found a number of simple remote controls and wondered if it is > possible to setup seven buttons on one of these to work with PCP or is > that a step too far. See 'this thread'

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-20 Thread diode84
Paul Webster wrote: > See this old thread for how to do it on pCP (pCP 5 but I think this > aspect is the same for pCP 6) - assuming you want to control Jivelite > not Squeezelite. >

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-20 Thread Paul Webster
diode84 wrote: > If I setup LIRC on PCP on my Pi1 and have a TSOP4838 IR receiver > connected to the GPIO of the Pi, is is very complex to use a few > functions of any 38khz remote control. See this old thread for how to do it on pCP (pCP 5 but I think this aspect is the same for pCP 6) -

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-20 Thread diode84
If I setup LIRC on PCP on my Pi1 and have a TSOP4838 IR receiver connected to the GPIO of the Pi, is is very complex to use a few functions of any 38khz remote control. diode84's Profile:

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-19 Thread peterw
kidstypike wrote: > Yes, I think that's the case, anyway it's 'this one' > (https://www.amazon.co.uk/s?k=raspberry+pi+screen+case=2KE2TJQENPTAA=raspberry+pi+screen+case%2Caps%2C145=nb_sb_ss_i_1_24) > > > With the FLIRC USB dongle I've no problem with the IR remote, it works > even if I point

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-19 Thread kidstypike
peterw wrote: > Are you using those with 'this style case that @chill flush mounted' > (https://forums.slimdevices.com/showthread.php?111764-Raspberry-Pi-official-touchscreen-flush-mounting)? > I'd love to see photos. I think I'm finally about to build a touchscreen > PcP and was planning on

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-19 Thread diode84
I have ordered an IR receiver TSO4838 and can connect it to Pi1 GP10 connector. I have found a number of simple remote controls and wondered if it is possible to setup seven buttons on one of these to work with PCP or is that a step too far.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-18 Thread Paul Webster
ralphy wrote: > It is actually a 38 kHz TSOP4838 DIP-3 IR Receiver Module. There's also > a link to them on amazon in the post. My mistake. I was using Taptalk when replying that time - and it automatically showed a picture under the thread link. It shows what was the last picture in the

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-18 Thread peterw
kidstypike wrote: > > I have 2 Raspberry Pi,s with 7" pi screens/piCorePlayer, both use one of > '*these*' > (https://www.amazon.co.uk/FLIRC-generation-universal-control-receiver/dp/B01NBRBWS6/ref=sr_1_2?crid=185DE4T5VOW38=1=flirc+usb=1585934383=flirc%2Caps%2C145=8-2) > with my existing

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-18 Thread diode84
Thanks Ralphy. diode84's Profile: http://forums.slimdevices.com/member.php?userid=68983 View this thread: http://forums.slimdevices.com/showthread.php?t=111927 ___

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-18 Thread ralphy
Paul Webster wrote: > That picture is of what looks like a transmitter rather than a receiver. It is actually a 38 kHz TSOP4838 DIP-3 IR Receiver Module. There's also a link to them on amazon in the post. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds'

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-17 Thread Jeff07971
diode84 wrote: > The TSOP38238 IR receiver is cheap on ebay, the TSOP4838 IR RECEIVER, > 38KHZ is even cheaper but I do need some details of how to connect it to > a Pi1. > PS. I have found out how to connect to Pi1. Next stage is to buy an IR > receiver. I Use TSOP38438 or TSOP38238 Pin 1

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-17 Thread diode84
The TSOP38238 IR receiver is cheap on ebay, the TSOP4838 IR RECEIVER, 38KHZ is even cheaper but I do need some details of how to connect it to a Pi1. diode84's Profile:

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-17 Thread Paul Webster
That picture is of what looks like a transmitter rather than a receiver. You would need something like this https://www.adafruit.com/product/157 costs more to ship it than the item itself so look around to see if either you want more kit in the same order or can find the same sort of thing

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-17 Thread diode84
What sort of IR receiver do I need for a Pi1 and any chance of the connections? Ralphy has a photo https://forums.slimdevices.com/showthread.php?105117-lirc-rpi-gpio-IR-support-for-picoreplayer but I cant make it out from that. Could do with a few more details.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-04 Thread diode84
w3wilkes wrote: > What is it that can't be done with one of the apps like Orange Squeeze, > the app for apple iThings, the WebUI (either Default or Material skin) > or a Duet controller? I can control any of my squeeze player devices > with these. I don't understand what remote control features

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-04 Thread diode84
kidstypike wrote: > Easy way. > > I have 2 Raspberry Pi,s with 7" pi screens/piCorePlayer, both use one of > '*these*' > (https://www.amazon.co.uk/FLIRC-generation-universal-control-receiver/dp/B01NBRBWS6/ref=sr_1_2?crid=185DE4T5VOW38=1=flirc+usb=1585934383=flirc%2Caps%2C145=8-2) > with my

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread kidstypike
w3wilkes wrote: > What is it that can't be done with one of the apps like Orange Squeeze, > the app for apple iThings, the WebUI (either Default or Material skin) > or a Duet controller? I can control any of my squeeze player devices > with these. I don't understand what remote control features

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread w3wilkes
What is it that can't be done with one of the apps like Orange Squeeze, the app for apple iThings, the WebUI (either Default or Material skin) or a Duet controller? I can control any of my squeeze player devices with these. I don't understand what remote control features you can't do with one of

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread Paul Webster
I haven't reread that thread but it is quite old. Use it for the hardware info but you might find that the software part is much easier nowadays through the pCP web interface. Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread kidstypike
diode84 wrote: > Hello > I have pCP on a Pi1. At the moment controlled with a usb keyboard, I > only use the up, down, left, right, + and - for volume. I have in the > past used an air mouse like > eBay item number: 283802980182. Its ideal and simple but the keys wear > out after a few months.

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread diode84
Thanks Paul That gives me a lot of information and things to try. Will probably be back. diode84's Profile: http://forums.slimdevices.com/member.php?userid=68983 View this thread:

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread Paul Webster
See https://forums.slimdevices.com/showthread.php?105117 Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this

Re: [SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread Paul Webster
Yes - you can add a small IR receiver to the GPIOs on the Pi (you might need an extra resistor on Pi 1 ... not sure). Then you configure it in pCP via the web interface and it is ready to receive classic Squeezebox IR commands. If you don't have a Squeezebox IR (or a programmable one that can

[SlimDevices: SqueezeCenter] Remote control for pCP

2020-04-03 Thread diode84
Hello I have pCP on a Pi1. At the moment controlled with a usb keyboard, I only use the up, down, left, right, + and - for volume. I have in the past used an air mouse like eBay item number: 283802980182. Its ideal and simple but the keys wear out after a few months. There are simple IR remotes