résultat deabonillo82 a écrit : 03 mars 2020, 13:44 Bonjour Bernard,
pour les commandes Domoticz
tu as:
"sudo service domoticz status" cela te donne le infos sur le status de Domoticz (CTRL-C) pour quitter
"sudo service domoticz stop" pour l'arrêter
"sudo service domoticz start"pour le relancer
j'ai trouvé des infos sur la possibilité de faire un RFlink en wifi sans le raspberry avec un module ESP
Le post est la:viewtopic.php?f=22&t=1106&start=130
Normalement Domoticz demarre automatiquement avec linux mais je ne me souviens plus si il y avait une manip particulière pour le démarrage automatique.
Si je trouve je te dirais.
Code : Tout sélectionner
# service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Mon 2020-03-02 06:19:24 CET; 1 day 9h ago
Docs: man:systemd-sysv-generator(8)
Process: 1370 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
mars 02 06:19:24 debian-fixe systemd[1]: Starting LSB: Home Automation System...
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: 2020-03-02 06:19:24.811 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: 2020-03-02 06:19:24.811 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: 2020-03-02 06:19:24.830 Status: Startup Path: /home/bernard/domoticz/
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: domoticz: Domoticz is starting up....
mars 02 06:19:24 debian-fixe domoticz[1395]: Domoticz is starting up....
mars 02 06:19:24 debian-fixe domoticz[1680]: Domoticz running...
mars 02 06:19:24 debian-fixe systemd[1]: Started LSB: Home Automation System.
mars 02 11:31:12 debian-fixe domoticz[1680]: Domoticz stopped...
# à ce niveau, là, j'ai "omis" de prendre des notes...
et j'ai aussi vérifié :
Code : Tout sélectionner
# service domoticz stop
#
# service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: inactive (dead) since Tue 2020-03-03 16:08:12 CET; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 1370 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Process: 12097 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: 2020-03-02 06:19:24.811 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: 2020-03-02 06:19:24.830 Status: Startup Path: /home/bernard/domoticz/
mars 02 06:19:24 debian-fixe domoticz.sh[1370]: domoticz: Domoticz is starting up....
mars 02 06:19:24 debian-fixe domoticz[1395]: Domoticz is starting up....
mars 02 06:19:24 debian-fixe domoticz[1680]: Domoticz running...
mars 02 06:19:24 debian-fixe systemd[1]: Started LSB: Home Automation System.
mars 02 11:31:12 debian-fixe domoticz[1680]: Domoticz stopped...
mars 03 16:08:12 debian-fixe systemd[1]: Stopping LSB: Home Automation System...
mars 03 16:08:12 debian-fixe systemd[1]: domoticz.service: Succeeded.
mars 03 16:08:12 debian-fixe systemd[1]: Stopped LSB: Home Automation System.
# tiens, en faisant une autre vérif :
Code : Tout sélectionner
# service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (running) since Tue 2020-03-03 16:17:30 CET; 2min 25s ago
Docs: man:systemd-sysv-generator(8)
Process: 12594 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Tasks: 16 (limit: 4915)
Memory: 24.5M
CGroup: /system.slice/domoticz.service
└─12601 /home/bernard/domoticz/domoticz -daemon -www 8080 -sslwww 443
mars 03 16:17:29 debian-fixe systemd[1]: Starting LSB: Home Automation System...
mars 03 16:17:30 debian-fixe domoticz.sh[12594]: 2020-03-03 16:17:30.059 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
mars 03 16:17:30 debian-fixe domoticz.sh[12594]: 2020-03-03 16:17:30.060 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
mars 03 16:17:30 debian-fixe domoticz.sh[12594]: 2020-03-03 16:17:30.077 Status: Startup Path: /home/bernard/domoticz/
mars 03 16:17:30 debian-fixe domoticz.sh[12594]: domoticz: Domoticz is starting up....
mars 03 16:17:30 debian-fixe domoticz[12600]: Domoticz is starting up....
mars 03 16:17:30 debian-fixe domoticz[12601]: Domoticz running...
mars 03 16:17:30 debian-fixe systemd[1]: Started LSB: Home Automation System.
# Tasks: 16 (limit: 4915)
Memory: 24.5M
CGroup: /system.slice/domoticz.service
└─12601 /home/bernard/domoticz/domoticz -daemon -www 8080 -sslwww 443
Elles indiquent des éléments qui doivent intéressants... mais quoi ?
la mémoire vient de ?
la ligne qui est juste au dessous, permet-elle un raccourci quelconque ? ou c'est juste une indication de... ?
Ah pétard, j'en pose des questions...
