Compare commits

...

6 Commits

  1. 22
      content/.obsidian/graph.json
  2. 25
      content/.obsidian/workspace
  3. 11
      content/Fake Dog.md
  4. 9
      content/Things I Recommend.md
  5. 37
      themes/theme/templates/index.html
  6. 8
      themes/theme/templates/style.css

@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 3.32478632478632,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 0.9044367002205442,
"close": true
}

@ -9,7 +9,7 @@
"state": {
"type": "markdown",
"state": {
"file": "Things I Recommend.md",
"file": "Fake Dog.md",
"mode": "source",
"source": false
}
@ -40,7 +40,7 @@
"state": {
"type": "search",
"state": {
"query": "",
"query": "json",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
@ -69,7 +69,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Things I Recommend.md",
"file": "Fake Dog.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -86,7 +86,7 @@
"state": {
"type": "outline",
"state": {
"file": "Things I Recommend.md"
"file": "Fake Dog.md"
}
}
}
@ -95,20 +95,19 @@
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
"width": 300
},
"active": "25a79872dfa9b9bf",
"lastOpenFiles": [
"Things I Recommend.md",
"Fake Dog.md",
"Protospace.md",
"fake-dog.png.md",
"media/fake-dog.png",
"QotNews.md",
"Notica.md",
"Bypassing Ports.md",
"Backup Strategy.md",
"Acoustic Panels.md"
"Acoustic Panels.md",
"Things I Recommend.md",
"Wine Crate Coffee Table.md",
"Spaceport.md",
"Protospace.md",
"fake-dog.png.md",
"media/fake-dog.png"
]
}

