Results 26 comments of Lee Porte

I have a zero 2 and am seeing 78 - 82% CPU utilisation. I'm running the python code directly as it doesn't seem to be supported under Balena Cloud as...

I've seen highs of 17.91 and lows of 10.86 ``` Nov 08 11:14:52 train-sign python3[2778]: Effective FPS: 10.86 Nov 08 11:14:52 train-sign python3[2778]: Effective FPS: 10.88 ``` ``` Nov 09...

If it would help I can post up the systemd service file.

Here's my service file to use as a base ``` [Unit] Description=Train Sign Service After=multi-user.target StartLimitIntervalSec=500 StartLimitBurst=5 [Service] Type=idle WorkingDirectory=/home/pi/uk-train-departure-display Restart=on-failure RestartSec=5s Environment="TZ=Europe/London" Environment="departureStation=" Environment="refreshTime=120" Environment="screenRotation=2" Environment="apiKey=" Environment="operatingHours=8-22" Environment="screenBlankHours=1-6" Environment="outOfHoursName="...

I had seen some network timeouts that caused it to die. Though since using the systemd service file, I've not had that issue as it has restart on failure set....

Nano is fine, use your editor of choice The contents of train-sign.service was the following with some of the details adjusted (, and ) to suit my info. ``` [Unit]...

@mattanorak How's it been holding up?

Interestingly CPU usage seems to be a little lower under Bullseye ![bullseye-cpu](https://user-images.githubusercontent.com/922815/141848673-a811fdb7-ffda-4f5e-af39-2353603cd586.png)

I confess i have not. I've been working on the dual display. If I get a chance I'll give it a spin in the next few days.

Hi @Infra-Red, I didn't know you could do that. I'm going to have a tinker with it and hopefully I can get it solve our issue. Thanks for the pointer....