How To Build A Fully Offline Smart Home, Or Why You Should Not

So-called ‘smart home’ appliances and gadgets have become an ever-more present thing the past years, with nary a coffeemaker, AC unit or light bulb for sale today that doesn’t have an associated smartphone app, cloud service and/or subscription to enable you to control it from the beach during your vacation, or just set up automation routines to take tedium out of your busy schedule. Yet as much as [Calvin Wankhede] loves home automation, he’d very much like for it to not stop working the moment his internet connection goes down, or the company running the service goes bankrupt. This is where his journey to create an off-line alternative smart home based around Home Assistant and other (open) software began.

Although Home Assistant (HA) itself has become significantly easier to use, what becomes readily apparent from [Calvin]’s journey is that setting up and managing your own smart home infrastructure is a never-ending project. A project that involves finding compatible hardware that can tie into HA, whether or not without reflashing the firmware, resolving configuration issues and other assorted fun. If you are into this kind of thing, it is of course a blast, and it’s a good feeling when it finally all works.

Unfortunately, interoperability across smart home and similar IoT devices is still a far-off dream, even with the introduction of Thread and Matter (which incidentally are among the worst product names to search for, period), as Matter’s uptake is pretty abysmal. This thus leaves off-line smart homes mostly as the domain of the tech-inclined in search of a hobby.

X1Plus: Open Source Bambu Lab X1 Firmware

Recently [Michael] over at the [Teaching Tech] YouTube channel got access to the X1Plus firmware, and takes us through what it may mean for Bambu Lab X1 owners. X1Plus is alternative firmware for the Bambu Lab X1 FDM 3D printer that was developed by X1 owners who felt that there were some features that they were missing, such as a detailed report on automatic bed leveling, input shaping calibration response graphs and more.

Perhaps most interesting is that this firmware does not replace the Bambu Lab firmware, but rather runs completely from a microSD card that’s inserted into the display’s SD card reader. This means that only the bootloader of the printer’s boot medium is changed, and the printer thus retains the ability boot to the OEM firmware as needed. Whether you want to try it on your own X1 depends on a few factors, first of all being that it only works with the OEM firmware up to and including version 1.7.0.

Since the bootloader modification relies on an exploit that was patched in newer firmware, a lot depends on whether Bambu Lab allows such tinkering, much like Prusa does with the Mini printer, or allows flashing of older firmware which would enable the exploit on newer X1 printers. Depending on Bambu Lab’s response, the imminent public release of this open source firmware may as a result run into some pretty big hurdles.

Continue reading “X1Plus: Open Source Bambu Lab X1 Firmware”

How To Refrigerate With Urine

It’s often said that the best science experiments are the ones which do not require any special devices or ingredients, which makes the use of what naturally comes out of one’s body clearly one of the winners. It’s also the beginning of yet another [Hyperspace Pirate] chemistry video that’s both fascinating and unforgettable — this time introducing a considerable collection of urine, and the many uses of the urea in it, including its use for refrigeration.

The respective cooling effect of a variety of compounds in solution. (Credit: Hyperspace Pirate)
The respective cooling effect of a variety of compounds in solution. (Credit: Hyperspace Pirate)

As icky as this may sound, it doesn’t even rank in the top ten of quaint things people have historically done with urine, so extracting urea from it is rather benign. This is performed by adding sodium hydroxide to the starting component after heating, which creates gaseous ammonia (NH3) which was then condensed into its liquid (dissolved) form. In order to create the target compound – being ammonium nitrate – nitric acid (HNO3) had to be created first.

For this the older, but cheaper and easier Birkeland-Eyde process was used. This uses high-voltage electrical arcs to break down the nitrogen and oxygen in the air and cause the formation of nitric oxide (NO), that subsequently reacts with atmospheric oxygen to form nitrogen dioxide (NO2). Running the NO2 through water then creates the desired HNO3, which can be combined with the ammonia solution to create ammonium nitrate. The resulting solution was then evaporated into solid ammonium nitrate, to use it in an aluminium cooling cylinder, with freshly added water.

This is the simplest way to use the cooling effect of such solutions (pictured), but the benefit of ammonium nitrate over the original urea seems minimal. The low efficiency of this cooling approach means that the next use of urine will involve a much more efficient vapor-absorption cycle, which we’re sure everyone is squeezing their legs together for in anticipation.

We’ve been covering the refrigeration experiments [Hyperspace Pirate] has been conducting for some time now. If you’re into the science of making things cold check out how seashells can be turned into dry ice, or what goes into building a home cryocooler.

Continue reading “How To Refrigerate With Urine”

World’s First Precision Lathe: Indispensable When Constructing The Antikythera Mechanism

The precision lathe with the hooks, the bowstring, and vise visible as material is being processed. (Credit: Clickspring)

We commonly tend to associate lathes with the Industrial Revolution, when metalworking shifted largely from blacksmiths to machinists, but the use of lathes is much older than that. As [Chris] over at the Clickspring YouTube channel demonstrates in a recent video, small precision lathes were exceedingly common in the Ancient World. Not only is there ample historical evidence of them being used as far back as 1300 BCE in Ancient Egypt, but they’re also the most optimal way to get perfectly round pins and other, more intricate shapes that would be an absolute nightmare to create with just some metal files and chisels.

