Skip to content
This repository was archived by the owner on Oct 13, 2019. It is now read-only.

mxschmitt/chromecast-socket-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Chromecast Socket Switcher

What does it do?

It switches wireless sockets on / off when you connect or disconnect from the configured Chromecast.

Requirements:

  • RaspberryPI with a connected 433MHz transmitter

Installation:

Download the binary from here or build it yourself with go get ./... and go build in the repository from here which you cloned before.

Command line flags:

name type default value description
name string Iknabixam Audio Name of your chromecast device
SocketGroup string 10101 Socket Group
SocketDevice string 00010 Socket Device in binary format
debug bool false Enable debug logging

Usage:

./chromecast -name=My Chromecast -scode=1000 -sid=2 --debug

Legal

Thanks to go-cast for providing a libary to control chromecast devices with golang.

And of course the golang implementation of rc-switch.

About

Switches wireless sockets on/off based on the state of a chromecast audio.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages