RECHERCHER UN ARTICLE

EN SAVOIR PLUS

SHARE

Raspberry pi (Raspbian Jessie) as a dashboard (Kiosk mode)

Update (04/01) – Project aborted for some reasons:No efficient nor stable browsers are available for the moment: -> Midori or Epiphany use one core only, very poor javascript performance, freeze my pi -> Chromium (Ubuntu supported version) is unstable, crashes for no reason and restart is impossible in the same session (you have to log off or reboot) -> Iceweasel which has good javascript performance but suffers the same behavior as ChromiumMy raspberry doesn’t appreciate to be powering on during many hours, Kernel Freeze appears after a few moment

Objectives:
Use a raspberry pi 2B to replace my home dasboarding system that currently uses Microsoft Windows Today.
In the same time try to display it on a new lcd display with 21:9 (2560/1080) resolution.

Context:
The dashboarding system should be activated only when there is someone in the room (a motion sensor informs my Home Automation System and then send a web http request to the raspberry pi)

Functional needs:
-> Web Browsing a web page with javascript
-> Switch on/off the monitor
-> Minimize / Maximize the browser (chrome) in order to decrease cpu usage
-> Can receive order/request from web http command
-> is able to be easily monitored

In order to kill the useless blank screen which doesn’t fucking log off or switch off the monitor, the simple way is to install xscreensaver, a standard paquet of Raspbian Jessie (Source), and manually cancel blank screen.

sudo apt-get update
sudo apt-get install xscreensaver

Then go manually (with the mouse, no config text here) to the preferences, turn off the screensaver « et Voilà » your raspberry pi will never propose you any blank screensaver.

No efficient and stable browsers are available for the moment on JESSIE for a dashboarding use:
-> Midori or Epiphany use one core only, very poor javascript performance, freeze my pi
-> Chromium (Ubuntu supported version) is unstable, crashes for no reason and restart is impossible in the same session (you have to log off or reboot)
-> Iceweasel which has good javascript performance but suffers the same behavior as Chromium
-> Kweb is very low, seems somehow stable but is a pain to configure. Unfortunately I decided to abort this project before being able to test whether kweb could do the job, my pi undergoes some kernel freeze.

4th Step : SCRIPTING .sh (bash) & php

BASH SCRIPT

Here I would like to turn off/on the monitor by a bash script and in the same time I would like to minimize/maximize the browser (chrome) in order to save some cpu usage and be more energy efficient.