Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Remotely powering up an EU model STR-DN1080?
-
Unfortunately it don't looks like it is possible to enable WoL for EU version of STR-DN1080 (what I have found it works for all other models, including older models of the STR-DNXXXX). The device is decelerating that it supports WoL then you do UPnP SSDP, but I have never got it to work.
I will clarify in the Audio Control API docs that this is not working for STR-DN1080 EU model.The only way I have found to wake the EU STR-DN1080 remotely is via Bluetooth.
There was one other suggestion for a work around and that is to have one of the "non main"/unused zones powered on then the device will never truly go to standby mode, but I could never get it to work reliable.
-
@david thanks for the info.
Interestingly, someone has managed to turn on the ability to wake from network using the API with the EU model. He enabled this feature by using an Android app that had a setting to enable what they label "WOL". After doing so, he could power up his EU receiver up using my app which just uses the API and not WOL.
I wonder what command the app is giving the receiver to switch this feature on?
-
@grolschie Sorry have not seen any setting in the documentation where I could set WoL.
It sounds like the same result as having another zone powered on should be like, even if it hasn't worked for me, since this in theory should keep the network powered on, and there for be able to connected to. -
@david sorry, my mistake. It was Network Standby that the app was enabling, not Wake On LAN.
-
This post is deleted! -
@david
Are you able to tell me which command Sony's 'Music Center' app uses to enable Network Standby, please?UPDATE: I found getPowerSettings(v1.0) / setPowerSettings(v1.0)
-
Egad! I can see why Sony didn't include Network Standby on EU models! The product specifications page says that with Network Standby enabled, power consumption is a mere 1.5 watts, all networks connected. In reality, it's well over 30 watts! I measured mine today after other people had already done the same!!!!
The good news is that Wake On LAN does work with the WiFi, and disabling Network Standby and enabling Remote Start reduces standby power consumption to a mere 2.5 - 3 watts. But you lose the quick start and the ability for Chromecast apps and Spotify:Connect to turn on the receiver.
But 31 - 35 watts on Network Standby?! I reckon there's a firmware bug there, or Sony have misrepresented the power consumption of this receiver, or have made a terrible mistake somewhere?!
The EU regulations state that Network Standby has to consume less than 13 watts, which way more than what the specifications say (1.5w) for this receiver anyway. Hmmm.....
-
So it turns out that Network Standby can be turned on for EU models using just the API! I don't have an EU model to test, but someone tested my app. This probably means Sony's API method (setPowerSettings) is breaching EU rules, right?
Should we be detecting the region of the AVR somehow before offering this feature? Although, one is merely using the API methods provided by Sony.
-
Hi @grolschie
Thank you for this. I've managed to work out most of how to get info out of my 1080 Eu model receiver but I'm stuck on the last hurdle.
If I call getPowerSettings(1.0) I can see the quickStartMode and wolMode commands.
But I can't get the syntax right for the setPowerSettings(1.0) !
I've tried a number of things but here's where I'm up to;
{
"method": "setPowerSettings",
"id": 55,
"params": [
{
"quickStartMode":"on",
}
],
"version": "1.0"
}But that is an illegal argument.
Is there any help you can give regarding this? I'm trying to enable remote start / wol on the EU version and I believe the API can do this... Thx !
-
I literally worked this out a minute after posting this.
I missed off settings [] within the argument and now it works.
Cheers!
-
@cjb The two Settings parameters needed are "target" and "value", which you probably already have discovered. Remember, power consumption is over 30w when powered off when Network Standby is enabled. Heat might increase too! Sony have now removed the 1.5w from the website specs now. Hmmm....
My prediction is that 'Network Standby' for EU models will disappear with the next firmware update. I wish they would enable Wake On LAN (called "Remote Start" by Sony) for EU models instead because it uses very little power! The setting ("wolMode") can be enabled via the API on EU models, but the hardware does nothing.
-
@grolschie Hi - so I've got 2 x EU models and what works is to enable quickstartmode first. Then enable wolmode. This then means I can send a wol packet to the amp and it will switch on remotely. I then disabled quickstartmode and one of them woke up still. Weirdly the other needs both quickstartmode and wolmode to be on to receive a wol packet... weird but anyway, they both remotely turn on now (even tho one of them is burn 30w I imagine)... thanks for your help. I'm surprised that they put this functionality in and then kinda disabled it even though it could and should use less electricity.
-
@cjb thanks for the update and information. This is very strange that 2x EU units exhibit different behaviour. Are they on the same firmware? Or has one got another Zone activated?
-
Hello
Thank you both for providing all this info, but would it be possible for any of you to give a more detailed explanation for dummies like me, who don't know the terms API, WOL and packets? Are you talking about coding your own apps? I don't even see where (or how) I should enable Quickstartmode and Wolmode...
Any help much appreciated
-
Hi @Ribtin
"quickStartMode" is what "Network Standby" is called in the API. And Network Standby allows the AVR to keep its network adapters alive when on standby and to start up quickly. It allows the AVR to be woken by Chromecast, Spotify, etc. It uses at least 30 watts when on standby, hence it is not available (officially) on EU models of the STR-DN1080.
"wolMode" is what "Remote Start" is called in the API. And "Remote Start" is what everyone else calls "Wake On LAN". For some reason its called "Remote Start" in the AVR's menus. Wake On LAN allows the AVR to fully shut down, but the network adapter can receive a special WOL packet and will then boot up the AVR. Booting up takes much longer than when on Network Standby. "Remote Start" is also not available (officially or unofficially) on EU models, even though it would be handy and uses VERY little power. My guess is that it's less than 2 watts.
Here is some more info on Wake On LAN.
API means Application Programming Interface. Sony's Audio Control API is a bunch of functions that Sony have added to some of their products to allow programmers access to various functions of the product via the network.
I hope this helps. Anything not clear, please ask.
-
@grolschie Wow, that was both very quick and extremely helpful. Thank you
Like so many others, I am also trying to figure out how to keep STR-DN1080's built-in Chromecast alive and visible, so that I can just start up any music app on my android phone and cast music to the receiver, without having to push the ON button.
If I'm not mistaken, @cjb was able to do this on two EU models, by "enabling quickstartmode first, then enabling wolmode"..? But what I don't understand is how he actually managed to enable these two settings?
-
@Ribtin PM sent.
To enable either setting you need to write an app, or send commands in the form of JSON using certain software tools such as Insomnia for Windows, or cURL in Linux.
-
@grolschie @cjb thank you both, I found the settings[] part in another thread and was able to replicate this on my device and it seems too keep its settings after unplugging the power (needs a minute or two to start).
I don't know where you found these commands but I hope you don't mind me putting the completed ones on this thread for other users.Enable quickstart:
{"method": "setPowerSettings","id": 55,"params": [{"settings":[{"target":"quickStartMode","value":"on"}]}],"version": "1.0"}
Enable WakeOnLan:
{"method": "setPowerSettings","id": 55,"params": [{"settings":[{"target":"wolMode","value":"on"}]}],"version": "1.0"}
Power on/off:
{"method": "setPowerStatus","id": 55,"params": [{"status":"active"}],"version": "1.1"} {"method": "setPowerStatus","id": 55,"params": [{"status":"off"}],"version": "1.1"}
-
@Nick-Hermans All good, I reckon.
One thing to note with the EU model is the the Wake On LAN setting appears to be set, however under the hood it does absolutely nothing apparently. There's no response to WoL packets when it's enabled.
Network Standby (aka Quick Start mode) can be enabled on the EU model via the API and the setting does work. It does use a lot of power, so I presumed that Sony would patch that to disable it on EU models. However, they don't seem to be in any hurry to fix long standing major bugs in this receiver, so maybe not.
-
Hi @grolschie ,
I have an EU model and for me it seems both wol and network standby seems working when set via the API. Network standby really would be a nice feature if it wouldn't consume such a lot of power... Too bad ️
Best regards, Vincent