Closed mjazwiecki closed 4 years ago
Try in your "measureSensor01Now.sh" script use full path for LYWSD03MMC.py.
Something like:
#!/bin/bash /home/mjazwiecki/LYWSD03MMC.py -d A4:C1:38:87:25:CF -b -r --debounce --skipidentical 50 --name sensor01 -c 10 --callback sendToInflux.sh
yes! ah silly me 😄
Perhaps not an issue with script itself (great job, btw!) but when run on cron, it does not send data to influx via callback. once run from terminal, works fine.
measureSensor01Now.sh
cron:
grep CRON /var/log/syslog:
any help would be much appreciated! thanks