Hello Roggiii, and welcome to the community!
Thank you for the Shake logs. An important thing that emerges from them is in these lines:
2024 280 13:22:51>> ‹QTDYàa ÁeÁEMIªW•VIð…ªÔU…تW˜$AaT‘E:TBgÑEŒU'VIÐ…S QÇXªQ”DYàc Q˜
2024 280 13:22:51>> –YTBW\IIàD¯ôÜOkˆM¨²•Q'VIx,AÐE
2024 280 13:22:51>> No Data has been received from the MCU in 12 read attempts.It appears the MCU is not transmitting data. This is a fatal condition and should be investigated if this condition persists!
2024 280 13:22:51>> Data has been successfully received, fatal condition resolved.
As you can see, they contain some “gibberish” mixed with “no data received” errors.
My first thought would be to check and see if the current power supply you are using is continuing to deliver a stable voltage between 5.0 and 5.2V and a current of at least 2.5A at all times, as a decrease in power could lead to data services interruption. Also, if you have another Pi power supply you know is in working condition, please try to exchange the current one with that and see if the Shake now correctly works for extended periods.
A second check that you can do is to see if all the connections between the sensor, the blue Shake board, and the Pi board are still solid and free from dirt or any other element that could compromise transmission. As you have recently reassembled the instrument with a new Pi board, you should find this process quick and easy (but guidance is always available if required). And, as usual, if you decide to disassemble the Shake when doing this, please ensure you are using proper ESD (ElectroStatic Discharge) protection (such as gloves, etc.).
As a last resort, and if all these checks come out as positive, then I would recommend re-burning the microSD card again (or using a different microSD) after formatting and erasing all its data/partitions first (you can use DISKPART for this as it is very efficient), and see how the Shake behaves with the newly installed system, removing potential issues derived from corrupted files. I will leave the burning instructions link here for your convenience: microSD card topics
Now that this is out of the way, could I please ask you to expand a bit (a data flow diagram, even in text, would be great) on the objective you want to achieve with the datastream redirection you want to set up?
As the Shakes are not connected to the Internet, I assume your Python script elaborates on all the data locally and then saves it elsewhere. Is this correct (just to see if I have understood the situation)?
Thank you very much for any other details you can provide.