if geeklockctl acquire my-task --timeout 10; then
trap 'geeklockctl release my-task' EXIT
# executar tarefa crítica
./deploy.sh
else
echo "Outra instância está executando. Saindo."
exit 1
fi
Not everyone uses Home Assistant. The REST API utility turns your Geeklock into a web server.
Utilidades de Integración:
Let’s break down the primary components of this versatile toolkit. geeklock utilidades
For security enthusiasts, the Geeklock NetUtil component tracks: if geeklockctl acquire my-task --timeout 10; then trap
Most Geeklock utilities are distributed via GitHub repositories. Here is a general workflow: Not everyone uses Home Assistant
For the ESPHome flasher, you’ll need to connect the Geeklock via USB-TTL (FTDI adapter) and run:
esphome run geeklock-custom.yaml