this post was submitted on 28 Mar 2025
218 points (99.1% liked)

Selfhosted

60910 readers
869 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Not my project - found this courtesy of Hack-a-Day.

This free and open source software tool is designed to make it easy for individuals to keep track of both the routine maintenance needs of their vehicles, as well as keep track of any previous or upcoming repairs and upgrades.

Demo here: https://demo.lubelogger.com/Login/Index

User/pass: test/1234

you are viewing a single comment's thread
view the rest of the comments
[–] walden@sub.wetshaving.social 7 points 1 year ago* (last edited 1 year ago)

Since there's no native ntfy notification built in to LubeLogger I figured out a way to do it using Node-RED. If you don't have Node-RED set up, It's pretty great for automating things. I mostly use it for Home Assistant. There's certainly a way to accomplish this without Node-RED, but I would have no clue where to start.

The basic idea of the flow attached below is:

  1. Schedule when you want notifications (I like being reminded on monday, wednesday, and friday at 8am)
  2. Have Node-RED pull the maintenance reminders, which are available in JSON format
  3. Do some filtering and splitting of the data, narrowing the reminders down to Past Due, Very Urgent, and Urgent (ignoring everything that doesn't need attention).
  4. Feed the filtered data into templates -- different templates for each level of urgency. This adds some complexity, but I like it.
  5. Bring everything back together, format it into something that ntfy.sh likes, and then fire the notification.

You'll of course have to go through and change settings in each node to match your LubeLogger URL and vehicle ID's, and preferred ntfy server and topic. You can also add your username/password for LubeLogger and ntfy (or a bearer token, if that's what you have set up with ntfy).

Node-RED flow

If you're not familiar with Node-RED, you'd import the above JSON and edit it from there. Stuff "flows" through nodes, stopping and doing what you tell it along the way.