Automatically adjust ringtone volume Marshmallow


Question

Some time ago (Android 4.1) I used to use Llama app to automatically adjust the ringer volume and dim the screen when my phone connected my work WiFi.
That was a fantastic functionality.



I've just got a Bluboo Picasso 4G (Android 6.0) and want the same.



Llama is not able to change the volume nor brightness anymore. I tried Automate app (newer solution from Llama's author), and it has the ability to choose one of the predefined profiles: silent, vibrate, normal, but it cannot switch to an user-defined profile (only the standard three are available; trying to use variables do not take any effect).



Now I'm testing PhoneProfilesPlus (3.5.0.6) and this seems not to work as well.



Does anyone know a working solution? All I need is: set some not-very-loud ringtone and dim the screen when connected to my office WiFi, and revert once disconnected.


Answer

It still possible with Automate to dim the screen and change the volume.




  1. In the Connectivity section, select "Wi-Fi connected". Click on it, enter the Network Name (or click on Pick network to select a Network (the WiFi must be on, if not the list will be empty)). Click Done.


  2. In the Settings section, select "Screen brightness set". Click on it, enter the Brightness level (expressed in percentage). Click Done.


  3. In the Camera & Sound section, select "Audio volume set". Click on it, enter the Volume level (expressed in percentage), then in Audio Stream, select Ring (System is for system-wide sounds). Click Done.


  4. Steps 2 and 3 parameters are for when the phone is connected to a selected Wifi network. Repeat steps 2 and 3, but change the parameter to reflect brightness and volume values when the phone is disconnected from the selected Wifi network.


  5. Link the blocks as seen on the picture below. Save the flow and give it a name. Give the appropriate permissions (some maybe installed). Click Start.


  6. Optional - If you want, the flow to run at boot, in the settings, select Run on system startup






IMG:


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes