How can I get dzVents 2.3 in domoticz?

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Hi,

So I'm completely new to dzVents, have been messing with it for a little bit, and seems to be exactly what I need. Unfortunately, I want to run a script based on state changes of a scene, so I need dzVents 2.3 (if I understood correctly).
Now, I've seen some posts from October / November saying that you need the beta version for that, but also posts saying that updating to the beta version isn't working, etc.
I tried updating to the beta (running updatebeta in the domoticz folder on my Pi), which is at v3.8798 at the moment. For some reason though, I'm not getting the beta UI (which I have had before when I was messing with switching between the beta and stable versions), and dzVents still seems to be at 2.2 (I'm basing this on the version number shown in Setup > Settings > Other > dzVents (2.2.0)).

What I'd like to know:
What do I need to do to get dzVents 2.3 running in domoticz? If it comes down to building from source from github, I'd really appreciate some more detailed instructions, since I'm completely unaware of how to do such a thing.

Tim
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by emme »

3.8798 brings dzVents 2.3

I do not see any version number under Setup/Settings/Other/dzVents
The most dangerous phrase in any language is:
"We always done this way"
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Well that's odd. Any suggestions on forcing a reinstall of the latest beta version?
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by McMelloW »

Here http://www.domoticz.com/wiki/DzVents:_n ... _scripting and here https://www.youtube.com/watch?v=Y5JB8Vgz4fI you can find everythig to get started. Watch the video and have a lot of fun with dzVents
Greetings McMelloW
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Thanks for the reply McMelloW, but I think you may have misunderstood my question. I'm asking what I need to do to get dzVents 2.3 into domoticz, since the stable version currently has v2.2, and (for me) the beta version also seems to have v2.2. I require version v2.3 for what I'm trying to do.
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by McMelloW »

In that case you have to go to the Domoticz beta version or wait until it is in the next stable version. I understood that's the only way, correct me if I am wrong
Greetings McMelloW
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by emme »

I remember I had a version problem once...
I had to manual copy the dzVents folder from the github repository

...make a backup of your /domoticz folder, then download from github and overwrite the /domoticz/dzvents folder, restart your server and have a try
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Is there any way I can do this from the commandline emme? Software like WinSCP have been giving me grief with permissions unfortunately.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by emme »

first MAKE A BACKUP of you domoticz folder.. I'm not strongly familiar with command line so I could make an error and would not to mess up your installation!!

these instruction should works on a raspberry system:

Code: Select all

sudo systemctl stop domoticz
cd /home/pi
mkdir dzTemp
cd dzTemp
git clone https://github.com/domoticz/domoticz.git domoticz
cd domoticz
cp -ar ./dzVents/. /home/pi/domoticz/dzVents
sudo systemctl start domoticz
this should work
The most dangerous phrase in any language is:
"We always done this way"
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Well, Setup > Settings > Other still shows dzVents 2.2.0, but scenes and groups now work as a trigger, which is all I needed, thanks guys!
Doler
Posts: 163
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Doler »

For version info on dzVents you should look in Domoticz Settings -> About.
Mark: Domoticz latest Beta on Virtual machine (Proxmox) running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (latest, docker) via python plugin - Zwave-js-ui (latest, docker) - dzVents - Nodered
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

In Setup > About, I can only find version info about Domoticz itself, not about dzVents, or anything else.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by dannybloe »

Then you have stable. Only in the beta version there is 2.3 and in the beta the version info is moved from the setup page to the about page. You cannot use 2.3 with the Domoticz stable (3.8153) unfortunately.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by Timmiej93 »

Do you mean that the beta version should contain 2.3? So calling updatebeta should install 2.3? If so, I don't know why I had to manually put 2.3 in after updating to the beta.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: How can I get dzVents 2.3 in domoticz?

Post by dannybloe »

You surely should not move folders around when you install the latest beta. In stable there is no dzVents folder inside the root of the install dir (dzVents 2.2 can be found in /path/to/domoticz/script/dzVents) but in beta there is. And if you start beta it will remove the 2.2 runtime files from /path/to/domoticz/scripts/dzVents.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest