Hi @janss028,
You wrote:
I'm new on this forum and have a question to add the woonveilig Gate03 plugin into Domoticz (Raspberry).
I found a plugin and add them to the system.
Welcome on this forum.
First of all, I do not own a "Woonveilig" system, nor I have worked with it before.
So all information, provided here comes from the Internet.
If you find a plug-in for some peace of hardware somewhere on the Internet, it will not mean that it will work.
If you are not familiar with MQTT, I recommend some reading. See:
https://mqtt.org/
As you will see MQTT is a publish/subscribe protocol. A system or sensor publishes data under a specific topic on a MQTT broker (server) and another system/device subscribes to that topic.
As far as I have seen, although the specifications are not very clear, "Woonveilig" does not publish data to a MQTT server.
I saw a simple bash script that convert the data to MQTT. See:
https://github.com/mtak/Woonveilig_GATE-03-to-MQTT//
In order to receive MQTT messages, you have to install a MQTT server (broker). I think Mosquitto is commonly used and therefore I suggest to install this Mosquitto server on your Raspberry PI. It can be, but does not need to be, the same Raspberry, where Domoticz runs.
To do so, install Mosquitto. Very simple:
https://raspberrypi.tilburgs.com/mosquitto-mqtt/
Check that Mosquitto is running. See:
http://mqtt-explorer.com/
You can install MQTT Explorer on any computer in your network, that can communicate with the Raspberry Pi, you installed Mosquitto on.
Now your questions:
Now I want to setup the parameters but I don't know what I should do with theparameters:
MQTT server
MQTT port
MQTT username
MQTT password
MQTT state topic
1. If you did install Mosquitto on the same Raspberry Pi as Domoticz, MQTT server can be localhost or 127.0.0.1.
2. MQTT Port is default 1883 and there is no reason to change that for the moment.
3. MQTT username and password, you can leave empty for now. However, if you ever want to expose your MQTT server to the Internet, you should at least configure a username and password.
4. The MQTT topic state is the topic, where the data is published by the bash script (if you use that).
If you use it, it will be: alarm/state.
There exist also an alternative:
For OpenHab they use Node Red:
http://www.pieterbrinkman.com/2019/09/2 ... -node-red/
This is also possible for Domoticz. In that case you should install Node Red as well.
See:
https://nodered.org/docs/getting-started/raspberrypi.
The choice is yours and if you need support for Node Red, just ask.
Regards