Skip to content

gpenverne/chromecast-reset-volume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simply reset volums on chromecasts

Install

make install

Configuration

Open the config.py file, you will see:

VOLUMES = {
    'default': {
       '123.123.123.123': 20.00,
       'cuisine': 20.00,
       'étagère': 20.00
    }
}

Each object in VOLUMES corresponds to a preset of several volumes. Each key in a preset is the name of a chromecast, with volume percent to set as value. You can put ip address instead of the chromecast name to avoid zeroconf scan time (in few words: it will be faster).

Usage

$ make apply

Specific preset

$ cli.py "groupName"

Server

You can launch your presets using an api endpoint (perfect for ifttt and google assistant for example ;)

Launch

$ server.py

Config

Open the config.py file, you will see a SERVER_PORT, you can customize as you want.

Usage

Simply go to http://your-server-ip:your-port/default (where defaut is the name of a preset).

About

Reset volum of your chromecasts using custom presets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published