wildcard position in device trigger matters?

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

Moderator: leecollings

Post Reply
renerene
Posts: 356
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

wildcard position in device trigger matters?

Post by renerene »

Wiki: https://www.domoticz.com/wiki/DzVents:_ ... r_examples
The name of your device between string quotes. You can use the asterisk (*) wild-card here e.g. PIR_* or *_PIR. E.g.: devices = { 'myDevice', 'anotherDevice', 123, 'pir*' }
My code:

Code: Select all

	    devices = 
	        {
	            'PIR*',
                'door*',
                'triggerhulp'
            }
Question:
is this a bug:
Not only doorGargage is triggered but also Screendoor??
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: wildcard position in device trigger matters?

Post by waaren »

Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest