Logic Machine Forum
SONOS app - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: SONOS app (/showthread.php?tid=415)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


RE: SONOS app - Firechief - 15.03.2019

New Sonos App available in the HL appstore:

https://www.youtube.com/watch?v=dDnxna4XuSs


RE: SONOS app - Mr.D - 16.03.2019

After updating to the new app I get the following message when using http commands:

File not found: /www/apps/data/sonos/sonos.lp

Anyone?


RE: SONOS app - Erwin van der Zwart - 16.03.2019

Hi,

This app is totally new and official certified by Sonos. 

It is not based on my version with sonos.lp and i think that is the reason it’s not there anymore..

I will ask DEV who created this new app what can be done..

BR,

Erwin


RE: SONOS app - Mr.D - 16.03.2019

Is there any way to revert back to the old app?
If not we no longer have a working doorbell in our house...


RE: SONOS app - admin - 16.03.2019

Here are file from our backup:
https://dl.openrb.com/misc/sonos.lp
https://dl.openrb.com/misc/sonos.lua

Upload them via FTP using apps user and put both files into user directory. Change path in your scripts to /user/sonos.lp instead of /apps/data/sonos/sonos.lp


RE: SONOS app - Erwin van der Zwart - 16.03.2019

Hi,

You can use the sonos.lp stand alone but there are some commands you need to run in sequence when using it on new device. The previous app was running them during opening, it performed a network scan for Sonos devices and stored found players in a table to the storage.

A lot of commands on sonos.lp are using this stored table.

In Mr D’s case the table is already created and it should work on the fly but for other (new) users they might need to run the scan command first.

Sonos.lua is not needed, it just holds a sample how to use the sonos.lp file

BR,

Erwin


RE: SONOS app - Evens - 16.03.2019

Hi,

When is the new Sonos app being released for the LM?

BR Even Sundgot.


RE: SONOS app - Mr.D - 17.03.2019

Thanks Smile
I now works again.... and most importantly, the wife is happy! Smile


RE: SONOS app - lenze90 - 17.03.2019

(16.03.2019, 17:01)Mr.D Wrote: After updating to the new app I get the following message when using http commands:

File not found: /www/apps/data/sonos/sonos.lp

Anyone?

how and where can i execute sonos http commands via the logic machine?


RE: SONOS app - admin - 18.03.2019

@lenze90, see this link: https://forum.logicmachine.net/showthread.php?tid=415&pid=8009#pid8009


RE: SONOS app - Daniel - 18.03.2019

This app is using official SONOS API and there are some legal obligation for it. We will upload the app after adding some modification as now Sonos has to approve it manufacture by manufacture.  Even if it is the same we have to include special Keys which define our company.


RE: SONOS app - phongvucba - 01.04.2019

Anyone help me  !
I did exactly as instructed, updated the 2 files to the user directory (my mail I created on ftp LM5)
I then typed in the web browser:
http://192.168.100.14/user/sonos.lp?ip=192.168.100.42&action=mute
It reported an error: File not found: /www/user/sonos.lp
So where am I wrong! People help me!
Thank so much with everyone !


RE: SONOS app - admin - 01.04.2019

You need to use apps login, not ftp. user directory is already created there


RE: SONOS app - phongvucba - 02.04.2019

Thank admin !
But I write the following:
http = require ('socket.http')
local ip = http.request ('http://admin:password@192.168.100.14/user/sonos.lp?ip=192.168.100.42&action=mute')
LM5 address is: 192.168.100.14
Sonos address is: 192.168.100.42

"You need to use apps login" ?
I do not understand you ! Please help me Sad(


RE: SONOS app - Daniel - 02.04.2019

In FTP we have 2 accounts:
- ftp
- apps
He just say that you must use apps user not ftp.


RE: SONOS app - Kai-Roger - 24.04.2019

Hi.

Cool new Sonos App. I like the simplicity!
Nice that objects easy can be added automatically.

I have two questions:

1. When will we be able to add the Sonos widget to the new Mosaic 3? For now i have to have the old Mosaic installed to get the automatically created Sonos objects, I then have to manually type these in a Mosaic 3 music widget.

2. Will we be able to change the object adresses that shows up automatically when adding the Sonos Widget?

   

BR
Kai-Roger


RE: SONOS app - Daniel - 24.04.2019

Hi
It was all the same in the previous app too Smile Now it use new Sonos API.
1. Some time later. Mosaic 3.0 use separate DB from Mosaic 2.0
2. You can change the starting group in LM general config. Automatic group start...


RE: SONOS app - Kai-Roger - 24.04.2019

(24.04.2019, 13:47)Daniel. Wrote: Hi
It was all the same in the previous app too Smile Now it use new Sonos API.
1. Some time later. Mosaic 3.0 use separate DB from Mosaic 2.0
2. You can change the starting group in LM general config. Automatic group start...

Still i like the cleaner look better on the new one. I did not notice the possibility to automatically add objects in the previous app. Sorry for that Smile

2. Thanks. I did not think of that Smile

1. I'm ready to uninstall the old Mosaic anytime Smile


RE: SONOS app - andeug - 01.05.2019

I am having the Sonos application from 20190314 and I am not sure why the commands does not respond anymore for the Event Based scripts. Has something got changed in this version? Via the http://(IP ADDRESS):2000/apps/data/sonos/ it works normally, but not via the Event Based scripts.


RE: SONOS app - Daniel - 01.05.2019

(01.05.2019, 12:12)andeug Wrote: I am having the Sonos application from 20190314 and I am not sure why the commands does not respond anymore for the Event Based scripts. Has something got changed in this version? Via the http://(IP ADDRESS):2000/apps/data/sonos/ it works normally, but not via the Event Based scripts.

The latest app is using NEW sonos API and all costume stuff from the old app is no longer there.  You can use old libraries and upload them manually and use again.  See here
https://forum.logicmachine.net/showthread.php?tid=415&pid=12301#pid12301

If you want I can drop link to old app but it may stop working one day when Sonos will decide to block old API.