Script LUA ou SHELL ne renvoient rien

Forum dédié aux problématiques concernant les scripts pour DomoticZ.
Entourez votre code et les logs avec les balises nommées code grâce au bouton <\>.
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

Script LUA ou SHELL ne renvoient rien

Message par alacran »

Bonjour,
je suis en version 3.8805 sous raspberry Pi 3.

J'ai un script lua pour calculer les trajets Waze, récupéré ici:
https://easydomoticz.com/forum/viewtopic.php?f=17&t=785

J'ai un script Shell pour calculer les débits et latence, récupéré ici:
https://www.domoticz.com/forum/viewtopi ... 8f5a4ec281

Aucun de ces scripts ne renvoient quoi que ce soient.

Pour le script LUA, comment savoir si il s'éxécute?

Pour le script Shell, je l'ai mis dans mon crontab avec la commande

Code : Tout sélectionner

@hourly /home/pi/domoticz/scripts/Perso/test_internet.sh
Et dans les logs j'obtiens ces messages:
Jan 12 12:17:01 domoticz CRON[6064]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 12 13:00:01 domoticz CRON[7399]: (pi) CMD (/home/pi/domoticz/scripts/Perso/test_internet.sh )
Jan 12 13:00:04 domoticz CRON[7395]: (CRON) info (No MTA installed, discarding output)
Quelqu'un pourrait me venir en aide svp pour lancer des scripts correctement?
Merci
Répondre