This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SONOS app
New Sonos App available in the HL appstore:

https://www.youtube.com/watch?v=dDnxna4XuSs
Novice DIY with a HL and KNX basics trying to ...
Reply
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?
BR,
Mr.D
Reply
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
Reply
Is there any way to revert back to the old app?
If not we no longer have a working doorbell in our house...
BR,
Mr.D
Reply
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
Reply
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
Reply
Hi,

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

BR Even Sundgot.
Reply
Thanks Smile
I now works again.... and most importantly, the wife is happy! Smile
BR,
Mr.D
Reply
(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?
Reply
@lenze90, see this link: https://forum.logicmachine.net/showthrea...09#pid8009
Reply
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.
------------------------------
Ctrl+F5
Reply
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=1...ction=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 !

Attached Files Thumbnail(s)
   
Reply
You need to use apps login, not ftp. user directory is already created there
Reply
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(
Reply
In FTP we have 2 accounts:
- ftp
- apps
He just say that you must use apps user not ftp.
------------------------------
Ctrl+F5
Reply
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
Reply
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...
------------------------------
Ctrl+F5
Reply
(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
Reply
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.
Reply
(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/showthrea...1#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.
------------------------------
Ctrl+F5
Reply


Forum Jump: