Skip to main content

Gadget Wisdom

Author: David Shanske

Registration time

2011-09-25 06:23:49

Website

https://david.shanske.com/

Email

david@shanske.com

All posts by David Shanske

1 Response

Throw Away The Key- Should You Be Switching to a Digital Lock?

In my exploration of home automation, locks and cameras are always the most concerning when it comes to privacy and security. With all the hacks and exploits you hear about, trusting a third-party with the keys to your house can be a scary thing. Having control of your security is important. Every time I’ve compromised on control in the name of convenience, I’ve regretted it.

So, rather than starting with Smart Locks, I’m starting with the concept of digital locks in general. I’ll get to smart locks in a subsequent post.

What are Digital Locks?

The term can be somewhat confusing, because a digital lock is not necessarily electronic, it can be mechanical. It refers to a lock that is opened using a combination keypad over a key.  Some people still prefer a mechanical digital lock. Why?

  • Electronic deadbolts are usually battery powered…what happens when the battery dies?
  • They often contain a motor to turn the bolt, and this part can wear out or otherwise over time meaning more frequent replacement.
  • Mechanical Options are also popular with Observant Jews as they would refrain from using electronic devices on Saturdays and holidays.

A digital lock replaces something you have…a key, with something you know…a code, although many of these locks still offer a key override. But this is nothing new. For years, one of the entries to my building has been through a garage, with a keypad on the outside to open it. More and more people are moving to locks that don’t require a traditional key for at least one entry into their home. In my follow-up where I get into Smart Lock technology, these do not just include built-in keypads, but using your phone to unlock, fingerprint, etc.

Digital locks have also become increasingly popular for short term rentals, such as AirBnB, as providing a code is easier than key exchange, and changing the code is a trivial matter. The Smart digital locks allow remote changing of the code and the others allow changing at the unit itself.

Are Digital Locks Safer than Keyed Locks?

The traditional keyed lock itself is inherently risky in itself. An expert lock-picker can pick a lock rather quickly. It is possible the absence of a key may actually be more secure, because there is nothing to pick.

But all this doesn’t mean you can’t bypass a digital lock in the same way most people bypass keyed locks, it just means you can’t do it with a pick. In most cases, the biggest security of a lock, is not the key. Most criminals are more likely to use brute force to break in over picking the lock. So, a key question in any lock purchase is hard it is to brute force it. For example, Consumer Reports tests their door locks with a 100 pound steel battering ram, and test both with and without a reinforced box strike plate. Their recommendation, by the way is to invest in reinforcing against a brute force attack as well as a hardened lock that is not easy to drill or otherwise break.

Again, that doesn’t mean a determined individual can’t get in. Security is often about making things harder, not impossible.

 

Published on January 7, 2024
Full Post
2 Responses

Finding the Right Outdoor Air Quality Monitor

In 2023, there were wildfires in Canada which blanketed the Northeastern United States with smoke. This marked a change in what parts of North America had to deal with this problem. This marked an overall increase in interest in air quality sensors.  I had looked into air quality sensors over the last few years, and there are a lot of options for indoor air quality sensors, but not quite so many for outdoor. Will talk a bit more about indoor air quality and how air quality is evaluated in a separate post.

My requirements were not achieved easily by most of the commercial options I explored. After failing to find one I liked, I built my own outdoor air quality sensor. It failed. So I rebuilt it…and it failed again…this time due to condensation somehow getting into the assembly. You can’t fully enclose the sensor because it needs air to flow over it, so there is this risk. So, after wasting two perfectly good sensors, I decided to fall back to something made by someone else as clearly I’m not that level of builder.

Requirements

  • Local access to the data as opposed to having to get data from my own network from a remote API. I feed everything into Weewx, so anything with local data can be fed that way.
  • User replaceable parts
  • More than just a PM2.5 sensor.

 

The Other Options

That initially took me to the Purpleair line of products. Purpleair offers a several sensors plus a community of enthusiasts and their devices can be polled directly. At the time I last looked, they had what they now call the Classic…which did not her user replaceable sensors…being as the PM5003 sensors they use only have a few years of lifespan, it meant replacing the entire unit at that point. Their new Flex and Zen models allow replacement of the sensors without having to replace the whole unit, but you have to get parts from them. And the unit is are just under $300 each.

I looked at Ecowitt as well. Ecowitt sensors are sold under several names in multiple countries. They have 3 air quality sensors, only one is rated for outdoor use, and is battery operated. I tried it, but on battery it has an update time of ten minutes…which created a variety of problems in my receiver missing the update. The indoor ones allow for USB power which increases the frequency of updates.

What I Picked

I explored a few additional choices and finally found something to try. A company in Thaland called AirGradient. AirGradient is an open-source platform with a strong community behind it. They launched their first outdoor design in December of 2022.

Pros

  • They design long lasting air quality monitors that are open source and open hardware…perfect for my philosophy on the matter.
  • The prices are reasonable, and if you don’t like them, you could in theory build it yourself.
  • They provide kits to various organizations.

Cons

  • 1-3 Weeks to Ship, and 2-3 weeks once shipped to most destinations

Their outdoor unit can be purchased as a DIY kit with all the parts or as a preassembled and tested unit. It consists of:

  • Dual PMS5003T air quality sensors. The T variation includes temperature and humidity sensors.
  • Based on an ESP32 C3 chip, which means you can install Esphome…the software platform I used for my homebrew sensors
  • A sensor slot for a third sensor, they offer a TVOC/NOx board for this, an SGP40
  • While the two PMS5003T sensors are for redundancy, one could be replaced by an CO2 sensor which they sell.

The fully assembled version includes either the SGP40 or the SGP40 plus a NDIR CO2 sensor included, as well as full testing of the unit with a report.

So, I’ve ordered one of these kits for $95 with all the parts. If it works, I may order more of their products. But, even if I never order from them again, I can get PMS5003 replacement sensors from a variety of vendors and keep the one I have going indefinitely. But, if it is as advertised, I feel another weeks long order coming on.

Their indoor sensor is equally impressive, and even includes an RGB LED system to act as an air quality ‘traffic light’, but will talk about that in future.

 

Published on January 2, 2024
Full Post
0 Responses

Monitoring with Uptime Kuma

Earlier today, the server that hosts Gadget Wisdom was down for ten minutes. This happens every so often, and the server is due for replacement one of these days as the oldest one I have. But one of the problems I have is that local monitoring is…well, local. You shouldn’t run your monitoring solely on the server you are monitoring. You need something external as well.

So, enter Uptime Kuma. Uptime Kuma came onto the scene two years ago, as a self-hosted version of something like UptimeRobot(which does offer a free tier). There are other self-hosted products as well, but I was able to get this running in a short period of time and it provides exactly what I want, and it looks like it has an active development team.

So, what features does Uptime Kuma offer?

  • Dozens of notification methods to configure….email, messaging, SMS, etc.
  • HTTP, ping, as well as server specific monitoring.
  • Useful Stats and Graphs
  • Optional Public Status Pages

So, now, I’m waiting for my next downtime, to see how exactly this works in production, but just having the ability to remotely monitor and get notifications is another tool in my monitoring arsenal.

Published on December 26, 2023
Full Post
1 Response

Home Automation Obsession: The Home Assistant Green

Years ago, as part of this series, I started to discuss why my preferred home automation platform is Home Assistant. The fact that it merges multiple different platforms together into a seamless whole means you don’t have to pick a side, per se. The most popular platform people run Home Assistant on is a Raspberry Pi. I’ve always had issues, much as I love the Pi, with the fact that it uses a microSD card for storing the operating system and data….as those cards would regularly fail on me.

But, despite the process of installation therefore was, insert microSD card into computer, write to it, and then insert in Pi…that was still a higher level than many people were willing to go. So, the Home Assistant team tried a few different iterations of hardware before they got to one meant for someone who just wants to plug and play. The Home Assistant Green. It is $99 MSRP, and you can add a USB dongle to support Zigbee, Z-Wave, or Thread radios. It has built in storage for the operating system, It does not have built-in wifi though, but your home automation hub is probably more reliable wired.

After you plug it in, you can configure it with a web browser or a mobile app. And since it can be easily upgraded with the latest version of Home Assistant, you’ll continue to get new integrations with various platforms and technology on your network.

Published on December 24, 2023
Full Post
0 Responses

The Disney MagicBand+ as a Piece of Tech

Disney’s introduction of MagicBand technology was a massive change for the theme park. The overall system began development in 2008, with the idea of reducing friction in the park, and the over $1 billion dollar project to integrate technology at Disney parks culminated with a rollout a decade ago in 2013.

