Skip to content
kevinvalk edited this page Oct 2, 2014 · 3 revisions

How to install Piglow Ambient

Requirements

  • Raspberry Pi
  • PiGlow (should be working, tutorial and ways to check at raspberry pi)
  • Linux based OS (tested under Raspbian)
  • Internet access

Installation

  • Download the latest released Piglow-Ambient from the releases page (the big green button is pre build binary)
  • Place the binary (piglow-ambient) in /usr/local/bin
  • To daemonize piglow-ambient you have to download debian.sh from my master branch and move it to /etc/init.d/piglow-ambient (the script requires /usr/local/bin/piglow-ambient, so adjust if you installed it somewhere else)
  • To run piglow-ambient on boot do: insserv piglow-ambient

Configuration

To configure piglow-ambient we have to get our latitude and longtitude through some means (for example this site). Place the following in /etc/piglow-ambient.gcfg

[Settings]
## The time it takes to go from 0-255 brightness
TransitionSpeed = 60m 

## A IP or host that gets a ping check, when
## down turn off the ambient lights. Not defining 
## this turns this feature off.
# PingIp = 127.0.0.1

## Latitude and Longitude of your raspberry pi
Latitude = 0.000000
Longitude = 0.000000

Run it

  • Just do /etc/init.d/piglow-ambient start

Trouble shooting

  • You can check the logs at for any error at /var/log/piglow-ambient.log
  • Or make an issue
  • Or send me a mail

Clone this wiki locally

⌂ 换网址