Merge pull request #11901 from Lintaov587/master

申领原文
This commit is contained in:
Xingyu.Wang 2019-01-04 20:58:29 +08:00 committed by GitHub
commit 4772fc2bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 133 additions and 135 deletions

View File

@ -1,135 +0,0 @@
How to create a free baby monitoring system with Gonimo
======
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/baby.png?itok=7jyDs9vE)
New and expecting parents quickly learn that there is a long--and expensive--list of equipment that a new baby needs. High on that list is a baby monitor, so they can keep an eye (and an ear) on their infant while they're doing other things. But this is one piece of equipment that doesn't have to eat into your baby fund; Gonimo is a free and open source solution that turns existing devices into a baby monitoring system, freeing up some of your baby budget for any of the thousands of other must-have or trendy items lining the aisles of the nearby big-box baby store.
Gonimo was born when its developer, an open source fan, had twins and found problems with the existing options:
* Status-quo hardware baby monitors are expensive, have limited range, and require you to carry extra devices.
* There are mobile monitoring apps, but most of the existing iOS/Android baby monitoring apps are unreliable and unsecure, with no obvious open source product in sight.
* If you have two young children (e.g., twins), you'll need two monitors, doubling your costs.
Gonimo was created as an open source solution to the shortcomings of typical monitors:
* Expensive? Nope, it is free!
* Limited range? No, it works with internet/WiFi, wherever you are.
* Download and install apps? Uh-uh, it works in your existing web browser.
* Buy new devices? No way, you can use any laptop, mobile phone, or tablet with a web browser and a microphone and/or camera.
(Note: Apple iOS devices are unfortunately not yet supported, but that's expected to change very soon--read on for how you can help make that happen.)
### Get started
Transforming your devices into a baby monitor is easy. From your device's browser (ideally Chrome), visit [gonimo.com][1] and click Start baby monitor to get to the web app.
1. **Create family:** On the first-time startup screen, you will see a cute rabbit running on the globe. This is where you create a new family. Hit the **+** button and either accept the randomly generated family name or type in your own choice.
![Start screen][3]
Create a new family from the start screen
1. **Invite devices:** After you've set up your family, the next screen directs you to invite another device to join your Gonimo family. There is a one-time invitation link that you can directly send via email or copy and paste into a message. From the other device, simply open the link and accept the invitation. Repeat this process for any other devices you'd like to invite to your family. Your devices are now in the same family, ready to cooperate as a fully working baby monitor system.
![Invite screen][5]
Invite family members
1. **Start baby station stream:** Next, choose which device will stream the baby's audio and video to the parent station by going to the [Gonimo home screen][6], clicking on the button with the pacifier, and giving the web browser permission to access the device's microphone and camera. Adjust the camera to point at your baby's bed, or turn it off to save device battery (audio will still be streamed). Hit Start. The stream is now active.
![Select baby station][8]
Select the baby station
![Press Start][10]
Press Start to stream video.
1. **Connect to parent station stream:** To view the baby station stream, go to another device in your Gonimo family --this is the parent station. Hit the "parent" button on the Gonimo home screen. You will see a list of all the devices in the family; next to the one with the active baby station will be a pulsing Connect button. Select Connect, and you can see and hear your baby over a peer-to-peer audio/video stream. A volume bar provides visualization for the transmitted audio stream.
![Select parent station][12]
Select parent station
![Press Connect][14]
Press Connect to start viewing the baby stream.
1. **Congratulations!** You have successfully transformed your devices into a baby monitor directly over a web browser without downloading or installing any apps!
For more information and detailed descriptions about renaming devices, removing devices from a family, or deleting a family, check out the [video tutorial][15] at gonimo.com.
### Flexibility of the family system
One of Gonimo's strengths is its family-based system, which offers enormous flexibility for different kinds of situations that aren't available even in commercial Android or iOS apps. To dive into these features, let's assume that you have created a family that consists of three devices.
* **Multi-baby:** What if you want to keep an eye on your two young children who sleep in separate rooms? Put a device in each child's room and set them as baby stations. The third device will act as the parent station, on which you can connect to both streams and see your toddlers via split screen. You can even extend this use case to more than two baby stations by inviting more devices to your family and setting them up as baby stations. As soon as your parent station is connected to the first baby station, return to the Device Overview screen by clicking the back arrow in the top left corner. Now you can connect to the second (and, in turn, the third, and fourth, and fifth, and so on) device, and the split screen will be established automatically. Voila!
* **Multi-parent:** What if daddy wants to watch the children while he's at work? Just invite a fourth device (e.g., his office PC) to the family and set it up as a parent station. Both parents can check in on their children simultaneously from their own devices, even independently choosing to which stream(s) they wish to connect.
* **Multi-family:** A single device can also be part of several families. This is very useful when your baby station is something that's always with you, such as a tablet, and you frequently visit relatives or friends. Create another family for "Granny's house" or "Uncle John's house," which consists of your baby station device paired with Granny's or Uncle John's devices. You can switch the baby station device among those families, whenever you want, from the baby station device's Gonimo home screen.
### Want to participate?
The Gonimo team loves open source. Code from the community, for the community. Gonimo's users are very important to us, but they are only one part of the Gonimo story. Creative brains behind the scenes are the key to creating a great baby monitor experience.
Currently we especially need help from people who are willing to be iOS 11 testers, as Apple's support of WebRTC in iOS 11 means we will finally be able to support iOS devices. If you can, please help us realize this awesome milestone.
If you know Haskell or want to learn it, you can check out [our code at GitHub][16]. Pull requests, code reviews, and issues are all welcome.
And, finally, please help by spreading the word to new parents and the open source world that the Gonimo baby monitor is simple to use and already in your pocket.
### About The Author
Robert Klotzner;I Am Father Of Twins;A Programmer. Once I Heard That Ordinary People Can Actually Program Computers;I Bought A Page Book About C;Started Learning;I Was Fifteen Back Then. I Sticked With C;For Quite A While;Learned Java;Went Back To C
--------------------------------------------------------------------------------
via: https://opensource.com/article/17/9/gonimo
作者:[Robert Klotzner][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/robert-klotzner
[1]:https://gonimo.com/
[2]:/file/371256
[3]:https://opensource.com/sites/default/files/u128651/start-screen.png (Start screen)
[4]:/file/371236
[5]:https://opensource.com/sites/default/files/u128651/invite-screen.png (Invite screen)
[6]:https://app.gonimo.com/
[7]:/file/371231
[8]:https://opensource.com/sites/default/files/u128651/baby-select.png (Select baby station)
[9]:/file/371226
[10]:https://opensource.com/sites/default/files/u128651/baby-screen.png (Press Start)
[11]:/file/371251
[12]:https://opensource.com/sites/default/files/u128651/parent-select.png (Select parent station)
[13]:/file/371241
[14]:https://opensource.com/sites/default/files/u128651/parent-screen.png (Press Connect)
[15]:https://gonimo.com/index.php#intro
[16]:https://github.com/gonimo/gonimo

View File

@ -0,0 +1,133 @@
如何用Gonimo创建一个免费的婴儿监视系统
======
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/baby.png?itok=7jyDs9vE)
新父母和准父母很快就会知道将会有一个长且昂贵的新生儿所需设备的清单清单中的首位是一个婴儿监视器借此他们可以在做其他事情时照看自己的婴儿但这儿有一件不必消耗你的婴儿经费的设备Gonimo 是一个可以将现有的设备转换成婴儿监控系统的免费的开源解决方案,为附近大型婴儿用品商店的过道中数以千计的其他必备或时尚物品中的任何一个腾出一些婴儿的预算。
Gonimo诞生时它的开发者一个有双胞胎的开源粉丝发现现有选择存在问题:
* 现有硬件婴儿监视器价格昂贵,范围有限,需要您携带额外的设备。
* 虽然有移动监控应用程序但大多数现有的iOS / Android婴儿监控应用程序都不可靠且不安全没有明显的开源产品。
* 如果您有两个小孩(例如双胞胎),您将需要两台监视器,使您的成本翻倍。
Gonimo是作为一个典型监视器缺点的开源解决方案而创建的
* 昂贵? 不,它是免费的!
* 范围有限? 不,它适用于互联网/ WiFi无论您身在何处。
* 下载并安装应用程序? 噢不,它适用于您现有的网络浏览器。
* 购买新设备? 不用,你可以使用任何笔记本电脑,手机或平板电脑与网络浏览器和麦克风和/或相机。
注意遗憾的是Apple iOS设备尚不支持但预计很快就会发生变化 - 请继续阅读,了解如何帮助实现这一目标。)
### 开始
将您的设备转换为婴儿监视器很容易。 从您设备的浏览器理想情况下为Chrome访问 [gonimo.com] [1]并单击启动婴儿监视器以访问Web应用程序。
1. **创建家庭:** 在第一次启动屏幕上,你会看到一只可爱的兔子在地球上奔跑。 这是您创建新家庭的地方。 单击 **+** 按钮并接受随机生成的姓氏或键入您自己的选择。
![Start screen][3]
从开始屏幕创建一个新家庭
1. **邀请设备:** 建立完家庭以后下个屏幕将指示您邀请其他设备加入你的Gonimo家庭。您可以通过电子邮件直接发送一次性邀请链接也可以将其复制并粘贴到邮件中。对其他设备只需打开链接并接受邀请。对您要邀请的任何其他设备重复此过程。 您的设备现在属于同一家庭,可以作为一个完全正常工作的婴儿监视器系统进行配合。
![Invite screen][5]
邀请家庭成员
1. **启动婴儿工作站流:** 接下来,通过转到 [Gonimo home screen][6],点击带有奶嘴的按钮,并允许网络浏览器访问设备的麦克风和摄像头,选择将婴儿的音频和视频流式传输到父母的设备。 调整相机以指向宝宝的床,或关闭它以节省设备电池(音频仍将流式传输)。 点击开始。 该流现在处于活动状态。
![Select baby station][8]
选择婴儿站
![Press Start][10]
按“Start”开始以流式传输视频
1. **连接到双亲站流:** 要查看婴儿站流请转到Gonimo家族中的其他设备 - 这是双亲站。 点击Gonimo主屏幕上的“Parent”按钮。 您将看到该系列中所有设备的列表; 旁边有一个活跃的婴儿站将是一个短时连接按钮。 选择连接,您可以通过点对点音频/视频流看到和听到您的宝宝。 音量条为传输的音频流提供可视化。
![Select parent station][12]
选择双亲站
![Press Connect][14]
按下“Connect”开始观看婴儿流。
1. **恭喜!** 您已成功将设备直接通过网络浏览器转换为婴儿监视器,无需下载或安装任何应用程序!
有关重命名设备,从系列中删除设备或删除系列的详细信息和详细说明,请查看 [video tutorial][15] 在 gonimo.com。
### 家庭系统的灵活性
Gonimo的优势之一是其基于家庭的系统它为即使在商业Android或iOS应用中也无法提供的各种情况提供了极大的灵活性。 要深入了解这些功能,我们假设您创建了一个由三个设备组成的系列。
* **多婴儿:** 如果你想留意你在两个不同房间睡觉的两个小孩怎么办? 将设备放在每个孩子的房间,并将其设置为婴儿站。 第三个设备将充当双亲站,您可以在其上连接到两个流并通过分屏查看您的幼儿。 您甚至可以通过向家人提供更多设备并将其设置为婴儿站来将此用例扩展到两个以上的婴儿站。 只要您的父母站连接到第一个婴儿站,请单击左上角的后退箭头返回“设备概述”屏幕。 现在您可以连接到第二个(以及依次为第三个,第四个,第五个和第五个等)设备,并自动建立分屏。酷!
* **多亲:** 如果爸爸想在他上班的时候看孩子怎么办? 只需邀请第四个设备例如他的办公室PC到家庭并将其设置为父母站。 父母双方都可以通过他们自己的设备同时检查他们的孩子,甚至可以独立地选择他们希望连接的孩子。
* **多户:** 单个设备也可以是几个系列的一部分。 当您的婴儿站与您一起时,如平板电脑,您经常访问亲戚或朋友时,这非常有用。 为“奶奶的房子”或“约翰叔叔的房子”创建另一个家庭其中包括您的婴儿站设备与Granny's或Uncle John的设备配对。 您可以随时通过婴儿站设备的Gonimo主屏幕在这些家庭中切换婴儿站设备。
### 想要参加吗?
Gonimo团队喜欢开源。 社区代码,社区代码。 Gonimo的用户对我们非常重要但它们只是Gonimo故事的一部分。 幕后有创意的大脑是创造出色婴儿监视器体验的关键。
目前我们特别需要那些愿意成为iOS 11测试者的人的帮助因为Apple在iOS 11中对WebRTC的支持意味着我们最终将能够支持iOS设备。 如果可以,请帮助我们实现这个令人敬畏的里程碑。
如果您了解Haskell或想要了解它您可以查看 [our code at GitHub][16]. 欢迎拉取请求,审查代码以及提出问题。
最后请通过向新父母和开源世界宣传Gonimo婴儿监视器是易于使用并且便携的。
### 关于作者
Robert Klotzner;我是双胞胎的父亲;一个程序员。当我听到普通人可以给计算机编程时我买了一本关于C的书页开始学习我当时十五岁。我坚持用C相当长的一段时间学习了java回归到C
--------------------------------------------------------------------------------
via: https://opensource.com/article/17/9/gonimo
作者:[Robert Klotzner][a]
译者:[lintaov587](https://github.com/lintaov587)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/robert-klotzner
[1]:https://gonimo.com/
[2]:/file/371256
[3]:https://opensource.com/sites/default/files/u128651/start-screen.png (Start screen)
[4]:/file/371236
[5]:https://opensource.com/sites/default/files/u128651/invite-screen.png (Invite screen)
[6]:https://app.gonimo.com/
[7]:/file/371231
[8]:https://opensource.com/sites/default/files/u128651/baby-select.png (Select baby station)
[9]:/file/371226
[10]:https://opensource.com/sites/default/files/u128651/baby-screen.png (Press Start)
[11]:/file/371251
[12]:https://opensource.com/sites/default/files/u128651/parent-select.png (Select parent station)
[13]:/file/371241
[14]:https://opensource.com/sites/default/files/u128651/parent-screen.png (Press Connect)
[15]:https://gonimo.com/index.php#intro
[16]:https://github.com/gonimo/gonimo