Skip to content

Instantly share code, notes, and snippets.

View Romanmir's full-sized avatar

Chris Penwell Romanmir

  • Pacific Northwest
View GitHub Profile
@styblope
styblope / docker-api-port.md
Last active November 15, 2024 23:06
Enable TCP port 2375 for external connection to Docker

Enable TCP port 2375 for external connection to Docker

See this issue.
Docker best practise to Control and configure Docker with systemd.

  1. Create daemon.json file in /etc/docker:

     {"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
    
esphome:
name: plant_moisture
platform: ESP32
board: esp32dev
wifi:
ssid: "spam"
password: "eggs"
# Enable logging
@mdegat01
mdegat01 / update_notifications.yaml
Last active November 17, 2024 03:39
Update Notifications Automation Blueprint
blueprint:
name: Update notifications
description: Send notifications for new updates and install or skip on action
homeassistant:
min_version: '2022.4.0'
domain: automation
input:
update_entities:
name: Update entities
description: >-
@mdegat01
mdegat01 / auto_check_config.yaml
Created June 21, 2022 15:31
Auto Check Config package
automation:
id: cb7d0e035b94403db6b08f7263584b51_config_check_update
alias: Run config check on change
description: Run a config check when config is changed and reload automations when blueprints change
max_exceeded: silent
trigger:
- id: file_change
platform: event
event_type: folder_watcher
- id: reload