Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notification
#21
Tu tapes quelle commande?
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#22
journalctl -fu calaos-server

avec une console SSH sur Windows en mode fenetre complète....
Reply
#23
Ok, essaye ca:

Code:
journalctl -flu calaos-server
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#24
bonjour,
J'ai également besoin d'aide
je suis connecté en SSH sur mon server (meleg) mais lorsque je tape la commande "calaos_config list", j'ai "-sh: calaos_config: not found".
quelle est mon erreur ?
many77, équipé WAGO 750-849 + Rpi3
Reply
#25
alors... j'ai avancé !
je n'ai pas réussi à utiliser les commandes de calaos_config.
j'ai donc édité mon fichier xml (Calaos> vi local_config.xml)
j'ai ajouté les lignes nécessaires au SMTP... cela fonctionne très bien !
many77, équipé WAGO 750-849 + Rpi3
Reply
#26
root@raspberrypi:~# date
Mon Feb 3 16:04:07 UTC 2014
root@raspberrypi:~#


Lors de l'edition des logs je suis sur date 01/01 à 10H20. je viens de verifier la date du serveur est ok ????????

quelle commande pour purger les logs?
Reply
#27
Normal, la raspberry pi n'a pas d'horloge matériel. Les logs avec la mauvaise heure que lors du boot avant que le reseau soit monté et que l'heure soit synchronisé par internet.
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#28
ok pour les premieres lignes mais maintenant voila les seules lignes que j'obtient. meme plus de sequence d'envois sendmail alors que je viens de déclencher l 'alarme.


root@raspberrypi:~# journalctl -flu calaos-server
-- Logs begin at Thu 1970-01-01 00:00:04 UTC. --
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO network : UDPServer: received input 56 state=1
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO network : UDPServer: received input 56 state=0
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO network : UDPServer: received input 56 state=1
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO network : UDPServer: received input 56 state=0
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 01 10:23:18 raspberrypi calaos_server[195]: INFO network : UDPServer: received input 56 state=1

J'ai rebooté le serveur et maintenant j 'ai les logs à jour grr grr !

Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 62 state=0
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO input : WIDigitalBP::ReceiveFromWago(): Got 0 on std input 62
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 51 state=1
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO input : WIDigitalBP::ReceiveFromWago(): Got 1 on std input 51
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule : Rule(Cave Garage,Alarme Fichet déclenchée): Starting execution (3 actions)
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule : Rule(Cave Garage,Alarme Fichet déclenchée): Execution done.
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #0) "Intervention alarme Tanet"
Feb 03 17:27:21 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #1) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 62 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalBP::ReceiveFromWago(): Got 1 on std input 62
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #2) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #3) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #4) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #5) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: Sending mail failed after 5 tries. Please check log for more information.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #0) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #1) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #2) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #3) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #4) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #5) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: Sending mail failed after 5 tries. Please check log for more information.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #0) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #1) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #2) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #3) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #4) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #5) "Intervention alarme Tanet"
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:57 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:57 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 0 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : Using local ip address: 192.168.0.100
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=1
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO input : WIDigitalTriple::ReceiveFromWago(): Got 1 on std input 56
Feb 03 17:27:20 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 62 state=0
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO input : WIDigitalBP::ReceiveFromWago(): Got 0 on std input 62
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 51 state=1
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO input : WIDigitalBP::ReceiveFromWago(): Got 1 on std input 51
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule : Rule(Cave Garage,Alarme Fichet déclenchée): Starting execution (3 actions)
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching inputs for "output_34" => not found
Feb 03 17:27:21 raspberrypi calaos_server[199]: DEBUG room : Searching outputs for "output_34" => found
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule.action.mail : ActionMail::Execute(): Need to download camera (Toutes les cameras) attachment
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO rule : Rule(Cave Garage,Alarme Fichet déclenchée): Execution done.
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO mail : SendMail: Sending mail (attempt #0) "Intervention alarme Tanet"
Feb 03 17:27:21 raspberrypi calaos_server[199]: ERROR mail : SendMail: an exception occured: Authentication error.
Feb 03 17:27:21 raspberrypi calaos_server[199]: INFO network : UDPServer: received input 56 state=0

j'ai modifié le serveur smtp et supprimé tls

<calaos:option name="smtp_server" value="smtp://smtp.orange.fr" />
<calaos:option name="smtp_port" value="587" />
<calaos:option name="smtp_auth" value="true" />
<calaos:option name="smtp_username" value="jl.martluc@orange.fr" />
<calaos:option name="smtp_password" value="toto" />
<calaos:option name="smtp_tls" value="false" />
Reply
#29
La je ne sais pas. Tu as une erreur d'authentification... Tes logins/mdp sont juste pour orange?

Et avec gmail ca marche pas depuis que je t'ai dis d'installer les certificats?
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply
#30
Tu penses bien que j ai vérifié. J ai changé de smtp parce que gmail ne fait pas mieux meme avec la librairie. Tu confirme qu il n y a pas d erreur de syntaxe? Par ailleurs tu as constate l anomalie des logs? Après reboot les logs sont @ nouveau ok. MerciWink
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)