2025-04-18, 04:11 PM
(2025-04-18, 10:57 AM)Jay_cd33 Wrote:Hi Jay, After making the modifications to the lgpio.py I closed the terminal window, opened another and tried sudo systemctl restart openplotter-i2c-read. I got zero response to that command. I tried 3 times - same. I closed that terminal window, opened new and navigated through the commands to arrive at line 504 to see that the red comment # was missing. So changed it again and saved but left the terminal window open. tried sudo systemctl restart openplotter-i2c-read but zero response. then closed all terminal windows - opened terminal and made modifications to lgpio and saved but left window open. opened a second terminal and repeated the process to open - at this point it stated the lgpio.py was under root modification (or words to that effect) and did I still want to open - replied Y - navigated to line 504 and no sign of red#. so obviously it is not saving before a reboot(2025-04-16, 06:41 PM)ukabroad Wrote: Thanks for the prompt response Mate, I will stay tuned
Cheers
Malcolm
Malcolm,
Could I ask you to confirm a couple things. After making the modifications to the lgpio.py, instead of rebooting could you restart the openplotter-i2c-read service with the following command.
Code:sudo systemctl restart openplotter-i2c-read
Then confirm that the read service is running with the Openplotter Check System. Also confirm that Signalk is getting data from your BME688 sensor.
I have not been able to repeat the loss of the lgpio.py changes to my systems after shutdowns and reboots. I'm thinking that maybe your changes to the lgpio.py are not being saved. After making the changes the read service should work without rebooting.
Still investigating.
Jay
S/V Priority
I'm at total newbee at this so I really do appreciate your clear precise instructions so please do not hesitate to let me know if i am making some mistakes.
Cheers Mate, really appreciate your help
Malcolm
S/Y Freya
ps What is your boat? (just curious, so no need to answer if you don't want to)

