Search found 8 matches

by hmjgriffon
Sunday 15 July 2018 8:04
Forum: dzVents
Topic: Notification sounds in the domoticz mobile app
Replies: 2
Views: 949

Re: Notification sounds in the domoticz mobile app

So I have notification settings for some of my scripts to send to the mobile app on my phone, they go to my phone just fine, but I specified a sound to play in the script, and in the app on the phone for the sound to override my phone's volume settings. Does anyone have this working? The ...
by hmjgriffon
Saturday 14 July 2018 8:01
Forum: dzVents
Topic: Notification sounds in the domoticz mobile app
Replies: 2
Views: 949

Notification sounds in the domoticz mobile app

So I have notification settings for some of my scripts to send to the mobile app on my phone, they go to my phone just fine, but I specified a sound to play in the script, and in the app on the phone for the sound to override my phone's volume settings. Does anyone have this working? The ...
by hmjgriffon
Saturday 14 July 2018 0:51
Forum: dzVents
Topic: dzvents newbie
Replies: 2
Views: 564

Re: dzvents newbie

@hmjgriffon, from a quick look I only see two obvious mistakes. In domoticz.log en domoticz.notify you use door, but door is there a device object. I think you want door.name . I am not sure that the logic you use in the if is going to deliver what you want. Maybe an extra pair of () will help. But ...
by hmjgriffon
Friday 13 July 2018 21:03
Forum: dzVents
Topic: dzvents newbie
Replies: 2
Views: 564

dzvents newbie

I tried looking through posts but there are a lot. I have some scripts written in lua, just recently found out about dzvents, well, I'm not a programmer and my system is very limited because the old lua was too hard for me to figure out. I started looking at dzvents, I've read through the ...
by hmjgriffon
Sunday 05 March 2017 18:11
Forum: LUA
Topic: Script running certain days of the week
Replies: 3
Views: 2368

Re: Script running certain days of the week

thanks man, works perfect!
by hmjgriffon
Sunday 05 March 2017 18:08
Forum: LUA
Topic: wildcards in lua
Replies: 1
Views: 1016

wildcards in lua

I've got a script for door sensors, I'd like to have one block handle all of the door sensors using wildcards since the naming convention is the same, example: commandArray = {} if (devicechanged['BackDoorSwitch (Sensor)'] == 'Open' and otherdevices['Security Switch'] == 'Armed') then commandArray ...
by hmjgriffon
Wednesday 08 February 2017 3:53
Forum: LUA
Topic: Script running certain days of the week
Replies: 3
Views: 2368

Script running certain days of the week

I've got a lua script I would like to only run Sunday through Thursday, so not Friday or Saturday. I've figured out how to make it run on weekdays, but not specific days, my script is below: time = os.date("*t") weekday = os.date("%A") commandArray = {} if (time.hour == 22) and (time.min == 30) and ...
by hmjgriffon
Wednesday 25 January 2017 0:02
Forum: Z-Wave
Topic: ecolink door/window sensor
Replies: 1
Views: 945

ecolink door/window sensor

So I am totally new to home automation and z-wave, I've got the aotech gen5 stick running on a raspberry pi 3 with domoticz, I bought a lamp dimmer which is simple enough and works and an ecolink door sensor to test door/window sensors. I noticed that it has added 4 devices to my list and some of ...