I remember the first experience with the MagicBands, and an experience with family members where the Disney staff just couldn’t fix the problems and kept giving old school paper documents. But, most of those sorts of issues were resolved.

 

Until the

MagicBand+

beginning of 2021, MagicBands were free to all Disney Resort guests….they’d even send you one with your name on it with advance reservations. But, in 2023, we have cell phones that can perform the same function and Disney added NFC support so you could use your phone in lieu. So, MagicBand became more of a collector’s item, or for children or other people without phone. Other guests can receive an RFID-enabled Key to the World card free of charge, and some people just put this in a lanyard in order to get the same utility of scanning as a MagicBand.

So, this brings us to MagicBand+, launched in 2022. It supports bluetooth pairing to your phone, software updates, and a bunch of ‘smart’ features. Disney compares MagicBand+ to MagicBand and to their MagicMobile Service(the phone apps). It’s waterproof, rechargeable, and unique to this device it ‘unlocks enchanting interactions’, in addition to what all of the choices do….unlock your room(if you have one), act as your ticket, check-in for virtual queues and lightning lanes, charge items to your account on file, link photos at rides.

So, I charged the thing up, linked it to the phone app via bluetooth, updated it, wore it for a whole day at Disneyland, and…well, it lit up once for five seconds. So…I was not enchanted. And I was not enchanted for $34.99. Reviews were equally mixed from others at both Disneyland and Disney World. You can’t seem to get original MagicBand anymore. So, the only use for this is so you don’t have to pull your phone out of your pocket to access things.

There are two types of scanners in a Disney park. The built-in ones you just run your hand over, and the mobile ones that ticket takers and others were using for other things, where they actually had to fiddle with it to put it into scan mode…so not much faster.

The MagicBand+ supports NFC, RFID, and BLE(for interactive experiences). It has 5 RGB LEDs as well as vibration ability. So, it is a nice little notification device. So, if you want, you could use an NFC/RFID scanner and use it to trigger events at home. There are some people trying to figure out how to connect to it over BLE and trigger the vibration and lighting system. I hope someone does the work on this, because it would allow me to recoup my investment more fully.

In researching this, the only device outside a theme park that can pair with it is an Amazon echo device, probably because of a partnership with Disney to allow certain experiences. People reported that they could pair the band and it would vibrate and light up in response to notifications. So, whatever custom pairing that requires a Disney app installed on your phone should be reproduceable. Other people reported that once paired, they were able to resend commands they monitored to trigger the device.

If not, there are other options for this that would be less expensive…the home options.

The idea Disney offered was interesting, but after all the money they spent on linking their experiences together, the band didn’t allow them to send me captured ride photos as promised, it didn’t present custom experiences, change screens in the park once it knew who I was…so, as a way of Disney customizing its experience..it was useless. But, now that I own it, I probably will reuse it just for the ability to wave myself into things over fumbling and unlocking my devices.

 

 

 

Published on December 22, 2023
Full Post
0 Responses

Setting up RTL_433 to Monitor Sensors

RTL_433 is an open source project hosted on GitHub. While the name implies it only handles devices on the 433MHz band, it also supports devices on 868 MHz, 315 MHz, 345 MHz, and 915 MHz bands. Not only are there presets to decode popular devices, there are instructions to write decoding profiles for unsupported devices.

Once installed, you can customize your /etc/rtl_433.conf to output to MQTT by adding:

output mqtt://localhost:1883,user=user,pass=password,retain=0

Customizing the hostname, port, username, and password for your MQTT broker. RTL_433 outputs event json and state json. So…you can monitor events as they happen or the state of individual devices.

I was surprised at how many devices I was able to pick up that weren’t mine, and ultimately filtered out devices by removing protocols from the rtl_433.conf file. I’m picking up not only my Acurite weather sensor, but other people’s temperature sensors, TPMS(tire pressure monitoring sensors), and more. I can feed my sensors(not the ones I accidentally pick up), into WeeWX(my weather system), and Home Assistant(my home automation system).

 

 

Published on December 8, 2023
Full Post
0 Responses

Updating the Sensors

The last time I added to this series was a few years ago. But a new writer wrote something on WeeWX on the site, and the technology has changed, so I decided to update what I had done. I moved from WeeWX-sdr over to WeeWX-MQTTSubscribe. MQTTSubscribe is actively developed by Rich Bell, and he is very responsive to issues. The extension can act as a driver or a service…so either as your primary source of weather data, or to add additional weather data.

