Page 1 of 1

This command is denied by policy

Posted: 25 Aug 2017 16:58
by Tobus
Hallo,
nach der Neuinstallation meines Raspberrys bin ich nun wieder bei der Konfiguration des Z-Waves.

Angelegt habe ich ein Code Device mit der code action:

Code: Select all

system('/usr/bin/python /opt/z-way-server/automation/userModules/test.py')
Eingetragen habe ich in die .syscommands:

Code: Select all

/opt/z-way-server/automation/userModules/test.py
Beim Betätigen des Schalters bekomme ich folgenden Eintrag im Logfile:

Code: Select all

[2017-08-25 13:57:56.701] [I] [core] Error: This command is denied by policy
Was mache ich falsch?

Vielen Dank
Tobias

Re: This command is denied by policy

Posted: 27 Aug 2017 00:46
by PoltoS
You should add /usr/bin/python /opt/z-way-server/automation/userModules/test.py in .syscommands, not just the tail of your command

Re: This command is denied by policy

Posted: 28 Aug 2017 17:30
by Tobus
Thanks a lot, thats the solution!