Skip to content

dvankley/homeassistant-firefly-budget-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Firefly Budget Alerts

Goal

My spouse asked me the other day if I could set up real-time notifications for our Firefly III budget status. As a satisfied user of both Firefly III and Home Assistant, a combination of the two seemed like a natural fit, given Firefly's extensive API and Home Assistant's flexible notification capability via the companion app.

Turns out it's not hard to accomplish the goal via a Node-RED flow.

Setup

  1. Import flow.json into your Home Assistant Node-RED as a new flow.
  2. Set the global context value fireflyUrl in your Node-RED config to the base URL of your Firefly install, i.e. https://firefly.example.com.
  3. Set up a localfilesystem context storage module named store in your Node-RED config, for instance as below:
    1. You can name it something other than store, but then you need to replace all the references in flow.json.
  contextStorage: {
    store: { module: "localfilesystem"},
    default: { module: "memory" }
  },
  1. Profit.

About

A node-red flow to pull budget data for recent transactions and send alert notifications via Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published