我的浴室镜子比你的聪明

重点 (Top highlight)

Sometime late last year I realized that I wanted my ordinary bathroom mirror to be more like the future we were promised in the movies.

小号 ometime去年年底,我意识到,我希望我的普通浴室镜更像今后我们承诺在电影中

There doesn’t seem to be anyone selling the product I was looking for. The individual parts, however, were fairly easy to get. A number of people have done similar custom builds recently, but I had something different in mind.

似乎没有人出售我想要的产品。 但是,各个部分都非常容易获得。 最近 ,许多人都进行了类似的 自定义 构建 ,但是我的想法有所不同。

So I ordered myself a two-way mirror, a display panel and controller board, plus a bunch of components and arts & crafts supplies. In reality there was quite a bit of experimentation and some dead ends before I got to this set of parts, but let’s have a look at the finished — yet by no means final—result:

因此,我为自己订购了两面镜显示屏控制器板 ,以及一堆组件手Craft.io品 。 实际上,在我接触到这部分零件之前,已经进行了大量的实验和一些死胡同,但是让我们看一下完成的结果,但绝不是最终的结果:

Welcome to my bathroom. Please excuse the carefully arranged mess around the medicine cabinet and its pristine mirror surface.

欢迎来到我的浴室。 请原谅药柜及其原始镜面周围精心安排的混乱情况。

To the right of where my face would be we have the time and date. To the left is the current weather and a 24-hour forecast. Below are some recent news headlines. Here’s a close-up of that area:

在我所面对的位置的右​​边,我们有时间和日期。 左边是当前天气和24小时预报。 以下是一些近期新闻头条。 这是该区域的特写:

我的浴室镜子比你的聪明

Unless the weather is cloudy, there will be a little color in the UI, but for the most part the text and icons are monochrome to prevent them from being too distracting.

除非天气多云,否则用户界面中的颜色将很少,但是在大多数情况下,文本和图标是单色的,以免过于分散注意力。

The code behind this UI uses some simple Android APIs (e.g. this one is neat) plus Forecast for the weather and the Associated Press for news.

该UI背后的代码使用一些简单的Android API(例如, 这个 API很简洁)加上Weather的Forecast美联社的新闻。

Other concepts I’m playing with are traffic, reminders, and essentially anything that has a Google Now card. The idea is that you don’t need to interact with this UI. Instead, it updates automatically and there’s an open-ended voice search interface for anything else.

我正在使用的其他概念包括流量,提醒和基本上所有带有Google即时贴的内容 。 这个想法是您不需要与此UI进行交互。 相反,它会自动更新,并且有一个开放式语音搜索界面可用于其他任何内容。

我的浴室镜子比你的聪明

The display is only a couple of millimeters thin and embedded in a layer between the two-way mirror glass and the door of the medicine cabinet. That way it looks very clean and I can keep using all the shelf space inside. Here’s the open door at an angle and viewed edge-on:

显示器只有几毫米厚,并且嵌入在双向镜玻璃和药品柜门之间的一层中。 这样,它看起来非常干净,我可以继续使用内部的所有搁板空间。 这是一扇打开的门,有一个角度,可以边看边看:

我的浴室镜子比你的聪明
我的浴室镜子比你的聪明

This prototype is still a work in progress and I haven’t spent much time on the software yet. The UI above is only a few hundred lines of code and I’m experimenting with different devices to run it—initially Chromecast, then Nexus Player, and most recently Fire TV Stick.

该原型仍在开发中,我还没有花很多时间在软件上。 上面的用户界面只有几百行代码,我正在尝试使用不同的设备来运行它-最初是Chromecast ,然后是Nexus Player ,最后是Fire TV Stick

That means until I settle on a platform and clean up the electronics it does look a little bit messy when you peek inside:

这意味着,在我进入一个平台并清理电子设备之前,当您窥视内部时,它看上去确实有些混乱:

我的浴室镜子比你的聪明

And that’s where I am with this project so far. Looking forward to realizing some of the remaining ideas. Maybe I’ll post a more detailed making-of with the pictures I took during the build.

到目前为止,这就是我在这个项目中所做的事情。 期待实现剩余的一些想法。 也许我会用构建过程中拍摄的照片发布更详细的内容。

我的浴室镜子比你的聪明

Update! Read the follow-up here.

更新! 此处 阅读后续内容

翻译自: https://onezero.medium.com/my-bathroom-mirror-is-smarter-than-yours-94b21c6671ba