Step 5: Package Configuration W/Flow Meters

Now that everything for the operating system is installed, let’s configure a few things to make sure it works with RaspberryPints!

Disable screen blanking

By default, the screen will blank to a black screen after 15 minutes of inactivity. Clearly, we want to prevent this from happening. With modern displays, image burn-in is rare, and even when it does occur, it’s almost always temporary.

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add the following lines at the bottom:

@xset s off
@xset -dpms
@xset s noblank
@chromium –kiosk localhost
this is supposed to be a double dash not a single for the @chromium (double dash)kiosk localhost

If not running Raspbian…

Note that if you’re trying to run RaspberryPints on an operating system other than Raspbian, you’ll need to add the following to your php.ini file (typically in /etc/php5/apache2/php.ini):

short_open_tag = on


Reboot the Pi to update all the binaries, and start all the new services.

sudo reboot

Continue to Step 6: Configure Pi For Flow Meters.