04-28-2025, 12:54 PM
(04-28-2025, 08:03 AM)karas Wrote:Hi Karas,(04-28-2025, 07:53 AM)karas Wrote:(04-26-2025, 07:13 PM)fdealexa Wrote: Hi Karas,Hi Francesco,
some questions:
1. Does the peppymeter correctly running if you run it by command line?
Code:cd /home/pi/PeppyMeter
DISPLAY=:0 python peppymeter.py
2. What is the output at the following command?
3. Have you got any error message during the installation?Code:sudo service fda_autopeppy status
Best regards,
Francesco
1. It works everytime
2. Oh. I see the error here. As my OS user is "moode" not pi. is it the cause?
Code:× fda_autopeppy.service - FdA Service to start PeppyMeter at PLAY
Loaded: loaded (/etc/systemd/system/fda_autopeppy.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2025-04-26 18:38:09 HKT; 1 day 21h ago
Duration: 45ms
Main PID: 513 (code=exited, status=200/CHDIR)
CPU: 3ms
Apr 26 18:38:09 moode systemd[1]: Started fda_autopeppy.service - FdA Service to start PeppyMeter at PLAY.
Apr 26 18:38:09 moode (python)[513]: fda_autopeppy.service: Changing to the requested working directory failed: No such file or directory
Apr 26 18:38:09 moode (python)[513]: fda_autopeppy.service: Failed at step CHDIR spawning python: No such file or directory
Apr 26 18:38:09 moode systemd[1]: fda_autopeppy.service: Main process exited, code=exited, status=200/CHDIR
Apr 26 18:38:09 moode systemd[1]: fda_autopeppy.service: Failed with result 'exit-code'.
I correct all the path line in "FdA_AutoPeppy" and re-do the installation. It works now. Thank you for the help.
Regards
Karas
I am glad that you are happy.
Best regards,
Francesco