Lemon
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.
Project
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).
Compatibility
Sources
Lemon currently supports the following notification sources:
Outputs
Lemon currently supports the following outputs:
- D-Bus (desktop notifications)
- Pimoroni Unicorn Hat HD
Getting started
From source
$ go build
$ sudo cp ./lemon /usr/local/bin/lemon
From releases
Download the release for your
platform, unpack it and move it e.g. to /usr/local/bin/lemon
.
Usage
$ lemon --help
Pushover
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
Unicorn Hat HD
Download/build the arm64
version, copy onto the Raspberry Pi and, enable SPI
via raspi-config
and use -outputs unicorn
as output.
Links
Enjoyed this? Support me via Monero, Bitcoin, Lightning, or Ethereum! More info.