Woonveilig Gate03

Python and python framework

Moderator: leecollings

Post Reply
janss028
Posts: 8
Joined: Monday 01 February 2021 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Woonveilig Gate03

Post by janss028 »

Hi,

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.

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

Can someone help me.

Best Regards,
Ron
Attachments
Woonveilig.png
Woonveilig.png (111.65 KiB) Viewed 756 times
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Woonveilig Gate03

Post by FireWizard »

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
Last edited by FireWizard on Tuesday 02 February 2021 18:31, edited 1 time in total.
User avatar
waltervl
Posts: 5154
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Woonveilig Gate03

Post by waltervl »

Did you try this plugin: https://github.com/System67/GateKeeper
No need for MQTT.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
janss028
Posts: 8
Joined: Monday 01 February 2021 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Woonveilig Gate03

Post by janss028 »

waltervl wrote: Tuesday 02 February 2021 17:23 Did you try this plugin: https://github.com/System67/GateKeeper
No need for MQTT.
I try this one but I don't see any devices (woonveilig in my devices list(
janss028
Posts: 8
Joined: Monday 01 February 2021 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Woonveilig Gate03

Post by janss028 »

FireWizard wrote: Tuesday 02 February 2021 16:21 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
Hi @FireWizard
I'm not at all familiar with this topic. Perhaps it is possible that you can help me further in this. Could you possibly send me a private message to get in touch?

Regards,
Ron
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Woonveilig Gate03

Post by FireWizard »

Hello @janss028.

Ron,

Your PM has been answered.

Regards
janss028
Posts: 8
Joined: Monday 01 February 2021 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Woonveilig Gate03

Post by janss028 »

Hi,

Issue is solved by help of FireWizard and Sjaak Spiegel.

Thanks
azonneveld
Posts: 153
Joined: Wednesday 02 October 2019 7:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands
Contact:

Re: Woonveilig Gate03

Post by azonneveld »

FireWizard wrote: Saturday 06 February 2021 20:59 Hello @janss028.

Ron,

Your PM has been answered.

Regards
I would like to have the solution as well, at this moment the gatekeeper github is gone, only the code from Sjaak is available.

First the code is not working because the paho mqqt client is missing.
Next, mqtt should not be needed for this application, but all the mqtt fields are mandatory.

Could you help me out?

[edit]

Found a solution, this plugin is also working (limited) with gate-04 (just select gate-03)
No fancy installation available, create a folder inside the plugins folder and paste the python file.

https://github.com/DanielTromp/Domoticz ... Woonveilig

[/edit
rpi4 - zigbee2mqtt - roborock - espeasy - rfxcom - homewizard p1 - otgw - homebridge - surveillance station - egardia - goodwe - open weather map - wol - BBQ detection - rsync backup
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Woonveilig Gate03

Post by FireWizard »

Hello @azonneveld

Fortunately you found a solution, I saw.

I do remember that I worked on it, but this issue has been published more than 2 years ago.
Unfortunately I got a request to communicate for a PM and I accepted that. The disadvantage is that, if a solution will be found for that particular issue, it is not vissible for other interested users. In that case it should be published (and often translated) in the public part of the forum.
Some users prefer to communicate in their own local language, as that is often easier.

The inbox/ sent items of the PM may contain 150 messages and in my case I had to clean it multiple times in the last 2 years.

So I do not have that solution available anymore, Sorry for that.
I also do not know, how far the solutions of Sjaak Soiegels has been used and how far my Node-RED flow has been involved.

Perhaps @janss028 can shine a light on that, but his last activity on this forum was October 2021.
So I do not not expect anyyhing.

If you need some support, I can try to help you, if you can tell, what you have achieved so far and what your issue is.

Note: I also saw on Github that Sjaak Spiegels is not very active. Last activity was February 2021.
First the code is not working because the paho mqqt client is missing.
That could be installed. See: http://www.steves-internet-guide.com/in ... on-client/

I think that the application from Sjaak Spiegels published the data to MQTT (and therefore you need the paho client in the Python program).
With Node=RED we pushed the desired data to Domoticz, but as said, I do not have the flow anymore.


Regards,
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests