Page 1 of 1

activate group scene

Posted: Friday 09 February 2018 11:13
by devros
hello, im playing with dzvents
switches works ok (logs are OK) , but cant trigger group switch to test... but cant see any log output when enable group.
Any idea what is wrong (probably something stupid :)

Code: Select all

return {
    on = {
		groups = {
			'GROUP_TEST'
		}
    },
    execute = function(domoticz, group)
        if (group.state == 'On') then
		    domoticz.log('Hey! I am off!')
        end
    end
}

Re: activate group scene

Posted: Friday 09 February 2018 17:45
by dannybloe
What version of dzVents are you using and is 'GROUP_TEST' exactly the name of your group? Try to print something before the if-statement.