Apple HomeKit Accessory Development Kit Gets More Accessible

Every tech monopoly has their own proprietary smart home standard; how better to lock in your customers than to literally build a particular solution into their homes? Among the these players Apple is traditionally regarded as the most secretive, a title it has earned with decades of closed standards and proprietary solutions. This reputation is becoming progressively less deserved when it comes to HomeKit, their smart home gadget connectivity solution. In 2017 they took a big step forward and removed the need for a separate authentication chip in order to interact with HomeKit. Last week they took another and released a big chunk of their HomeKit Accessory Development Kit (ADK) as well. If you’re surprised not to have heard sooner, that might be because it was combined the the even bigger news about Apple, Amazon, the Zigbee Alliance, and more working together on more open, interoperable home IoT standards. Check back in 2030 to see how that is shaping up.

“The HomeKit ADK implements key components of the HomeKit Accessory Protocol (HAP), which embodies the core principles Apple brings to smart home technology: security, privacy, and reliability.”
– A descriptive gem from the README

Apple’s previous loosening-of-restrictions allowed people to begin building devices which could interact natively with their iOS devices without requiring a specific Apple-sold “auth chip” to authenticate them. This meant existing commercial devices could become HomeKit enabled with an OTA, and hobbyists could interact in sanctioned, non-hacky ways. Part of this was a release of the (non-commercial) HomeKit specification itself, which is available here (with Apple developer sign in, and license agreement).

Despite many breathless mentions in the press release it’s hard to tell what the ADK actually is. The README and documentation directory are devoid of answers, but spelunking through the rest of the GitHub repo gives us an idea. It consists of two primary parts, the HomeKit Accessory Protocol itself and the Platform Abstraction Layer. Together the HAP implements HomeKit itself, and the PAL is the wrapper that lets you plug it into a new system. It’s quite a meaty piece of software; the HAP’s main header is a grueling 4500 lines long, and it doesn’t take much searching to find some fear-inspiring 50 line preprocessor macros. This is a great start, but frankly we think it will take significantly more documentation to make the ADK accessible to all.

If it wasn’t obvious, most of the tools above are carefully licensed by Apple and intended for non-commercial use. While we absolutely appreciate the chance to get our hands on interfaces like this, we’re sure many will quibble over if this really counts as “open source” or not (it’s licensed as Apache 2.0). We’ll leave that for you in the comments.

Possible Fifth Force Of Nature Found

Over the years, humans have come up with four forces that can be used to describe every single interaction in the physical world. They are gravity, electromagnetism, the weak nuclear force that causes particle decay, and the strong nuclear force that binds quarks into atoms. Together, these have become the standard model of particle physics. But the existence of dark matter makes this model seem incomplete. Surely there must be another force (or forces) that explain both its existence and the reason for its darkness.

Image via Business Insider

Hungarian scientists from the Atomki Nuclear Research Institute led by Professor Attila Krasznahorkay believe they have found evidence of a fifth force of nature. While monitoring an excited helium atom’s decay, they observed it emitting light, which is not unusual. What is unusual is that the particles split at a precise angle of 115 degrees, as though they were knocked off course by an invisible force.

The scientists dubbed this particle X17, because they calculated its mass at 17 megaelectronvolts (MeV). One electron Volt describes the kinetic energy gained by a single electron as it moves from zero volts to a potential of one volt, and so a megaelectronvolt is equal to the energy gained when an electron moves from zero volts to one million volts.

What Are Those First Four, Again?

Let’s start with the easy one, gravity. It gives objects weight, and keeps things more or less glued in place on Earth. Though gravity is a relatively weak force, it dominates on a large scale and holds entire galaxies together. Gravity helps us work and have fun. Without gravity, there would be no water towers, hydroelectric power plants, or roller coasters.

Lightning via Wikimedia Commons

The electromagnetic force is a two-headed beast that dominates at the human scale. Almost everything we are and do is underpinned by this force that surrounds us like an ethereal soup. Electricity and magnetism are considered a dual force because they work on the same principle — that opposite forces attract and like forces repel.

This force holds atoms together and makes electronics possible. It’s also responsible for visible light itself. Each fundamental force has a carrier particle, and for electromagnetism, that particle is the photon. What we think of as visible light is the result of photons carrying electrostatic force between electrons and protons.

