Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic mqtt

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
santiago's Avatar

santiago / mqtt_shutdown_listen.sh

0 mi piace
0 forks
1 files
Ultima volta attivo 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
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 13ms⋅

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