Hello lurkers,
Marat got me started, so here you go - from this point on, you can
control your HVAC hardware with Z-Wave switches. I've just finished
writing the code and the test case, but I'm planning to dogfood it
starting just about now, so if you try to use it and it blows up,
please report, it'll get fixed right away. You can use this
abstraction anywhere where you're currently using on/off switches, and
configure it exactly the same way. The limitation is - this only works
in Reactive tree, and will not be ported back to imperative.
Task definition:
https://github.com/home-climate-control/dz/issues/235
The code:
https://github.com/home-climate-control/dz/blob/reactive/dz3r-mqtt/src/main/java/net/sf/dz3r/device/zwave/v1/BinarySwitch.java
Some information on Z-Wave devices and tools I'm using for development
and testing:
https://github.com/home-climate-control/dz/wiki/MQTT:-Useful-Tools,-Bits-and-Pieces
I don't like to do this to you, but I like patent trolls even less, so
this feature will stay defined like this until it is done and
released, at which point all the lorem ipsum will be replaced with
actual definitions and doc links:
https://github.com/home-climate-control/dz/milestone/13 - this is
exactly what I'm dogfooding now.
Enjoy. Throw tomatoes.
--vt
PS: Z-Wave is quirky. Z-Wave gateways are even quirkier. I might even
like them at some point; if there are devices you want supported, drop
a note here. A link to the device definition from
https://devices.zwave-js.io/ would be a good starting point.