-
Notifications
You must be signed in to change notification settings - Fork 11
LCD screen installation problem #8
Copy link
Copy link
Closed
Description
@aGGreSSiv : I've updated the documentation of the install process. If you are still having trouble, please open a new issue and describe at what step you're stuck, and we have a look at it!
I connected remotely and followed the steps one by one according to the instructions. First I updated the operating system, then I entered the commands one by one. None of the commands gave an error. The LCD is not plugged in right now, maybe that's why it gives an error, but when I check the chronotron service status to check, it gives the following output.
pi@raspberrypi:~ $ sudo systemctl status chronotron
● chronotron.service - Display chrony statistics on 4x20 LCD
Loaded: loaded (/etc/systemd/system/chronotron.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-12-21 13:22:11 +03; 11s ago
Process: 537 ExecStart=/opt/chronotron/bin/python /opt/chronotron/chronotron.py (code=exited, status=1/FAILURE)
Main PID: 537 (code=exited, status=1/FAILURE)
CPU: 422ms
Dec 21 13:22:11 raspberrypi python[537]: Traceback (most recent call last):
Dec 21 13:22:11 raspberrypi python[537]: File "/opt/chronotron/chronotron.py", line 237, in <module>
Dec 21 13:22:11 raspberrypi python[537]: main_loop()
Dec 21 13:22:11 raspberrypi python[537]: File "/opt/chronotron/chronotron.py", line 151, in main_loop
Dec 21 13:22:11 raspberrypi python[537]: lcd = LcdDisplay()
Dec 21 13:22:11 raspberrypi python[537]: File "/opt/chronotron/i2c_lcd.py", line 8, in __init__
Dec 21 13:22:11 raspberrypi python[537]: self.bus = smbus.SMBus(sm_bus) # Rev 1 Pi: 0, Rev 2 Pi: 1
Dec 21 13:22:11 raspberrypi python[537]: FileNotFoundError: [Errno 2] No such file or directory
Dec 21 13:22:11 raspberrypi systemd[1]: chronotron.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 13:22:11 raspberrypi systemd[1]: chronotron.service: Failed with result 'exit-code'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
