Simulates (partly) a Homematic CCU
Simulates (partly) a Homematic CCU
Prerequisites: Node.js >= 6.0
npm install -g hm-simulator
This can be used for automated tests of software connecting to a Homematic CCU
Warning: This is far away from a complete simulation and still work in progress Until now I’m only implementing what
I needed for basic tests of hm2mqtt.js.
incoming:
outgoing:
In the behaviors directory are two example scripts:
virtual-button-press.js
triggers a PRESS_SHORT
on BidCoS-RF:1
every 5 seconds.window-open-close.js
opens and closes 0000D3C98C9233:1
every 30 seconds.Pull Request welcome! :-)
MIT
Copyright (c) 2017 Sebastian Raff