This command is denied by policy

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

This command is denied by policy

Post by Tobus » 25 Aug 2017 16:58

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: 3787
Joined: 26 Jan 2011 19:36

Re: This command is denied by policy

Post by PoltoS » 27 Aug 2017 00:46

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: 26
Joined: 31 Mar 2017 17:50

Re: This command is denied by policy

Post by Tobus » 28 Aug 2017 17:30

Thanks a lot, thats the solution!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests