Todos Novo

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

Entrar


Todos Novo Entrar

All gists matching topic mqtt

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
santiago's Avatar

santiago / mqtt_shutdown_listen.sh

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 12ms⋅

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