I have a couple Apple iPods that I use for announcements using the Airplay Integration.
In the device settings there are fields to set the volume. If I set the volume from an app it sets the volume ok but doesn't update that field. Then If I reboot my hub the volume gets reset to what was in that field, not to what the volume was before.
For example: Set Volume (or Set Level) = 50. Pod volume is set to 50.
App does a poddevice.setVolume(70). Pod volume is set to 70 but set volume field still says 50.
To refresh this. Maybe no one else has this problem. Kinda a pain to reset volume on a reboot. Especially if the reboot occurs when I don’t know it. Which can happen on a low memory auto reboot.
I know I can write logic to save volume in a variable then restore on hub restart. Just puzzled a to why it should be necessary.
Anyway, I wrote a routine to store the volume in a hub variable. Then I subscribed to 'systemStart'. I put a time delay of 30 seconds before resetting the volume to what was in the variable. But 30 seconds apparently not long enough. How long should it be?