Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Advanced Appliance Power Monitor
description: |
Monitors the activity of an appliance based on the power it uses (W) after given delays, and triggers actions based on start, running (power usage changed), and stop. You can use the variables
* `{{ elapsed_time }}` (total seconds)
* `{{ elapsed_time_days }}`
* `{{ elapsed_time_hours }}`
* `{{ elapsed_time_minutes }}`
* `{{ elapsed_time_seconds }}`
* `{{ energy_used }}`
<VirtualHost *:80>
# This is a minimal configuration to get Apache to work as a reverse proxy for paperless-ngx
# Tested on paperless-ngx 1.8.0 running in a Docker container
# and apache 2.4.52 running on Ubuntu Jammy 22.04.1 LTS
ServerName servername
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
{"label":"pylint","message":"9.92","schemaVersion":1,"color":"brightgreen","namedLogo":"Python","style":"flat"}