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

Curl not found #44

Open
lolo19430 opened this issue Jan 4, 2021 · 0 comments
Open

Curl not found #44

lolo19430 opened this issue Jan 4, 2021 · 0 comments

Comments

@lolo19430
Copy link

I tried using an esp8266 module to start or stop the printer.
This launches a Curl command, but it doesn't seem to work.

I add the lines in the config.yaml file
system:
actions:
- action: printer on
command: curl 'http://192.168.1.111/control?cmd=gpio,4,1'
name: Démarrer l'imprimante
- action: printer off
command: curl 'http://192.168.1.111/control?cmd=gpio,4,0'
name: Arrêter l'imprimante

But when I run the command I have: "Command for custom:printer on failed with return code 127:
STDOUT:
STDERR: /bin/sh: 1: curl: not found"

Can you help me ?

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

1 participant