Skip to content

Instantly share code, notes, and snippets.

View AlCalzone's full-sized avatar
🎯
Z-Wave + Node.js = ❤

AlCalzone

🎯
Z-Wave + Node.js = ❤
View GitHub Profile
@AlCalzone
AlCalzone / migrate_to_zwave_js_app.sh
Last active March 6, 2026 08:40
Helper script to migrate from the Z-Wave JS UI Community Home Assistant app to the updated Z-Wave JS app in version 1.0.0 (includes Z-Wave JS UI).
#!/usr/bin/env bash
set -euo pipefail
# ###########################################################################
#
# Helper script to migrate from the Z-Wave JS UI Community Home Assistant app
# to the updated Z-Wave JS app in version 1.0.0 (includes Z-Wave JS UI).
#
# Requires downloading a store backup from Z-Wave JS UI first
#
@AlCalzone
AlCalzone / tampermonkey_sdomembers_zwavealliance_login.js
Created November 13, 2025 20:39
Tampermonkey script to make login page on https://sdomembers.z-wavealliance.org/ password manager friendly
// ==UserScript==
// @name Make Z-Wave Alliance Member Login accessible for 1Password
// @namespace http://tampermonkey.net/
// @version 2025-11-13
// @description ...because it does not work out of the box
// @author AlCalzone
// @match https://sdomembers.z-wavealliance.org/LoginPage*
// @run-at document-end
// @icon https://www.google.com/s2/favicons?sz=64&domain=z-wavealliance.org
// @grant none
@AlCalzone
AlCalzone / machine.js
Created June 26, 2020 12:32
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@AlCalzone
AlCalzone / how-to-async.md
Last active February 7, 2023 10:38
JavaScript: How to Async? (german)

How to? - Asynchroner Code

Kapitel 1: Synchroner Code

Ausgangslage: Synchroner Code. Einfach zu lesen, klarer Programmablauf:

const ergebnis1 = synchroneFunktion1();
const ergebnis2 = synchroneFunktion2();
tueWasMitErgebnis(ergebnis1, ergebnis2);