Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Off and On Scripts not running #40

Open
jkerr1416 opened this issue Aug 1, 2021 · 1 comment
Open

Off and On Scripts not running #40

jkerr1416 opened this issue Aug 1, 2021 · 1 comment

Comments

@jkerr1416
Copy link

For some reason the off and on scripts aren't running through homebridge for me. The state script returns a value to the homebridge ui, but neither of the two other scripts appear to run. Any clue what could be causing this? I've directly called them with the locations listed from command line and they work, so I'm at a loss.

"accessories": [
{
"accessory": "Script2",
"name": "Jack Light Switch",
"on": "/home/homebridge/On.sh",
"off": "/home/homebridge/Off.sh",
"state": "/home/homebridge/State.sh",
"on_value": "True"
}
],

@jasonlboggs
Copy link

This is likely a permissions issue. Try switching in to your Homebridge user (su homebridge from root) and see what happens when you execute the same command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants