Lemon is a notification proxy that supports D-Bus, as well as the Pimoroni Raspberry Pi Unicorn Hat HD, allowing you to build a cheap, open-source alternative to LaMetric.
Info: The
master
branch contains the latest version of Lemon. If you're looking for the legacy version that was written in Python and was only working on a Raspberry Pi with Pimoroni's Unicorn Hat HD, please refer to this branch.
Lemon can run as a background process (daemon) on your Linux/*BSD machine and pipe incoming notifications from any supported source to any supported output. For example, you can have your Pushover notifications displayed as D-Bus desktop notifications (libnotify).
Lemon currently supports the following notification sources:
Lemon currently supports the following outputs:
- D-Bus (desktop notifications)
- Pimoroni Unicorn Hat HD
$ go build
$ sudo cp ./lemon /usr/local/bin/lemon
Download the release for your
platform, unpack it and move it e.g. to /usr/local/bin/lemon
.
$ lemon --help
To simplify Pushover setup, this repository contains a script that
can be used to obtain the required Device ID
and Secret
. The script accepts
three fixed arguments:
- Your Pushover e-mail address
- Your Pushover password
- Your Pushover 2FA code
Example:
./login.sh "$(pass show pushover/email)" "$(pass show pushover/password)" 123456
Download/build the arm64
version, copy onto the Raspberry Pi and, enable SPI
via raspi-config
and use -outputs unicorn
as output.