Skip to content

Instantly share code, notes, and snippets.

View linuxkidd's full-sized avatar

Michael J. Kidd linuxkidd

View GitHub Profile
@linuxkidd
linuxkidd / zen37lr_blueprint.yaml
Last active May 25, 2024 17:25 — forked from irakhlin/zen37lr_blueprint.yaml
Home Assistant Blueprint for ZEN37 800LR - zwavejs
blueprint:
name: "Z-Wave JS Scene Controller Zooz Zen37 800LR"
description: Create automations for the Zooz Zen37 800LR 4 button scene controller using the Z-WAVE JS integration.
domain: automation
input:
zen37lr:
name: Zooz ZEN37 wall remote
description: "List of available Zen37 800LR wall remotes."
selector:
device:
@linuxkidd
linuxkidd / order.awk
Created January 31, 2022 16:53 — forked from ronen-fr/order.awk
gawk -v PGID=21.37a7 -f order.awk < log
#!/bin/gawk
# call with the "pg of interest" as parameter, as in:
# gawk -v PGID=21.37a7 -f this-file < log
func logtm(tst)
{
gsub(/[:.]/," ",tst); split(tst,x);
return x[1]*3600 + x[2]*60 + x[3] + x[4]/1000.0
}