zwave-sim
A Serial API controller simulator with simulated nodes, for testing Z-Wave hosts without hardware. API docs.
Simulator plays a controller over any byte stream, with nodes from
NodeSpec: switch, sleeping_sensor (S0), s2_sensor (with the
classes it asks for), smartstart_sensor, long_range_sensor (on
main), or your own. Nodes run the real security crate’s node side, so S2
bootstrapping, encryption and nonces are exercised for real. spawn
returns a SimHandle to act on the nodes (press, wake_up,
power_on, set_sensor, motion) and to attach a reconnecting host.
The zwave-sim binary serves it on TCP:
cargo run -p zwave-sim -- 127.0.0.1:4545and reads commands on standard input: press <name>, wake <name>,
power <name>, temp <name> <celsius>, motion <name>, dsk <name>.
See Getting started.
The simulator is a test tool. It models what a host sees, not radio propagation, and is not a reference implementation of the controller firmware.