The weak and strong nuclear forces aren’t as easy to grasp because they operate at the subatomic level. The weak nuclear force is responsible for beta decay, where a neutron can turn into a proton plus an electron and anti-neutrino, which is one type of radioactive decay. Weak interactions explain how particles can change by changing the quarks inside them.

The strong nuclear force is the strongest force in nature, but it only dominates at the atomic scale. Imagine a nucleus with multiple protons. All those protons are positively charged, so why don’t they repel each other and rip the nucleus apart? The strong nuclear force is about 130x stronger than the electromagnetic force, so when protons are close enough together, it will dominate. The strong nuclear force holds both the nucleus together as well as the nucleons themselves.

The Force of Change

Suspicion of a fifth force has been around for a while. Atomki researchers observed a similar effect in 2015 when they studied the light emitted during the decay of a beryllium-8 isotope. As it decayed, the constituent electrons and positrons consistently repelled each other at another strange angle — exactly 140 degrees. They dubbed it a “protophobic” force, as in a force that’s afraid of protons. Labs around the world made repeated attempts to prove the discovery a fluke or a mistake, but they all produced the same results as Atomki.

Professor Attila Krasznahorkay and his team published their observations in late October, though the paper has yet to be peer-reviewed. Now, the plan at Atomki is to observe other atoms’ decay. If they can find a third atom that exhibits this strange behavior, we may have to take the standard model back to the drawing board to accommodate this development.

So what happens if science concludes that the X17 particle is evidence of a fifth force of nature? We don’t really know for sure. It might offer clues into dark matter, and it might bring us closer to a unified field theory. We’re at the edge of known science here, so feel free to speculate wildly in the comments.

Main image via Index

AMD Introduces New Ryzen Mini PCs To Challenge Intel

For the majority of hacker and maker projects, the miniature computer of choice these last few years has been the Raspberry Pi. While the availability issues that seem to plague each new iteration of these extremely popular Single Board Computers (SBCs) can be annoying, they’ve otherwise proven to be an easy and economical way to perform relatively lightweight computational tasks. Depending on who you ask, the Pi 4 is even powerful enough for day-to-day desktop computing. Not bad for a device that consistently comes in under a $50 USD price point.

Intel NUC compared to the Raspberry Pi

But we all know there are things that the Pi isn’t particularly well suited to. If your project needs a lot of computing power, or you’ve got some software that needs to run on an x86 processor, then you’re going to want to look elsewhere. One of the best options for such Raspberry Pi graduates has been the Intel Next Unit of Computing (NUC).

NUCs have the advantage of being “real” computers, with upgradable components and desktop-class processors. Naturally this means they’re a bit larger than the Raspberry Pi, but not so much as to be impractical. If you’re working on a large rover for example, the size and weight difference between the two will be negligible. The same could be said for small form-factor cluster projects; ten NUCs won’t take a whole lot more space than the same number of Pis.

Unfortunately, where the Intel NUCs have absolutely nothing on the Raspberry Pi is price: these miniature computers start around $250, and depending on options, can sail past the $1,000 mark. Part of this sharp increase in price is naturally the vastly improved hardware, but we also can’t ignore that the lack of any strong competition in this segment hasn’t given Intel much incentive to cut costs, either. When you’re the only game in town, you can charge what you want.

But that’s about to change. In a recent press release, AMD announced an “open ecosystem” that would enable manufacturers to build small form-factor computers using an embedded version of the company’s Ryzen processor. According to Rajneesh Gaur, General Manager of AMD’s Embedded Solutions division, the company felt the time was right to make a bigger push outside of their traditional server and desktop markets:

The demand for high performance computing isn’t limited to servers or desktop PCs. Embedded customers want access to small form factor PCs that can support open software standards, demanding workloads at the edge, and even display 4K content, all with embedded processors that have a planned availability of 10 years.

Continue reading “AMD Introduces New Ryzen Mini PCs To Challenge Intel”

Robot Insect Survives Swatting

There is an old saying, that ‘the hand is quicker than the eye;, but somewhat slower than the fly.” However, with a little practice you can swat a fly, although it sometimes doesn’t seem to faze the fly. École polytechnique fédérale de Lausanne (EPFL) has announced they have used nanotech to build a 1 gram possibly untethered, autonomous robotic insect that has enough processing power and sensors to recognize black and white patterns. Artificial muscles provide propulsion. But there’s the kicker: it can survive a strike with a fly swatter.

