Hygrothermographe V2
Re: Hygrothermographe V2
en fait faut pas mettre la cron en 'sudo' !
Domoticz Version: 2020.1 sur Raps 3+ = Gestion des prises : TPLink, Sonoff, Meross + Volets : Fibaro + Lumières : Hue + Logitech Harmony + Xiaomi : Capteurs, boutons + PC : Allumage/Arrêt
Re: Hygrothermographe V2
Nickel.
Merci.
Merci.
Re: Hygrothermographe V2
Il ne veut rien savoir chez moi. le crontab ne fonctionne pas..
pourtant le lancemnet de la commande en manuel fonctionne car il se met à jour dans domoticz...
pourtant le lancemnet de la commande en manuel fonctionne car il se met à jour dans domoticz...
Re: Hygrothermographe V2
Bonsoir
Sans crontab il faut mettre le chemin complet vers ton script (pas de PATH)
C'est peut-être ça ?
Sans crontab il faut mettre le chemin complet vers ton script (pas de PATH)
C'est peut-être ça ?
Maison en construction : en attente d'un nouveau terrain de jeu.
Re: Hygrothermographe V2
En manuel, c'est bon
$ /usr/bin/python3 /home/pi/mijia-sensor-domoticz/domoticz_mijia.py
/home/pi/mijia-sensor-domoticz/domoticz_mijia.py:34: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
1: updating
Mi Sensor: A4:C1:38:0E:8E:24
Firmware: 1.0.0_0109
Dans mon crontab.. nop..
*/1 * * * * /usr/bin/python3 /home/pi/mijia-sensor-domoticz/domoticz_mijia.py >/dev/null 2>&1
$ /usr/bin/python3 /home/pi/mijia-sensor-domoticz/domoticz_mijia.py
/home/pi/mijia-sensor-domoticz/domoticz_mijia.py:34: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
1: updating
Mi Sensor: A4:C1:38:0E:8E:24
Firmware: 1.0.0_0109
Dans mon crontab.. nop..
*/1 * * * * /usr/bin/python3 /home/pi/mijia-sensor-domoticz/domoticz_mijia.py >/dev/null 2>&1
Re: Hygrothermographe V2
C'est bon ca marche... j'avais ajouté root dnas le crontab
Re: Hygrothermographe V2
cool alors
Domoticz installé sur NAS synology DS214SE + station météo WMR86 + Detecteurs de fumées Chacon