@ -15,13 +15,18 @@ You can find the [source code](https://git.tannercollin.com/tanner/woof) on my G
## Technical Details
My surveillance cameras sit on a separate network without internet access and their RTSP streams are consumed by the Blue Iris NVR software running on a dedicated Windows box. When an object is detected moving through a defined area for certain cameras, Blue Iris is configured to send an MQTT message to the `iot/cameras` topic via the Mosquitto broker running on my media server.
A Python script kept alive by Supervisor runs on the Raspberry Pi and listens to the topic using the `asyncio-mqtt` module. It receives and tries to decode a json message like `{"serial": "SE-N-ZoneB"}`. If the camera's serial is found in a dict at the top of the script, the corresponding audio file is played using Pygame. Controlling which speaker barks is done by muting the left or right channel in the stereo audio file.
A Python script kept alive by Supervisor runs on the Raspberry Pi and listens to the topic using the `asyncio-mqtt` module. It receives and tries to decode a JSON message like `{"serial": "SE-N-ZoneB"}`. If the camera's serial is found in a dict at the top of the script, the corresponding audio file is played using Pygame. Controlling which speaker barks is done by muting the left or right channel in the stereo audio file.
![[fake-dog2.png]]
## Future Improvements
The dog has a lot of false positives from the cameras being triggered by car headlights or small animals. This isn't a big deal since no one is home to hear it bark and it isn't loud enough for my neighbours to hear (I've asked). I would rather have a false positive than a false negative.
A huge improvement would be to combine the camera data with a physical trigger. A break beam sensor mounted on stair railings or an accelerometer mounted under the steps would work for this. But it would be annoying to mount, route power to, and harden for harsh Calgary winters. Perhaps the accelerometers are sensitive enough to mount inside, close to the entrances.
## Efficacy
According to [former burglars](https://news.t0.vc/TRMA), barking dogs and security cameras are some of the best deterrents to home invasions. The dog sounds fake to me, but I know it isn't real. I'm hoping that a rushing burglar won't spend time pondering if the barking is from an elaborate speaker setup and will just move on to a different house. Of course the internet now knows that it's a fake dog, but "the reader does not steal and the thief does not read".
According to [former burglars](https://news.t0.vc/TRMA), barking dogs and security cameras are some of the best deterrents to home invasions. The dog sounds fake to me, but I know it isn't real. I'm hoping that a rushing burglar won't spend time pondering if the barking is from an elaborate speaker setup and will just move on to a different house.
I already caught a prowler who went in my backyard and checked my garage door handle to see if it was locked. He then broke into my neighbour's truck and garage after. He gets to have his face on my website:
I previously caught a prowler who went into my backyard and tested my garage door handle to see if it was locked. He then broke into my neighbour's truck and garage after. He gets to have his face on my website:
![[fake-dog3.jpg]]

@ -5,7 +5,7 @@ Summary: Software and products that I recommend you use.
Wide: true
Short: 1
This outlines some software and devices I recommend you use: uBlock Origin, Sponsorblock, ThruNite T1 flashlights, Logitech G Pro Wireless mice, and ThinkPad Laptops. Nothing here was sponsored.
This outlines some software and devices I recommend you use: uBlock Origin, Sponsorblock, Aegis Authenticator, ThruNite T1 flashlights, Logitech G Pro Wireless mice, and ThinkPad Laptops. Nothing here was sponsored.
[TOC]
@ -24,6 +24,13 @@ You can install it on [Firefox Desktop](https://addons.mozilla.org/en-CA/firefox
![[recommend2.png]]
### Aegis Authenticator
Aegis is a two-factor authenticator (2fa) app for Android that's free and open source. The killer feature and why I recommend it is that it supports automatic encrypted backups of the database in JSON format. You can unlock the app with a password or optional fingerprint. It supported true OLED dark mode. An alternative app is andOTP but there were [problems](https://news.t0.vc/EQYR/c#williamwchuang1553266688) with the backups' encryption back when I switched to Aegis.
Enabling 2fa on your accounts is essential for security, especially preventing credential stuffing attacks. Backing up your 2fa data is important in case you lose your phone. It saves you having to dig out recovery codes or try and convince someone that you own the account.
You can install it on Android via the [Play Store](https://play.google.com/store/apps/details?id=com.beemdevelopment.aegis) or [F-Droid](https://f-droid.org/en/packages/com.beemdevelopment.aegis).
## Devices
### ThruNite T1 Flashlight
This is a tiny rechargeable flashlight that can output 1500 lumens, enough to hurt your eyes if you look directly into it. It has a magnet on the back to stick to things and an optional pocket-hat clip. I liked it so much I've bought three of them and gave one to a friend who then bought himself a couple more.

@ -7,28 +7,12 @@
{% endblock %}
{% block content %}
<p>TANNER COLLIN</p>
<div class="content index">
<p>
Hi, I'm Tanner! I like home automation, <a href="/sensors">sensors</a>, privacy, bots, Python, Debian, coffee, and makerspaces.
</p>
<h2>Contact Info</h2>
<p>
Email: <a href="mailto:site4@tannercollin.com">site4@tannercollin.com</a> <br />
Telegram: <a href="https://t.me/tannercollin" target="_blank" rel="noreferrer noopener">@tannercollin</a>
</p>
<h2>Resume</h2>
<ul>
<li>Firmware Engineer at <a class="external" href="https://cabanablockchain.com" target="_blank" rel="noreferrer noopener">Cabana Blockchain</a>, 2018–</li>
<li>Lead Hardware Engineer at <a class="external" href="https://criticalcontrol.com/" target="_blank" rel="noreferrer noopener">Critical Control</a>, 2016–2018</li>
<li>Electrical Engineer at <a class="external" href="https://www.opener.aero/" target="_blank" rel="noreferrer noopener">Opener Aero</a>, 2016–2016</li>
<li>Electrical Engineer Intern at <a class="external" href="https://www.pason.com/" target="_blank" rel="noreferrer noopener">Pason Systems</a>, 2014–2015</li>
<li>BSc. Electrical Engineering from University of Calgary</li>
</ul>
<h2>Projects</h2>
<p>
@ -74,5 +58,24 @@
</div>
{% endfor %}
<h2>Resume</h2>
<ul>
<li>Firmware Engineer at <a class="external" href="https://cabanablockchain.com" target="_blank" rel="noreferrer noopener">Cabana Blockchain</a>, 2018–</li>
<li>Lead Hardware Engineer at <a class="external" href="https://criticalcontrol.com/" target="_blank" rel="noreferrer noopener">Critical Control</a>, 2016–2018</li>
<li>Electrical Engineer at <a class="external" href="https://www.opener.aero/" target="_blank" rel="noreferrer noopener">Opener Aero</a>, 2016–2016</li>
<li>Electrical Engineer Intern at <a class="external" href="https://www.pason.com/" target="_blank" rel="noreferrer noopener">Pason Systems</a>, 2014–2015</li>
<li>BSc. Electrical Engineering from University of Calgary</li>
</ul>
<h2>Contact Info</h2>
<p>I'm very open to collaboration and responsive to messages. If you have any thoughts feel free to reach out:</p>
<p>
Email: <a href="mailto:site4@tannercollin.com">site4@tannercollin.com</a> <br />
Telegram: <a href="https://t.me/tannercollin" target="_blank" rel="noreferrer noopener">@tannercollin</a>
</p>
</div>
{% endblock %}

@ -19,8 +19,8 @@
padding-right: 15px;
}
.info h1 {
font: 1.1rem/1.0 sans-serif;
.index h2 {
margin-top: 3rem;
}
.index h3 {
@ -114,6 +114,10 @@
font-size: 0.9rem;
}
.content.index {
margin-top: 3rem;
}
.toclink:not(:hover) {
border-bottom: none;
}

Loading…
Cancel
Save