by Matt Dubeau
Sets ringer vol., media vol., wifi, and bluetooth, based on home, work, or car (and turns ringer/wifi off @ home @ 11 pm; on @ 6:30 am).
Home (day) - wifi on, BT off, ring vol. 90%
Home (night) - wifi off, BT off, ring vol. 0%
Work - wifi off, BT off, ring vol. 0%
Car/BT (player NOT activated on prompt) - wifi off, BT on, ring vol. 90%, media vol. 90%, sleep allowed
Car/BT (player activated on prompt) - wifi off, BT on, ring vol. 90%, media vol. 90%*, keep awake with screen dimly lit
*raising volume to 95-100% will typically lead to significant sound distortion
Fill your home address in 1st geocode block and work address in 2nd geocode block - NO PUNCTUATION. You'll also need to fill your favorite media app in the App start block (block 29; low right side of flow). If you don't know how to find the 'play' activity for media player delete the Audio player control block.
Works best if car bluetooth is the only one paired to phone. Would be better with BT low energy scan driving car connection, but caused errors for my phone, instead it turns BT on for a few seconds each minute to test connection. Prompts for opening music player when connected to car BT, and keeps screen dimly lit if you choose to connect. To choose not to start music player, ignore prompt.