Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
substitutions: i2s_lrclk: GPIO1 # LRC Pin of the Max98357 i2s_bclk: GPIO42 # BCLK Pin of the Max98357 spk: GPIO2 # DIN Pin of the Max98357 i2s_audio: - id: i2s_in i2s_lrclk_pin: ${i2s_lrclk} # LRC Pin of the Max98357 i2s_bclk_pin: ${i2s_bclk} # BCLK Pin of the Max98357 media_player: - platform: i2s_audio name: "Lilka Speaker" id: media_player_speaker i2s_audio_id: i2s_in dac_type: external i2s_dout_pin: ${spk} # DIN Pin of the MAX98357A Audio Amplifier mode: mono on_play: - logger.log: "Media playing!" - media_player.volume_set: id: media_player_speaker volume: 100%
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)