Got a spare TV, why not use it to display an info-screen

I love a good project.
Hot on the heels of my post yesterday about using Nodeping’s API (you can read that here) I thought I could takeĀ it one step further.

A lot of companies these days have big screens up everywhere from receptions and meeting rooms, to helpdesks and call centres. I thought why not try and make one that shows some info that’s interesting to me.

Most mornings, I normally do a few key things.

  • Coffee
  • Check the BBC News App
  • Check weather forecast (MET office app)
  • Scroll through some of the dross people call ‘posts’ on Facebook
  • Check my emails in case anything has kicked off at work in the eight hours or so I’ve been asleep.

Now, given that TV’s aren’t generally very good at making caffeine infused drinks and Facebook just frustrates me, I dropped them from the list and decided on the following for my ‘screen’.

  • BBC top stories
  • A summary of work’s Nodeping checks
  • The 5 day weather forecast

I then decided the easiest way to display this was on a webpage that auto-refreshed its contents with jQuery.

I’m not going to provide all the code for the webpage on here, most of it isĀ implemented in the same way as my previous post on Nodeping anyway, but I did want to share some information on an interesting way to drive the screen using a Raspberry Pi.

Take a look at this excellent project from userexec on GitHub
https://github.com/userexec/Pi-Kitchen-Dashboard

I actually initially followed the instructions there to the letter, but unfortunately (probably due to me using a large widescreen TV) it didn’t really look right and I ended up building my own webpage for the content.

When ready, I simply changed the below lines in ~/.config/autostart/midoriAuto.desktop

<br data-mce-bogus="1">

[Desktop Entry]
Type=Application
Exec=midori -e Fullscreen -a file:///home/pi/Pi-Kitchen-Dashboard/index.html

to

<br data-mce-bogus="1">

[Desktop Entry]
Type=Application
Exec=midori -e Fullscreen -a http://<yourwebpageurlhere>.html

It is worth noting at this point that I did this on top of Raspbian, which can be downloaded here.

Also, you will want to ensure your Raspberry Pi boots into the GUI rather than Linux shell. This is really easy to do and there is a tutorial I found below which should help those that need it.
https://itsfoss.com/raspberry-pi-gui-boot/

When done reboot and ……. Viola

You can see the live version at http://info.iis9.co.uk

infoPanel

 

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *