This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspired by PIR_light.yaml by @vanceb | |
# @see https://gist.github.com/vanceb/b7402b9d1f66a6a2fb5c8e6de2a39b26 | |
blueprint: | |
name: Music on motion (OwnTone) | |
description: Turn on (= join the group) a OwnTone-controlled media player on motion detection | |
domain: automation | |
input: | |
owntone_source: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
homeassistant: true | |
permit_join: true | |
mqtt: | |
base_topic: zigbee2mqtt | |
server: mqtt://[IP]:[PORT] | |
user: [USER] | |
password: [PASS] | |
serial: | |
port: /dev/ttyACM0 | |
adapter: deconz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OwnTone Dockerfile | |
# Use this to create an OwnTone docker image | |
# The Dockerfile will create an initial configuration (.conf) file and a fifo pipe | |
# | |
# Run the image with: | |
# docker run -it --privileged \ | |
# --name=owntone --restart=unless-stopped \ | |
# -p 3689:3689 -p 6600:6600 \ | |
# -v /path/to/config/folder:/config -v /path/to/music:/music \ | |
# -v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
mqttuser = "*****" | |
mqttpwd = "*****" | |
mqtthost = "*****" | |
mqttport = 1883 | |
mqttkeepalive = 60 | |
piname = "*****" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: One-Time Scheduled Action | |
description: Perform an action at a scheduled date and time. | |
domain: automation | |
input: | |
what: | |
name: Action to do | |
description: What kind of action? | |
selector: | |
action: |
OlderNewer