The other advantage is that RTL_433 can run as a standalone service and now supports publishing to MQTT. So, it can decode my weather sensors as well as my 433MHz leak sensors. Oddly enough, I also seem to be picking up someone’s tire pressure sensors as well.

Elsewhere, I assembled custom sensors to get additional readings, running ESPhome, also sending their data via MQTT and being integrated by the same extension to WeeWX. This includes barometric pressure and particulates.

This means my WeeWX installation is much more robust, and modular. This is mirrored in my Home Assistant installation, where I’ve increasingly divided off some subsystems to act more independently.

 

Published on December 6, 2023
Full Post
0 Responses

Gadget Wisdom is Back Again

I love talking about technology, and I keep trying to keep up a posting schedule, and I admit I drift off. One of the classic site authors, The Captain, has returned to write articles. I will see about doing some more in-depth stuff as well.
Published on November 26, 2023
Full Post
1 Response

The Power of Weewx

There are a lot of different ways to store and use weather data. For my station, I wanted something that had a lot of built-in features and extensibility. I ended up with WeeWx, which is a well-supported python based project. They are currently in beta for Version 4.0.

WeeWx supports multiple sources for inputs, uploads to a variety of sites, and has extensions to add additional functionality. It generates reports that can be deployed by ftp or rsync to a remote website, or  as I do, you can host it on the computer running the software. WeeWx is lightweight enough you could host it on a Raspberry Pi. I do this for one of my weather stations. With the other, I’m hosting on the same computer that handles my Home Automation.

With something like a Pi, the biggest concern is frequent writes to the database. So if you are using a Pi, I suggest you use a database hosted elsewhere and transfer the reports to another computer, or you may wear out your microSD card. I will have to talk about my Pi issues another time, but the weak point on a Pi is the microSD card.

Installing WeeWx is simple as installing any other Linux package. Then, in order to receive data from 433MHz SDR(software defined radio) devices, the easiest way is to get an RTL-SDR USB dongle and add the extension, WeeWx-SDR. This requires a little compiling of various drivers to allow receipt of signals from a variety of different devices. It takes some trial and error to map the sensors to the right values in WeeWx though.This is just a matter of running an application and noting the output. However, once you do this, it stays stable…unless you change hardware. I am also using the Acurite Atlas, which is not in the stable version of RTL_433, the library that translates the 433MHz signals, but you can install the development branch.

I also supplement that data by running another extension, weewxMQTT, which I use to send in sensors that are not coming in via 433MHz. This is how I added a barometer, as I couldn’t find a 433MHz one. There is a robust set of examples from hobbyists of creatng MQTT enabled sensors using inexpensive wifi enabled boards like the NodeMCU or the D1 Mini.

After WeeWx is installed, and the drivers for the various sensors are added, the system will generate reports. The default skin, which is the template for the output, is probably sufficient for most people, but it can be customized, and alternate ones found online.

WeeWx also has built-in and extensible uploaders to send the data to various sources. I contribute to every source that will let me. Why discriminate?

Next, will cover some of the customizations I’ve put in.

 

Published on April 27, 2020
Full Post
0 Responses

Starting a Weather Station

A few years ago, I set up two weather stations. More recently, with me being stuck at home, I’ve made some tweaks and enhancements. I’ve invested some time in trying to figure out what I’d do if  I had to do it over again. So, in addition to improving the setup, I’m going to work on enhancing it.

At the moment, in one location, I’m using the Acurite Atlas weather station. The Acurite equipment is designed to be used with their station, or internet connected system, but I  do not do that. When I first started, I also used Acurite temperature sensors hooked into my Home Assistant instance to track internal temperature. But I’ve since dismantled that system and replaced it with a combination of other sensors.

Acurite is known as a low-end hobbyist brand, and while  there were some criticism with the accuracy of the Acurite 5-in-1 sensor, which I still use  in  one of my stations, the Atlas offers better accuracy and  several additional sensors.

All Acurite equipment transmits using a 433MHz radio, which can be picked up by a USB software defined radio  and  a program called RTL_433.  I’ve run this on a Raspberry Pi, and sent to a more robust system for storage There are alternative weather stations, which offer different ways to get the data, but the important part for me is to be able to get the data, because then I can do things with it, such as upload it to third party servers, display it, etc.

In future posts, I am going to get into more detail on how I set this up and what I’ve learned.

Published on April 14, 2020
Full Post

Get New Posts By Email