Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-11-24 Thread ygi
paul- wrote: > > Then on the squeezelite settings page, Put a 17 in the box and select > active high. > > 36238 Great, I hoped that showing the picture will help :) Now the led is turning On /off Properly :) I keep on doing my project.. and certainly will come later withe the

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-11-24 Thread paul-
You are not in the right spot. If you see the little red more> links on all of the pages, if you click on them, it expands to show a little more information/help about the setting. The gpio-poweroff and gpio-shutdown are system level events. It has absolutely nothing to do with LMS/Squeezelite.

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-11-24 Thread ygi
Thank you Paul for this tool that I didn't know. But After testing my GPIO 17 is working properly I want to retype that when, in the tweak, the GPIO 17 used for GPIO-POWEROFF never light on the led when active-high When I changed it to Active-Low.. it stays on and never turns off. Here is the

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-11-24 Thread paul-
Use manual controls to make sure things are setup properly. There is a command line utility to do this. Also make sure you are not confusing BCM numbering vs physical pin. i.e. GPIO 17 is Physical pin 11. Then also make sure nothing is using GPIO 17. (DAC Hats use GPIO pins for control)

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-11-23 Thread ygi
paul- wrote: > You can run any program you want. The user commands section near the > bottom of the tweaks page is the easiest. Hello all, I am still needing your need on this topic. I have put a Led between the GPIO 17 and The ground (with a resistance in between) and, check when the led

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-10 Thread paul-
You can run any program you want. The user commands section near the bottom of the tweaks page is the easiest. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread ygi
Paul Webster wrote: > If you really want to do it via power to the HiFi then you need to find > out if the HiFi accepts any other signals to tell it to shutdown/startup > or you need to have the RPi connect to an external power switching > until. > Are you sure that if you power up the HiFi (by

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread Paul Webster
If you really want to do it via power to the HiFi then you need to find out if the HiFi accepts any other signals to tell it to shutdown/startup or you need to have the RPi connect to an external power switching until. Are you sure that if you power up the HiFi (by plugging in the power socket)

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread Paul Webster
For example see this old post https://forums.slimdevices.com/showthread.php?105117-lirc-rpi-gpio-IR-support-for-picoreplayer/page7 Note pCP has moved on since then so things might not be exactly the same but it should be possible to do. Paul Webster http://dabdig.blogspot.com author of \"now

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread Paul Webster
It is an IR transmitter that you would need. Then the RPi can turn on the receiver by sending a signal when you issue the LMS power-on command or perhaps Play. The transmitter could be on the end of a cable that you bring around to the front of the device. Paul Webster

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread ygi
Paul Webster wrote: > Does that mean that you cannot turn on the device via the remote because > you really turn it off rather than put it into a standby mode? > > The reason for the earlier question from @strebor56 was that if the > device can be "turned on" via IR remote then you might be

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-09 Thread Paul Webster
Does that mean that you cannot turn on the device via the remote because you really turn it off rather than put it into a standby mode? The reason for the earlier question from @strebor56 was that if the device can be "turned on" via IR remote then you might be able to make the RPi send the

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-08 Thread ygi
strebor56 wrote: > Does the Hifi have an IR remote? Yes, but I usually start the HiFi by pressing the main button ygi's Profile: http://forums.slimdevices.com/member.php?userid=38324 View this thread:

Re: [SlimDevices: Unix] PicorePlayer : using GPIO to turn on/off Hi-Fi system

2021-09-08 Thread strebor56
Does the Hifi have an IR remote? strebor56's Profile: http://forums.slimdevices.com/member.php?userid=65828 View this thread: http://forums.slimdevices.com/showthread.php?t=115108