I have setup with 10 Raspberry Pi kiosks that run Chromium in full screen, and that works great most of the time.

To make sure all monitors are working ok they have cronjob that sends screenshots via email twice per day.

But that is a lot of emails to go trough each day, and most of the time all of them work ok, so it is really tedious going trough 10 screenshots twice daily.

First idea is to simply display images (two groups of ten images) from last two runs that are sent to central server. I can setup so that screenshots are saved into custom folders, and then some simple html could show it. I have no idea how to do html and display part.

Other more advanced idea would be to have some image recognition app that would "look" at photos and know if chrome is running and showing something or if it is an empty desktop. Because we have always same colour header on the screen that would work simply by looking at one area and checking if it is green (chromium running) or beige (wallpaper from desktop).

If you have any ideas or implementation tips please share them.

  • What image format are you using? – Bex Apr 14 '16 at 7:30
  • I am inclined to say that this task is completely unrelated to the raspberry pi (and thus off-topic). – Ghanima Apr 14 '16 at 8:01
  • 1
    You're going the most complicated route from the beginning. Why don't you try out something simpler first? E.g. monitor status of chromium process. If it happens that chromium process is still running, but the window is dead, you could use wmctrl -l to list all open windows. Would that help? – xx77aBs Apr 14 '16 at 10:16
  • @bex I'm using png and jpeg. – valentt Apr 16 '16 at 20:30
  • @xx77aBs wmctrl doesn't work over remote ssh shell. – valentt Apr 16 '16 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.