Giter Site home page Giter Site logo

mrusme / lemon Goto Github PK

View Code? Open in Web Editor NEW
55.0 5.0 2.0 96.42 MB

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.

Home Page: https://マリウス.com/lemon-v2/

License: GNU General Public License v3.0

Shell 3.23% Makefile 0.56% Go 96.21%
raspberry raspberry-pi pimoroni pimoroni-unicorn-hat-hd led monitor notification github github-webhooks ifttt

lemon's Introduction

Lemon

Lemon D-Bus

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:

  1. Your Pushover e-mail address
  2. Your Pushover password
  3. Your Pushover 2FA code

Example:

./login.sh "$(pass show pushover/email)" "$(pass show pushover/password)" 123456

Unicorn Hat HD

Raspberry Pi 3A+ & Pimoroni 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.

lemon's People

Contributors

dependabot[bot] avatar mrusme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

lordyka isgasho

lemon's Issues

Font size?

Any way to set the font size via the JSON?
I see it defaults to 12 in the code.

This only works with desktop raspbian and not lite/headless flavours.

This one took me a while to work out. I wanted to run a lighter version as this RPI's sole purpose is Lemon.

Constantly threw pillow errors and recommending to install with 'sudo pip3 install pillow'. Each attempt returning 'Requirement already satisfied: pillow...'.

Remedied by installing the desktop versions. It might be worthwhile to add this to the documentation or if you know the package that is missing, adding that to the docs.

In saying that, this is fantastic work and by no means is a dig at your work. This is super versatile and is being integrated as notifications from my Home Assistant whilst in meetings. Thank you for doing this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.