Standing desks are great conversation starters in the office – whether you like it or not. How do you know someone’s got a standing desk? Don’t worry, they’ll tell you. Standing desks have their benefits, but for maximum flexibility, many people choose a desk that can raise and lower depending on their needs. [Wassim] had just such a desk, but found pushing the buttons too 20th century for his tastes. Naturally, Google Assistant integration was the key here.
[Wassim] started out intending to capture and then spoof the desk controller’s signals to the motors, before realising it was likely easier to simply spoof button presses instead. This was achieved through a handful of NPN transistors and an Onion Omega2+ microcontroller board. Then it was a simple case of coding the controller to press the various buttons in response to HTTP requests received over WiFi. Google Assistant integration was then handled with IFTTT, though [Wassim] also discusses the possibility of implementing the full Smart Home API.
It’s entertaining to watch [Wassim] issue commands and have the desk slowly rise in response. Of course, there are other approaches, like this sneaky use of PVC to hack the office furniture.
View story at Medium.com
People often get the impression that home built hardware is destined to have a certain amateurish look or feel to it. It’s as though just because you didn’t buy it in a store, it will look cheap or thrown together. While it’s true a hacked together device could look like it was built from the parts bin (and to be fair, sometimes it is), there are plenty of examples of DIY hardware that could give commercial offerings a run for their money.
A case in point is this fantastic ESP8266 air conditioner controller created by [Sitinut Waisara] (Google Translate). Between the simple yet elegant 3D printed enclosure to the very slick user interface on its OLED screen, this project could easily pass as a commercial device. In fact, we’ve seen commercial offerings that didn’t look half this good, let alone offer the same features for what this cost in components and printer filament. It’s a perfect example of what the modern hacker or maker is capable of with the wide array of tools and components currently available to us.
What’s perhaps the most impressive about this project, especially given how good it looks on the outside, is how little there really is on the inside. Beyond the NodeMCU board and SSD1332 OLED display, the only components inside the device are the three tactile buttons, a photoresistor so it can dim the display’s brightness based on ambient light level, an IR LED so it can send commands to the AC unit, and a handful of passives. The hardware side of this design is so simple that [Sitinut] was able to put the whole thing together on a scrap of perfboard. Not that you’d be able to tell when it gets installed into the 3D printed wall-mount enclosure, complete with printed button caps.
While the hardware side of the project might be rather light, the software is anything but. [Sitinut] really went all-in writing his code for the ESP, adding in the little features like the automatic screen dimming and pulling the current time from NTP that often get overlooked in our rush to get a project out the door. He even included a whole collection of icons to display on the OLED screen, which goes a long way towards selling that professional look. But his effort wasn’t limited to cosmetics or clever features, there was also plenty of work put into decoding the IR signals used to control the AC unit and getting all the features and functions plugged into MQTT.
We’ve seen a number of projects that aimed at dragging an existing HVAC system kicking and screaming onto the “Internet of Things”, some considerably less complex than others. But few have had the level of polish that [Sitinut] has put into his controller, so we take our hats off to him.
Continue reading “ESP8266 AC Controller Shows Whats Possible”
In the near future of the Smart Home, you will be able to control anything with your voice. Assuming that everything supports the Smart Home standard you chose, that is. If you have a device that supports one of the other standards, you’ll end up uselessly yelling at it. Unless you use gBridge. As the name suggests, gBridge is a bridge between Google Assistant devices and the rest of the smart home universe. It’s an open source project that is available as a Docker image can be run on a low power device in the home, or on a hosted service.
Fundamentally, gBridge is a Google Assistant to MQTT translator. Message Queuing Telemetry Transport (MQTT) is the messaging protocol that many smart home devices use, as it runs over TCP and doesn’t take much power to implement. We’ve covered how to bash around in MQTT and do much of this yourself here, but gBridge looks to be somewhat easier to use. It’s just come out of beta test, and it looks like it might be a good way to get into Smart Home hacking.
There are, of course, plenty of other ways of doing this, such as IFFFT, but [Peter Kappelt], the brains behind gBridge, claims that it is more flexible, as it offers support for the whole Google Assistant vocabulary, so you can do things like put devices into groups or do more conditional control (such as if the light level in the hallway rises above a certain amount, start recording with a camera) with non-Google devices. [Peter] is also looking to run gBridge as a hosted service, where he does the behind the scenes stuff to update servers, etc, in return for a small fee.
Continue reading “Controlling Non-Googley Devices With Google Assistant”
Amazon Alexa, Google Home, and just about every electronic device manufacturer are jumping on the bandwagon of connected devices. They promise us the ability to turn on our toaster from another room, unlock our doors just by shouting at them from outside, and change the channel on our TV through perfectly enunciating a sentence instead of mashing the buttons on our remotes like chumps. And yet, despite all this new-fangled finger-less control, there is an unanswered question: does this technology save us energy in the long run?
For years we’ve been hearing about vampire power and all the devices in our home that sit in standby, waiting for their masters to turn them on, quietly burning power to listen for that signal to wake. Fortunately the One Watt Initiative and general awareness and design for energy savings has cut out a lot of this phantom load. So how does the smart home, which essentially adds a bunch of connected vampires to our base load, end up saving money in the long run? And is it better than other alternatives or just good habits? I put these questions to the test with today’s smart power strips and controllable outlets.
Continue reading “Smart Plugs Don’t Save You Energy, But Don’t Consume Much Either”
People with dementia have trouble with some of the things we take for granted, including dressing themselves. It can be a remarkably difficult task involving skills like balance, pattern recognition inside of other patterns, ordering, gross motor skill, and dexterity to name a few. Just because something is common, doesn’t mean it is easy. The good folks at NYU Rory Meyers College of Nursing, Arizona State University, and MGH Institute of Health Professions talked with a caregiver focus group to find a way for patients to regain their privacy and replace frustration with independence.
Although this is in the context of medical assistance, this represents one of the ways we can offload cognition or judgment to computers. The system works by detecting movement when someone approaches the dresser with five drawers. Vocal directions and green lights on the top drawer light up when it is time to open the drawer and don the clothing inside. Once the system detects the article is being worn appropriately, the next drawer’s light comes one. A camera seeks a matrix code on each piece of clothing, and if it times out, a caregiver is notified. There is no need for an internet connection, nor should one be given.
Currently, the system has a good track record with identifying the clothing, but it is not proficient at detecting when it is worn correctly, which could lead to frustrating false alarms. Matrix codes seemed like a logical choice since they could adhere to any article of clothing and get washed repeatedly but there has to be a more reliable way. Perhaps IR reflective threads could be sewn into clothing with varying stitch lengths, so the inside and outside patterns are inverted to detect when clothing is inside-out. Perhaps a combination of IR reflective and absorbing material could make large codes without being visible to the human eye. How would you make a machine-washable, machine-readable visual code?
Helping people with dementia is not easy but we are not afraid to start, like this music player. If matrix codes and barcodes get you moving, check out this hacked scrap-store barcode scanner.
Thank you, [Qes] for the tip.
[Dave] is an avid hacker and no stranger to Hackaday. When he decided to give his IoT weather display an upgrade, he pulled out all the stops.
The WIoT-2 is less of a weather station and more of an info center for their house — conveniently located by their front door — for just about anything [Dave] or his partner need to know when entering or exiting their home. It displays indoor temperature and humidity, date, time, garbage collection schedule, currency exchange rates, whether the garage door is open or closed, the hot tub’s temperature, a check in for his kids, current weather data from a custom station [Dave] built outside his house, and the local forecast.
WIoT-2’s display is a Nextion TFT and the brains behind the operation is a NodeMCU 8266. He made extensive use of Blynk to handle monitoring of the various feeds, and will soon be integrating master control for all the networked outlets in the house into the system. He found setting up the hardware to be fairly clear-cut but notes that he cannot have the screen powered on when uploading sketches to the NodeMCU. He circumvented the problem by adding a latching switch to the screen’s power line.
[Dave] curated a robust explanation of his build that includes tips, tricks, code — and a how-to to boot! If you’re not already starting your own build of this info suite, you may be tantalized by some of his other projects.
Continue reading “Look Out Nest — Here Comes the WIoT-2”
Fire safety is drilled into us from a young age. And for good reason, too, because fire hazards are everywhere in the average home. Even a small fire can turn devastatingly dangerous in a matter of minutes. But how do you get kids to really pay attention to scary (and often boring) adult concepts? You can teach a kid to stop, drop, and roll until you’re blue in the face and still might not drive home the importance of fire prevention. Subjects like this call for child-sized visual aids that ignite imaginations.
That’s exactly what firefighters in Poznań, Poland did in collaboration with mlabs, a local software company. They built a mobile, interactive fire safety education tool that simulates common household fire hazards in great detail (translated). This is easily the most tricked-out dollhouse we’ve ever seen. The many different hazard scenarios are controlled via touchscreen using a custom-built application. At the tap of a button, the house becomes a total death trap. The lamp-lit hazards glow realistically and with varied intensity, and there is actual smoke coming out of them that triggers smoke detectors. Cameras embedded throughout the house provide a first-person view of the terror on a nearby monitor.
Almost no room is safe for the figurine family that lives inside this intricately detailed 1:12 scale dwelling. Dad’s in the kitchen standing idly by while food scorches on the stove. Grandma’s sitting on her bed upstairs, her forgotten cigarette burning a hole in the duvet. Daughter is overloading the electrical outlets in her bedroom with all her gizmos. Smoldering coals have spilled out from the toppled stove in the utility room.
This isn’t the first smart dollhouse we’ve seen, but it’s probably the most intriguing. The fire safety dollhouse was on display this week at POL-EKO-SYSTEM, an annual environmental fair in Poznań. Nowhere near Poland? Check out the video after the break.
Continue reading “Hazardous Dollhouse Teaches Fire Safety”