Need help changing zwave property  [Solved]

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

Moderator: leecollings

Post Reply
naps1saps
Posts: 9
Joined: Monday 16 July 2018 3:44
Target OS: Windows
Domoticz version:
Contact:

Need help changing zwave property

Post by naps1saps »

I have an alarm with custom sound player Zooz ZSE19
I can go into zwave configuration properties for this device and change the custom sound number and it will play the sound you select.

How do I accomplish this in dzvents? I saw something about using web get/put to do this but I am really not familiar with that stuff. Is someone able to walk me through getting that to work from scratch? I want to play a "you've got mail" tone when my mailbox is opened.

Thanks in advance.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Need help changing zwave property

Post by waaren »

naps1saps wrote: Sunday 27 September 2020 7:46 How do I accomplish this in dzVents?
dzVents does not have a native command for that but if you know how to do it from the OS commandLine or via a URL dzVents could perform the change.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
naps1saps
Posts: 9
Joined: Monday 16 July 2018 3:44
Target OS: Windows
Domoticz version:
Contact:

Re: Need help changing zwave property

Post by naps1saps »

I'm going off this but they kind of skip the step about the URL. Maybe I'm just dense.
viewtopic.php?t=30315
naps1saps
Posts: 9
Joined: Monday 16 July 2018 3:44
Target OS: Windows
Domoticz version:
Contact:

Re: Need help changing zwave property  [Solved]

Post by naps1saps »

After some research the issue is the same as the Aeotec 6 doorbell/alarm which is now supported kind of. Along the way I found the CURL I've been looking for. Add the following to your DzVents script to play a tone. Replace ##ID## with the zwave device number. Replace ### with the sound number you wish to play and enter your Domoticz web path. Remove --insecure if you have a valid SSL certificate.

Code: Select all

os.execute('curl --insecure --data "##ID##-CONFIGURATION-config-byte-1-3=###" https://127.0.0.1:8080/ozwcp/valuepost.html')
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest