All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists matching topic homeassistant

Recently created
Least recently created
Recently updated
Least recently updated
santiago's Avatar

santiago / start_chromium.sh - Pi no disk writing

0 likes
0 forks
1 files
Last active 1747056653
# RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video
chromium homeassistant linux raspberry
1 #!/bin/sh
2
3 # RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video
4
5 # ADD a ram disk in fstab with this line
6 # tmpfs /tmpcache tmpfs nodiratime,noatime,nosuid,nodev,size=256M 0 0
7
8 # and that this script is called on startup for a minimalistic (no desktop setup)
9 # /etc/xdg/openbox/autostart
santiago's Avatar

santiago / entregas_lock.yaml - delivery box

0 likes
0 forks
1 files
Last active 1747056527
ESPhome code for my delivery box
esphome homeassistant
1 globals:
2 - id: ready_to_open
3 type: bool
4 initial_value: 'false'
5
6 esphome:
7 name: entregas-lock
8 friendly_name: entregas-lock
9 on_boot:
10 then:
santiago's Avatar

santiago / mqtt_shutdown_listen.sh

0 likes
0 forks
1 files
Last active 1747055737
Simple script listens to a MQTT value change and shutdown the machine
bash homeassistant mqtt raspistuff
1 #!/usr/bin/env zsh
2
3
4 if [ -z "$RASPISTUFF_DIR" ];then
5 export RASPISTUFF_DIR="$(cd "$(dirname "$(readlink -f "${(%):-%x}")")" && pwd)"
6 fi
7
8
9 cd $RASPISTUFF_DIR
Newer Older

Powered by Opengist ⋅ Load: 31ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文