Forked Version: 1.3
A WSS (Secure Web Sockets) and/or MQTT based event notification server that broadcasts new events to any authenticated listeners. (As of 0.6, it also includes a non secure websocket option, if that's how you want to run it). Check out the original source here!
With this fork, you can activate a virtual device in Domoticz by an alarm in Zoneminder, such as a motion detector. Currently, only activation a virtual device is supported by an alert in Zoneminder. This has the consequence that the motion detector always remains "ON" in Domoticz. Add a "Off Delay" in Domoticz device settings is a possible workaround. The Lua script will handle this for you and turns the Motion Sensor on for 30 sec. zmeventserverDomoticz will send a MQTT message with topic "domoticz/in".
Create a virtual device in Domoticz named Camera Motion Dummy
and remember the Idx number.
Add the Idx number in the last section of zmeventnotification.ini
file.
Create a new dzVents Device script in Domoticz named CameraMotion
and copy and paste the raw script from this repository.
See the Notes in the Script and edit the script if necessary!
Follow the instructions on the original source here and use this files instead:
Add support for disable events after alarm is over.