Re: [SlimDevices: Plugins] LMS and Apple

2021-02-17 Thread karlek
Pascal Hibon wrote: > homeKit uses a subset of the shortcuts commands from the Shortcuts app. > I couldn't get it to work in the HomeKit app. If I understand, there is no „file“ option in HomeKit. Then You should really look at my screenshots in the first linked thread, where I describe the steps

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread karlek
Ok, that’s a shame. Unfortunately I could not do anything constructive in HomeKit. Probably because I don’t own an Apple TV (4?) nor a HomePod. karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321 View

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Pascal Hibon
karlek wrote: > Some time ago, I played with Shortcuts, too. > Maybe this could be of any help to master the JSON request: > > 'Sending commands to LMS via iOS app shortcuts' > (https://forums.slimdevices.com/showthread.php?112563-Sending-commands-to-LMS-via-iOS-app-shortcuts&p=981807&viewfull=

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Pascal Hibon
mherger wrote: > >> Question is: how do I fill in the rest? I guess I need to break the > >> message up into different keys (?). so "id" would be a key and > "method" > >> would be a key and "params" would be a key? > > > > I'd say so. But then can you create a value which would be another > >

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
Some time ago, I played with Shortcuts, too. Maybe this could be of any help to master the JSON request: 'Sending commands to LMS via iOS app shortcuts' (https://forums.slimdevices.com/showthread.php?112563-Sending-commands-to-LMS-via-iOS-app-shortcuts&p=981807&viewfull=1#post981807) Yes, that'

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread karlek
Some time ago, I played with Shortcuts, too. Maybe this could be of any help to master the JSON request: 'Sending commands to LMS via iOS app shortcuts' (https://forums.slimdevices.com/showthread.php?112563-Sending-commands-to-LMS-via-iOS-app-shortcuts&p=981807&viewfull=1#post981807) 'Control y

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
Yes, that should work. I just successfully requested the server status. Make sure you use http and not https. And the value to the params key can indeed be an array. ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/ma

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
Question is: how do I fill in the rest? I guess I need to break the message up into different keys (?). so "id" would be a key and "method" would be a key and "params" would be a key? I'd say so. But then can you create a value which would be another object (array) for the params? BTW: I just

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
I tried this with Pushcut and it works... well kinda... I mean, Pushcut can run an action that does exactly what we need. I was able to play a din-dong file on my HomePod Mini. I used this request message: {"id":1,"method":"slim.request","params":["",["playlist","play","/mnt/music/Geluiden/Ding-do

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Pascal Hibon
mherger wrote: > > That sounds interesting. How exactly would I need to format those POST > > requests? (I'm a total noob at those things). > > You'd send the command as a stringified JSON object in the body of the > requeest: > > {"id":0,"params":["00:04:...",["serverstatus"]],"method":"slim

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
That sounds interesting. How exactly would I need to format those POST requests? (I'm a total noob at those things). You'd send the command as a stringified JSON object in the body of the requeest: {"id":0,"params":["00:04:...",["serverstatus"]],"method":"slim.request"} ["serverstatus"] woul

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Pascal Hibon
mherger wrote: > > 2) By using Pushcut it is possible to trigger an URL. So we could > create > > HTML pages that would telnet into LMS CLI. Unfortunately this is > beyond > > my skillset :-) Anyone know how to create such HTML pages? > > Don't know Pushcut (though I quickly looked it up after

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Michael Herger
2) By using Pushcut it is possible to trigger an URL. So we could create HTML pages that would telnet into LMS CLI. Unfortunately this is beyond my skillset :-) Anyone know how to create such HTML pages? Don't know Pushcut (though I quickly looked it up after it's been mentioned here...). But i

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-16 Thread Pascal Hibon
Ok, so I did a bit more digin... There are possibly two ways we can interface LMS from Apple HomeKit: 1) It is possible to send SSH scripts from HomeKit automations. So if there would be a way to have LMS command line interface available though SSH then we have a solution. Anyone know if this i

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-14 Thread Pascal Hibon
rkrug wrote: > You can look into Homebridge [https://homebridge.io > ] or HOOBS [https://hoobs.org] ( which is also > only Homebridge in a more user friendly packaging). There are plugins > for home bridge, and one triggers himekit actions based open an alarm > in LMS (a

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-14 Thread Rainer Krug
You can look into Homebridge [https://homebridge.io ] or HOOBS [https://hoobs.org] ( which is also only Homebridge in a more user friendly packaging). There are plugins for home bridge, and one triggers himekit actions based open an alarm in LMS (although I think I remem

Re: [SlimDevices: Plugins] LMS and Apple

2021-02-14 Thread Pascal Hibon
I would also like to see a integration between the Apple ecosystem and LMS. But to me it is not so much about Siri. To me it is more about HomeKit and automations. For example: the morning alarm plays music or radio station from LMS (piCorePlayer) and then runs an automation to turn on the bedsid

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-24 Thread Rainer M Krug
> On 24 Jan 2021, at 04:22, philippe_44 > wrote: > > > rkrug wrote: >> Thanks a lot for your response, philippe_44 >> >> That is what I am doing at the moment, AirPlay Bridge to Libratone Zip >> Mini 2 speakers - works nicely, no problems there. >> >> The question is: I will have two HomeP

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-23 Thread philippe_44
rkrug wrote: > Thanks a lot for your response, philippe_44 > > That is what I am doing at the moment, AirPlay Bridge to Libratone Zip > Mini 2 speakers - works nicely, no problems there. > > The question is: I will have two HomePods, paired as a stereo. Can the > AirPlay bridge stream to these

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread carsten_h
rkrug wrote: > I know - I posted that there. :-) OK. Also I found this: https://soffes.blog/home-assistant-sonos-and-siri I have two Ikea Symfonisk speakers here which are from Sonos. They are both used in LMS via Airplay 1 (they also can Airplay 2). And two Airport Express which can also Air

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread Rainer Krug
> On 22 Jan 2021, at 11:23, carsten_h > wrote: > > > rkrug wrote: >> Ideal would be a plugin for LMS, which provides the integration to >> HomeBridge... > > As you telling this, I remember something... > ...later... > https://forum.smartapfel.de/forum/thread/5700-homebridge-squeezeboz-sucht

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread carsten_h
rkrug wrote: > Ideal would be a plugin for LMS, which provides the integration to > HomeBridge... As you telling this, I remember something... ...later... https://forum.smartapfel.de/forum/thread/5700-homebridge-squeezeboz-sucht-neuen-maintainer/ This is in German, but there is a plugin which

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread Rainer M Krug
> On 22 Jan 2021, at 10:04, carsten_h > > wrote: > > > rkrug wrote: >> I think I will give Home Assistant a try and see if it is superior to >> Homebridge / HOOBS which I am using at the moment. > > Homekit/Homebridge (Hoobs is Homebridg

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread carsten_h
rkrug wrote: > I think I will give Home Assistant a try and see if it is superior to > Homebridge / HOOBS which I am using at the moment. Homekit/Homebridge (Hoobs is Homebridge) is totally different to Home Assistant. There is much to learn at the beginning and it is really great for controlli

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread Rainer Krug
Hi > On 21 Jan 2021, at 22:29, carsten_h > wrote: > > > Hello! > > I am using mainly Apple devices (Mac Pro, Macbook Pro, iPhone, iPad) and > SNIP > Also I have a Pi4 with my smarthome solution named Home Assistant. I > have chosen this because I used Homekit with Homebridge before but it >

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-22 Thread Rainer M Krug
Thanks a lot for your response, philippe_44 > On 21 Jan 2021, at 18:51, philippe_44 > > wrote: > > > rkrug wrote: >> >> Would it be too much to ask, to have squeezelite / LMS player on an >> HomePod? Probably yes, but one can dream. >>

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread carsten_h
Hello! I am using mainly Apple devices (Mac Pro, Macbook Pro, iPhone, iPad) and I also have since two years a Raspberry Pi with piCorePlayer and LMS running. I am managing the music for LMS on my Mac with Music (before with iTunes), then I copy the library 1:1 to the LMS SSD and attach it to the

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread philippe_44
rkrug wrote: > > Would it be too much to ask, to have squeezelite / LMS player on an > HomePod? Probably yes, but one can dream. > Why not using my AirPlay bridge? Virtually, it gives you Squeezelite on HomePod and any AirPlay-enabled device > > On the server side, the problem is likely more

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread erland
rkrug wrote: > > So while I always use / return to the LMS ecosystem, there is > essentially no integration with the Apple ecosystem, apart from iPeng > which is really great (but slightly outdated?). > > I am really wondering: what is the reason, why there is no further > integration with the

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread chill
rkrug wrote: > > Didn’t know that - thanks. Are there any other Siri commands which > work? > I've only tried a few. "Hey Siri, pause", "Hey Siri, previous track". I'm not sure how this is achieved - maybe it's something that Pippin has specifically programmed, or maybe it's built-in audio

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread Rainer Krug
> On 21 Jan 2021, at 11:36, chill > wrote: > > > Just in case it's not widely known, if you have iPeng running then Siri > can do some basic actions with LMS. Didn’t know that - thanks. Are there any other Siri commands which work? > > "Hey Siri, skip track" is one of the three things I ev

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread chill
Just in case it's not widely known, if you have iPeng running then Siri can do some basic actions with LMS. "Hey Siri, skip track" is one of the three things I ever say to Siri :). Very useful if I'm cooking, say, and playing a Spotify-generated playlist where I don't like the current track. (T

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread Rainer Krug
> On 21 Jan 2021, at 11:20, philchillbill > wrote: > > > I'm the author of the Alexa skills for LMS so let me address your point > on voice control of LMS via Siri and why it is (currently) not > available. > > The voice control paradigm is complementary to using a GUI and not > intended to

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread philchillbill
I'm the author of the Alexa skills for LMS so let me address your point on voice control of LMS via Siri and why it is (currently) not available. The voice control paradigm is complementary to using a GUI and not intended to replace it. If you want to browse a library then nothing beats a touchs

[SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread rkrug
I must say I really love LMS and iPeng - I always come back to them and find new intriguing new stuff. To be clear - these are no complains or reasons to leave LMS behind (at the moment), but the points could be a major improvement for a certain user segment of LMS. Here comes my confession: W