Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2022-02-27 Thread andrewhess
bpa wrote: > No, it is should be a file edit, but have you tried checking the > Settings/Plugins settings "Use unsupported extensions" (last line of > Plugins page) D'oh!! Okay, that did it. Thanks! andrewhess's Profile

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2022-02-27 Thread bpa
andrewhess wrote: > I've updated to picoreplayer 8.1 64 bit and I reinstalled the > remotecontrol plugin by bpa. But now I get a notice that "Plugin is > incompatible with this version of Logitech Media Server. Please > update." > > Is there an updated version? No, it is should be a file edit,

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2022-02-26 Thread andrewhess
I've updated to picoreplayer 8.1 64 bit and I reinstalled the remotecontrol plugin by bpa. But now I get a notice that "Plugin is incompatible with this version of Logitech Media Server. Please update." Is there an updated version? --

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread Marsupial
It seems the possible reply (if any) can easily be 200, 400 - it is set numerically but right now I always reply 200 if the address exists. I guess one could build a more complex system, asking for data or something. but to trigger things in the system just 200 seems good. BTW have a hood end o

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread Marsupial
bpa wrote: > Need to be clearer. > What is the part of the message that is standard - doesn't change > What is the variable part of the message which will provided by > parameters of save a menu (i.e.f desatination address, port number, > other parameters) > What is the HTTP operation e.g. GET,

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread bpa
Marsupial wrote: > I currently have it setup with a way to send in HTTP commands in this > form > http://192.168.0.xx:1880/endpoint/nameOfTrigger > > loading this will currently return an ampty list message > "{}" > > If required I could manage to output something more meaningful. > > Essent

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread Marsupial
bpa wrote: > > If you have an example message body (which may be text, binary, XML not > just JSON) and reply - I can probably modify it quickly - which you can > thenuse as a template. I currently have it setup with a way to send in HTTP commands in this form http://192.168.0.xx:1880/endpoin

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread Marsupial
bpa wrote: > > If you have an example message body (which may be text, binary, XML not > just JSON) and reply - I can probably modify it quickly - which you can > thenuse as a template. That would be awesome. Thanks. I'll come up with a functional call to HA and post here. I need to experi

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread bpa
Marsupial wrote: > Is your plugin flexible enough to send http commands upon pressing a > menu entry, without stopping playback (not expecting to play something > in return like we'd do with a favourite)? > Can this http command be customized? The plugin is generic but it is just a proof of c

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2020-12-31 Thread Marsupial
bpa wrote: > I've posted an updated to the plugin - now V1.1 uses the same repository > URL so if anybody has V1.0 installed - they will be notified of the > update. > > Repository URL is > HTTP://DOWNLOADS.SOURCEFORGE.NET/PROJECT/BPAPLUGINS/REMOTECONTROL-REPO.XML > > The Changes are: > * bet

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-28 Thread Jeff07971
andrewhess wrote: > Okay, I did that. Thank you for this! It's really great. > > But I have another idea: could the "Stereo On" and "Stereo Off" commands > be made as separate plugins. That way they could both be on the Home > menu. I'm not sure that I would know how to do this--any chance you

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-28 Thread edwin2006
andrewhess wrote: > But do you have to physically turn on the cord? I'm hoping to put a menu > item on the Picoreplayer so I don't have to physically bend over to the > power cord (so much work!) or even have to be in the room. This plugin > is getting me close to just having to tap on a web pag

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-28 Thread bpa
andrewhess wrote: > Okay, I did that. Thank you for this! It's really great. > > But I have another idea: could the "Stereo On" and "Stereo Off" commands > be made as separate plugins. That way they could both be on the Home > menu. I'm not sure that I would know how to do this--any chance you

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-28 Thread andrewhess
bpa wrote: > You can only promote a plugin top menu to Home menu. Click and HOLD the > "RemoteControl" menu and you should get a popup with an option to add to > Home menu. Okay, I did that. Thank you for this! It's really great. But I have another idea: could the "Stereo On" and "Stereo Off"

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-27 Thread bpa
You can only promote a plugin top menu to Home menu. Click and HOLD the "RemoteControl" menu and you should get a popup with an option to add to Home menu. bpa's Profile: http://forums.slimdevices.com/member.php?userid=18

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-27 Thread andrewhess
edwin2006 wrote: > I used a power extension cord with master / slave. Amp in master, rest > in slave. When I power up the amp the rest (incl SB) follows and > vicaversa. Very low tech but works great. But do you have to physically turn on the cord? I'm hoping to put a menu item on the Picorepla

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2019-01-27 Thread edwin2006
I used a power extension cord with master / slave. Amp in master, rest in slave. When I power up the amp the rest (incl SB) follows and vicaversa. Very low tech but works great. *SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi)

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-11-03 Thread bpa
I've posted an updated to the plugin - now V1.1 uses the same repository URL so if anybody has V1.0 installed - they will be notified of the update. Repository URL is HTTP://DOWNLOADS.SOURCEFORGE.NET/PROJECT/BPAPLUGINS/REMOTECONTROL-REPO.XML The Changes are: * better handling of errors and fai

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-11-03 Thread bpa
andrewhess wrote: > Wow! I'll give it a try. But hand-holding time -- can you explain how to > install it? newbie here. > Thanks! If you can hold off until later today - I have a updated version which I think is "better". As an aside - there has been 3 downloads of the plugin. One from Canada

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-11-03 Thread andrewhess
bpa wrote: > Out of curiousity - I created a plugin as a proof of concept which has > commands to turn a specific device on/off. > It is very basic (i.e. no info returned is displayed, no error if comms > fail) but might be enough. The commands appear as a menu under Extra. > > Install usin

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-30 Thread bpa
andrewhess wrote: > Cool! I'll give it a try, as soon as I reset my PiCorePlayer (I got > foolish with trying static IPs and lost touch with my rpi :(. ) Out of curiousity - I created a plugin as a proof of concept which has commands to turn a specific device on/off. It is very basic (i.e. no

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-30 Thread andrewhess
bpa wrote: > Attached is a Perl version of the Python script to control a TP-Link > smart plug. Should run OK on an rpi - possibly from a shell script > which is polling CLI port for player status. Cool! I'll give it a try, as soon as I reset my PiCorePlayer (I got foolish with trying static I

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-29 Thread bpa
Attached is a Perl version of the Python script to control a TP-Link smart plug. Should run OK on an rpi - possibly from a shell script which is polling CLI port for player status. +---+ |Filename: tplink_smartplug.pl

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-25 Thread Greg Erskine
andrewhess wrote: > This is intriguing! But I have no clue how I might use the rpi with > python. I imagine that I'd have the program check if the rpi is awake > and then turn on the switch. piCorePlayer is a minimal Linux distribution, we strive to keep it very small, so we don't include Pytho

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-25 Thread bpa
andrewhess wrote: > Sorry, too many acronyms on this forum (does everyone really understand > all this? I feel old and dim.). What CLI? The svrPowerContol looks > potentially perfect--I'll start researching it. One possible issue is > that I want it to control the power supply to my stereo via t

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-25 Thread Paul Webster
If things have not changed with the top-link Smart plug then ... you could use the Python script from https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/ and use set_relay_state to make it turn the device off/on. First thing would be to get it working from a script ... and if it does

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-25 Thread andrewhess
bpa wrote: > If you're playing audio on the rpi - then Squeezelite is there in the > background. The script could then be run from squeezelite. > > For player that are not on the rpi - you'd need the script to > communicate with LMS through CLI. However I recall there used to be a > plugin cal

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread paul-
Squeezelite can run a script directly, based on the Power Status of the player. Look at the -S option...or -G if you want to use direct control of the rpi gpio. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.p

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread bpa
andrewhess wrote: > This is intriguing! But I have no clue how I might use the rpi with > python. I imagine that I'd have the program check if the rpi is awake > and then turn on the switch. > > I forgot to mention that the rpi is running Logitech Media Server, but > not Squeezelite. If you'r

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread andrewhess
bpa wrote: > Some TP-Link smart plugs have been "hacked" so that you can control them > with a local python program. > > See https://github.com/softScheck/tplink-smartplug This is intriguing! But I have no clue how I might use the rpi with python. I imagine that I'd have the program check if t

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread bpa
Some TP-Link smart plugs have been "hacked" so that you can control them with a local python program. See https://github.com/softScheck/tplink-smartplug bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread Man in a van
Squeezelite can start playback when the pi is powered on. You can select what you want to hear on the Squeezelite Tab in pCP. You just then need to control the power supplied to the pi. I used this feature with a rpi into pre-amp connecting to Active speakers, all plugged into the same power

Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread DJanGo
Hi, i have no clue about picoreplayer, but Jivelite is just a gui frontend - you may have some squeezelite session to run the audiostream. squeezelite supports the -S Parameter that runs a script when you power on/off that player. Now you only need a scripted way to do the same like telling ale

[SlimDevices: Unix] Turning on stereo from piCorePlayer

2018-10-24 Thread andrewhess
Hi all, and thanks in advance for your help with this! I have a rpi 3 with piCorePlayer and 7" touchscreen with Jivelite. it accesses music files on my Synology NAS and sends it out to a Logitech Transporter, serving as a preamp, and on to my amp. I've rigged a TP-Link wifi Smartplug to the powe