Skip to content

raphis/docker-cups-ha-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

The main goal of this project/repository is to turn on a smart power-switch via Home Assistant when a print job is present. To achieve this a dedicated docker container with CUPS and tea4cups is started.

Howto / Setup

  1. Download and adjust configuration files from repository (folder config) - Note: the printer name in printers.conf must match the name mentioned in tea4cups.conf

  2. Setup the webhook/automation in Home Assistant (folder ha-config)

  3. Copy configuration files to your config file directory (e.g. /usr/share/cups-ha-webhook)

  4. Pull the docker container from the repository

docker pull raphithom/cups-ha-webhook:latest
  1. Run the container with the corresponding options
docker run -d --name "cups-ha-webhook" -p 631:631 -v /usr/share/cups-ha-webhook:/config raphithom/cups-ha-webhook:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published