Content :
This is a fairly involved process as it seems that no one currently makes a pre-made product that measures water usage from a household meter.
It took quite a while to set up due to WiFi issues and the flow rate code still needs some work as the output is semi-random at the moment.
If you get stuck anywhere I'm happy to answer questions provided this doesn't go viral 😂
- DFRobot Beetle ESP32 microcontroller (https://www.littlebird.com.au/products/beetle-esp32-microcontroller)
- Water meter pulse probe for the specific meter model (https://www.aquatrip.com.au/accessories is one of the only places I've found that sells them)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mirror arch linux | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/local/bin/sync_arch_mirror.sh | |
User=arch | |
IPAccounting=yes | |
NoNewPrivileges=yes | |
PrivateTmp=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
OS X launchd plist: Copy to ~/Library/LaunchAgents | |
and launch with launchctl load ~/Library/LaunchAgents/org.asdflabs.screenbla.plist. | |
Make sure the path to the shell script is correct. | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following example imports subkey DF6C5C29 into a secret keyring that | |
# already contains 55C794A2 | |
% gpg --list-secret-keys | |
sec 4096R/AF72A573 2012-06-17 | |
uid Andrew Ho <[email protected]> | |
ssb 4096R/55C794A2 2012-06-17 | |
% mkdir 55C794A2 | |
% cd 55C794A2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't use FFmpeg for metadata extraction. Use FFprobe. | |
# Its output is geared toward parsabilty. | |
# Container and stream information in JSON format: | |
ffprobe -show_format -print_format json 'Serenity - HD Trailer.mp4' | |
ffprobe -show_streams -print_format json 'Serenity - HD Trailer.mp4' | |
# Human-readable values: | |
ffprobe -show_format -pretty -print_format json 'Serenity - HD Trailer.mp4' | |
# Trim video to first 30 seconds, without transcoding. |