2025-04-18, 12:58 PM
(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.
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.Code:sudo systemctl status openplotter-i2c-read
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.

