Skip to content

Instantly share code, notes, and snippets.

@WiseLord
WiseLord / gist:1163973f026da2750b3203bdda690ebe
Created April 4, 2025 21:47
Автоматизации освещения в коридоре
- id: '1693554897240'
alias: Включить свет при входе в квартиру в тёмное время суток
description: ''
triggers:
- entity_id:
- binary_sensor.0x54ef4410008a9a02_contact
to: 'on'
for:
hours: 0
minutes: 0
@WiseLord
WiseLord / configuration.yaml
Created January 24, 2024 16:22
HomeAssistant + Siemens LOGO!8
homeassistant:
packages: !include_dir_merge_named packages
python_script:
@WiseLord
WiseLord / gist:3c35d477efc025bcc9cd3c5cbd3dbc5d
Created November 23, 2021 12:06
Build example-module-amd64 on `next` + sbuild patchset
$ bitbake -v mc:qemuamd64-bullseye:example-module-amd64
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 1353 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
...
NOTE: Resolving any missing task queue dependencies
NOTE: Marking Active Tasks############################################### | ETA: 0:00:00
NOTE: Pruned 38 inactive tasks, 31 left################################## | ETA: 0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))################################ | ETA: 0:00:00
@WiseLord
WiseLord / gist:0fb98bc036532ec03e4f763b2ba06a41
Created November 23, 2021 12:05
Build example-module-amd64 on `next`
$ bitbake -v mc:qemuamd64-bullseye:example-module-amd64
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 1287 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
...
NOTE: Resolving any missing task queue dependencies
NOTE: Marking Active Tasks############################################### | ETA: 0:00:00
NOTE: Pruned 37 inactive tasks, 31 left################################## | ETA: 0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))################################ | ETA: 0:00:00
@WiseLord
WiseLord / README.md
Created March 2, 2021 20:51 — forked from mill1000/README.md
Headless A2DP Audio Streaming on Raspbian Stretch

About

This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43

Prerequisites