This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C service not running ...Work Around
#10
(2025-04-17, 06:45 PM)Jay_cd33 Wrote:
(2025-04-17, 04:31 PM)Dillingsuk Wrote: I have the same issue. Have a BME280 installed, fresh install post fitting a NVME base. Getting 'service not running' warning on check system for i2c. Interestingly the sensor will read in Signal K with the BME280 plugin but wont read otherwise.

Hi Dillingsuk,
Yes. It's not the sensor.  It's the openplotter-i2c-read service.  If you enter the follwing command in a terminal you will see the problem.
Code:
sudo systemctl status openplotter-i2c-read
 It will show that the openplotter-i2c-read service is enabled but not running because the error I showed above.  The openplotter-i2c-read.service will try to restart every 3 seconds.
The fix I described above will get the read service running.  In fact you don't need to reboot, it should start on its own.  But you can always force the restart with the following.
Code:
sudo systemctl restart openplotter-i2c-read

You should see data in signalk if you have configured your BME280 in the openplotter I2C app.  You can also run the Openplotter Check System and it should show i2c running.

I'm not sure why the lgpio.py file gets overwritten sometimes.   My systems seem to reboot okay.  It was just the one time I described above that it was overwritten.

The plugin may be the way to go.  I have not explored that way to read the BME280.  Thanks for the info.

Jay
S/V Priority

Thanks Jay commenting out line 504 has worked! I haven't experienced the fix undoing itself as yet either. 

Strange this though as my old SD version is working fine so the file is getting being deleted somehow when installing from scratch.
Reply


Messages In This Thread
RE: I2C service not running ...latest - by Dillingsuk - 2025-04-18, 12:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)