This command is denied by policy

Post Reply
Tobus
Posts: 27
Joined: 31 Mar 2017 17:50

This command is denied by policy

Post 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
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: This command is denied by policy

Post 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
Tobus
Posts: 27
Joined: 31 Mar 2017 17:50

Re: This command is denied by policy

Post by Tobus »

Thanks a lot, thats the solution!
Post Reply