Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic mqtt

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
santiago's Avatar

santiago / mqtt_shutdown_listen.sh

0 gustos
0 bifurcaciones
1 archivos
Última actividad 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
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 13ms⋅

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