Teknologi

I Bouvet er vi flere hundre teknologer som brenner for å programmere og utforme gode, digitale løsninger. I denne bloggen utforsker vi teknologien og deler det vi finner med dere.

Building a family dashboard with DAKboard and Raspberry Pi

Motivation

One of the projects I’ve been wanting to do for some time is create a dashboard for the hallway.  This dashboard would display my family’s Google Calendar and weather data, thus helping us make sure that our children head off to school with the correct clothes and equipment for the events of the day.
 
Unfortunately a tight schedule has meant that this project never progressed from the idea stage, until a day or two ago, when I suddenly had a couple of hours free time on my hands….

Hardware

The equipment I used was as follows:
Note that you don’t need to have all this equipment to create your own dashboard, but be aware that alternative equipment may require extra configuration.  For example:
  • My Raspberry Pi 3 has WiFi capabilities out of the box.  Earlier models of the Pi (and the PiZero) will require an Ethernet cable or WiFi dongle.
  • The Official Touch Screen works out of the box with newer versions of Raspian.  Using other screens or older versions of Raspian may require extra configuration.

Setting up the Dashboard

I’m going to assume that your Pi and Touchscreen are set up, connected to the internet and ready to go.  From this point there are only 2 simple steps to perform to setup your own dashboard.
Step 1 : Configuring DAKboard

The biggest obstacle to me starting this project was time.  Basically I didn’t have the time to create my own graphical display (and set up integrations to Google Calendar etc) from scratch.

While browsing the Raspberry Pi reddit forums I came across DAKboard – a service which allows you to configure and access your own dashboard from any browser.  You need to sign up for an account, but the service is completely free.

DAKboard offers the following information and integrations:

  • Calendars via iCal (many calendars including Google support this standard).
  • Background pictures via a range of providers such as Dropbox and Flickr.
  • Weather forecast via Yahoo or WeatherUnderground
  • RSS feed display.

Configuring these integrations was trivial and intuitive.  Once I had signed up for an account it took me less than 10 minutes to get my own DAKboard page running on my Mac.

My DakBoard as displayed on my Mac

My DAKboard as displayed on my MacBook Pro

Now I needed to set this up to run on my dashboard hardware.

Step 2 : Configuring the Raspberry Pi

On booting up Raspian I was presented with the new Pixel Desktop environment.

img_6293

Pixel Desktop on Raspberry Pi Touch Screen

One of the main changes with the Pixel Desktop is that the Epiphany Web Browser has been now replaced by Chrome.  I opened my DAKboard in the Chrome browser and was presented with the following:
 
img_6294

First attempt at displaying DAKboard on Raspberry Pi Touch Screen

 
The text was too large, causing it to overlap!  This was because I was moving from my 13 inch MacBook to a 7 inch Raspberry Pi screen.  Luckily the guys behind DAKboard have thought of this and allowed you to adjust the font display size. I reduced the text size in my DAKboard settings and refreshed my browser.
 
img_6296

Second attempt – menu bars taking up lots of screen space

This still wasn’t optimal.  A quarter of my 7 inch screens real estate was taken up by menu bars – making my dashboard look amateurish and messy.  I also wanted to make sure that the DAKboard web page would be automatically opened and displayed when the Pi was rebooted or if the power was switched off and on.
 

I accomplished this by adding the following line to the /home/pi/.config/lxsession/LXDE-pi/autostart file.

This line starts Chrome in Kiosk mode each time the Desktop environment starts up – without infobars or warnings.  The final argument is a private link to my DAKboard (you’ll find your own link under the DAKboard account settings).

I also ran the following from the command prompt, which removes the mouse pointer from the touch screen display when the mouse is inactive.

All I needed to do now was restart the Raspberry Pi and voila!

img_6298

Chrome now running in kiosk mode – all menu bars removed

Conclusion (and further work)

I’m very pleased with the final result – especially in regards to how l quickly I got this up and running.

A big advantage with the DAKboard service is that it is so easy to set up.  You can literally have a dashboard ready in minutes. In addition it is flexible – you can run it on an old PC, a Tablet or a Raspberry Pi – whatever you have lying around.

The downside of the DAKboard is it’s limited functionality.  As it is closed source one is not able to go in and tweak the layout or content. For some this limitation might be a deal breaker, but I still think that DAKboard is a great time saver for your own dashboard!

The Official Raspberry Pi Touch Screen was perfect for this project.  The screen goes into sleep mode after about 10 minutes and can be awakened by tapping on the screen.  Perfect for our hallway as we don’t need the screen to be on 24/7.

I’m now looking into to how I can add an extra web page (for example with local transport information) to the dashboard and swipe between the two.  I’ll be sure to update this blog once I figure out how to do that!

Have you undertaken a similar project?  Maybe you have built a Magic Mirror like the one my colleague Cato Antonsen has?  Feel free to share your experiences and suggestions in the comments below.

Thanks for reading!

4 kommentarer om “Building a family dashboard with DAKboard and Raspberry Pi

  1. I have done something similar, only using an old iPad, a cheap android tablet and Dakboard.
    But I would really like to see something that you can customize more than Dakboard.

    Did you come across anything during your project?

    1. The only similar thing that I’ve come across is the Magic Mirror. If you find a good alternative to DAKboard, let me know!

  2. Hi, I have a suggestion, that you might have considered already. I connected a PIR sensor to my raspberry pi which registers if someone is in the room. This way I can turn on/off the screen based on movement, turning the screen on when you walk in and then off when there has not been any movement for a given period of time. Works great =)

Legg igjen en kommentar

Din e-postadresse vil ikke bli publisert. Obligatoriske felt er merket med *

Magic Mirror – version 1

Introduction A while back I discovered the exciting world of “magic mirrors”. I don’t remember how or where it caught my attention, but..

DevOpsDays Oslo 2016

5.-6. september hadde eg gleden av å delta på den første norske DevOpsDays i Oslo. Her er en oppsummering av høydepunktene..

Bouvet at JavaZone 2016

This year JavaZone celebrated it’s 15th year with with 3000 attendees and over 170 sessions. As one of Norway’s premier Java..

IT years are like dogs years

One of the characteristics of the IT industry is that time works differently for us. This is challenging and fun,..

The Future of SharePoint

Den 4. mai holdt Microsoft en virtuell event om fremtiden til SharePoint, jeg fikk heldigvis anledning til å delta de..

SharePoint 2016 er på vei!

Som lovet var Microsoft ferdig med utviklingen av SharePoint Server 2016 (RTM – release to manufacturing) rett før påske, og..

En skybasert integrasjonsplattform

SAP HANA Cloud Integration SAP HANA Cloud Integration (HCI) er en skybasert integrasjonsplattform. Denne kan benyttes i stedet for SAP..

IoT Juleverksted

Tradisjonen tro var det i starten av desember tid for det årlige juleverkstedet hos Bouvet i Sandvika. Dette var tredje..

Bouvet Battle Royale – Rematch

Vår årlige fagdag ble i fjor kjørt som showdown mellom våre avdelinger som jobber med Java- og Microsoft-teknologi. Uten å..

Key takeaways fra JavaOne 2015!

JavaOne er verdens største Java-konferanse og arrangeres hvert høst i San Francisco. Her kan du oppleve foredrag fra noen av de..

Teknologi

I Bouvet er vi flere hundre teknologer som brenner for å programmere og utforme gode, digitale løsninger. I denne bloggen utforsker vi teknologien og deler det vi finner med dere.