In the video, [Chris] uses two metal hooks, bent in a ninety-degree angle and clamped down in a vise, tapering towards each other into points. A bow string around a round piece of wood is used to bootstrap a more permanent retention element and bushing for the bow string as it is drawn over the wood to rotate it. Subsequent material that has to be worked on in the lathe is then clamped between the two points. This way, using basic materials that have been around for thousands of years and some muscle power, it’s possible to create a small lathe that can be used to create perfectly symmetrical shapes, such as those used in the construction of the Antikythera Mechanism, which [Chris] has been rebuilding for the past years, using only period-correct tools. He’s learned a lot about the mechanism in the process.

Continue reading “World’s First Precision Lathe: Indispensable When Constructing The Antikythera Mechanism”

Using Sound Waves As A Fire Extinguisher

In order for a fire to sustain itself, it needs three things: fuel, heat, and oxygen, with the disruption of just one of those causing the fire to extinguish. Water, sand, and carbon dioxide-based fire extinguishers are commonly used, but you’re probably familiar with blowing out a candle using your breath. Counter-intuitively, we also blow on a fire (or use bellows) to make it burn better, so what is happening here? Starting with a novelty app for smartphones that can be used to blow out small flames like candles, [The Action Lab] digs into the topic in a recent video.

Using an air vortex cannon strapped to a bass reflex port to wiggle a flame to death. (Credit: The Action Lab)
Using an air vortex cannon strapped to a bass reflex port to wiggle a flame to death. (Credit: The Action Lab)

Using a fairly beefy speaker to blast a 70 Hz tone at a big alcohol flame was not enough to extinguish it, but using the bass reflex port on the back was more effective, yet still not nearly enough. Using an air vortex cannon to focus the sound waves from the bass reflex port, it ‘wiggles’ the flame out in a matter of seconds, as illustrated with a thermal camera. Compared to the much stronger airflow from the box fan that was also used in one attempt, the difference with the sound waves is that they oscillate, constantly fluctuating the air pressure.

This churns the air and thus the flame around, diffusing the suspended fuel, cooling the air, and alternatingly pushing oxygenated air and carbon dioxide-heavy combustion fumes into the flame. This differs from the constant flow from the box fan, which only pushes oxygen-rich air into the flame, thus keeping it intact and burning brightly. Perhaps the main question that remains here is just how practical this approach is for extinguishing flames. Some commentators suggested using this approach in low- and zero-gravity situations, as found in space stations, where regular fire extinguishers based around smothering a flame aren’t as practical.

(Thanks to [Hyperific] for the tip)

Continue reading “Using Sound Waves As A Fire Extinguisher”

802.11ah Wi-Fi HaLOW: The 1 Kilometer WiFi Standard

You too can add long-distance WiFi to your laptop with this new not-quite dongle solution. (Credit: Ben Jeffery)
You, too, can add long-distance WiFi to your laptop with this new not-quite dongle solution. (Credit: Ben Jeffery)

The 802.11ah WiFi (HaLow) standard is fairly new, having only been introduced in 2017. It’s supposed to fall somewhere between standard WiFi used in domiciles and offices and the longer range but low-bitrate LoRaWAN, ZigBee, and others, with bandwidth measured in megabits per second. In a recent video, [Ben Jeffery] looks at the 802.11ah chipsets available today and some products integrating these.

The primary vendors selling these chipsets are TaiXin Semiconductor (TXW8301), Morse Micro (MM6108), and Newracom (NRC7394), with a range of manufacturers selling modules integrating these. Among the products using these, [Ben] found an Ethernet range extender kit (pictured) that takes 12V input as power, along with Ethernet. Running some distance tests in a quarry showed that 300 meters was no problem getting a strong signal, though adding some trees between the two transceivers did attenuate the signal somewhat.

Another interesting product [Ben] tested is what is essentially an 802.11ah-based WiFi extender, using an 802.11ah link between the server node – with an Ethernet socket – and a client that features a standard 2.4 GHz 802.11n that most WiFi-enabled devices can connect to. Using this, he was able to provide a solid ~10 Mbps link to a cabin near the main house (~10 meters) through two outside walls. What makes 802.11ah so interesting is that it is directly compatible with standard Ethernet and WiFi protocols and uses the 900 MHz spectrum, for which a wide range of alternative antennae exist that can conceivably extend the range even more.

(Thanks to [Keith Olson] for the tip)

Continue reading “802.11ah Wi-Fi HaLOW: The 1 Kilometer WiFi Standard”

Video And Audio Playback On Low-End MS-DOS Machines

For most people the phrases ‘MS-DOS’ and ‘video playback’ probably aren’t commonly associated, yet it was quite normal as those of us who were watching full-motion video with games like Command & Conquer can attest to. These audiovisual experiences did however require somewhat more capable hardware than something like an original, 4.77 MHz IBM PC. More recently, however, the removal of these limitations has been turned into a challenge that has been gleefully accepted by hackers, including [Scali] whose recent tinkering with getting not only real-time video but also audio working on these old beasts has been documented on their blog.

Unlike existing early video formats like FLIC from the 1990s, the XDC format developed over the past years enables real-time, 60 FPS video and audio playback on an 8088 IBM PC that has a SoundBlaster 2 and CGA card installed. As [Scali] notes, the SB2 card is convenient, because it enables DMA transports for the audio data, which saves a lot of precious CPU cycles. Unlike the original SB card, it also fixes some teething issues, but an SB2 is hardly ‘low-end’ for an early 1980s PC, so it has to go.

Continue reading “Video And Audio Playback On Low-End MS-DOS Machines”