In the video you see below, the robots can move at 3 centimeters per second and there are two different versions. The first is a tethered system using ultra-thin wires. This is the version that can be folded, smacked, or even squashed by a shoe and continue moving.

Continue reading “Robot Insect Survives Swatting”

See You On The Dark Side Of The Moon: China’s Lunar Radio Observatory

For nearly as long as there has been radio, there have been antennas trained on the sky, looking at the universe in a different light than traditional astronomy. Radio astronomers have used their sensitive equipment to study the Sun, the planets, distant galaxies, and strange objects from the very edge of the universe, like pulsars and quasars. Even the earliest moments of the universe have been explored, a portrait in microwave radiation of the remnants of the Big Bang.

And yet with all these observations, there’s a substantial slice of the radio spectrum that remains largely a mystery to radio astronomers. Thanks to our planet’s ionosphere, most of the signals below 30 MHz aren’t observable by ground-based radio telescopes. But now, thanks to an opportunity afforded by China’s ambitious lunar exploration program, humanity is now listening to more of what the universe is saying, and it’s doing so from a new vantage point: the far side of the moon.

Continue reading “See You On The Dark Side Of The Moon: China’s Lunar Radio Observatory”

Diving With An Unlimited Air Supply

If you want to explore underwater, you have a few options. You can hold your breath. You can try to recycle your air. You can carry your breathing air with you as in SCUBA. You can stick a tube up like a snorkel, or you can have air sent down to you from the surface. EXOlung falls into this last category, but unlike many other surface solutions, it has a twist: it never runs out of power before you do. Watch the video below and you’ll see how it works.

A buoy puts a snorkel up out of the water, and a tube lets you dive up to 5 meters away. There’s a small tank on your chest, and your body’s motion serves to fill the tank from the outside air supply. As your legs extend and retract, you fill the tank and then put the tank’s air at ambient pressure so you can breathe. As a bonus, by varying how you inhale and exhale, you can control your buoyancy and, therefore, your depth.

The system does require you to strap your legs up to the apparatus. However, other similar systems have compressors or batteries which can fail or run down, meaning there can be a limit on how long you can stay under. EXOlung claims there is no limit to how long you can stay under.

The cost looks to be around 300 Euro, although for a bit more you can get one that uses different materials to withstand higher pressures. That one has a 7-meter hose.

Another approach is to just carry a little air and remove the CO2 from it and rebreathe it. We’ve also seen a risky surface air pump that uses wind power.

Continue reading “Diving With An Unlimited Air Supply”

Amazon Ring: Neighbors Leaking Data On Neighbors

For a while now a series of stories have been circulating about Amazon’s Ring doorbell, an Internet-connected camera and entry system that lets users monitor and even interact with visitors and delivery people at their doors. The adverts feature improbable encounters with would-be crooks foiled by the IoT-equipped homeowner, but the stories reveal a much darker side. From reports of unhindered access by law enforcement to privately-held devices through mass releases of compromised Ring account details to attackers gaining access to children via compromised cameras, it’s fair to say that there’s much to be concerned about.

One cause for concern has been the location data exposed by the associated Amazon Neighbors crowd-sourced local crime paranoia app, and for those of us who don’t live and breathe information security there is an easy-to-understand Twitter breakdown of its vulnerabilities from [Elliot Alderson] that starts with the app itself and proceeds from there into compromising Ring accounts by finding their passwords. We find that supposedly anonymized information in the app sits atop an API response with full details, that there’s no defense against brute-forcing a Ring password, and that a tasty list of API and staging URLs is there for all to see embedded within the app. Given all that information, there’s little wonder that the system has proven to be so vulnerable.

As traditional appliance makers have struggled with bringing Internet connectivity into their products there have been a few stories of woeful security baked into millions of homes. A defense could be made that a company with roots outside the Internet can be forgiven for such a gaffe, but in the case of Amazon whose history has followed that of mass Web adoption and whose infrastructure lies behind so much of the services we trust, this level of lax security is unforgivable. Hackaday readers will be aware of the security issues behind so-called “smart” devices, but to the vast majority of customers they are simply technological wonders that are finally delivering a Jetsons-style future. If some good comes of these Ring stories it might be that those consumers finally begin to wake up to IoT security, and use their new-found knowledge to demand better.

Header image: Ring [CC BY-SA 4.0]