Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
我が家の便利サービス「赤ちゃんプッシュ」のご紹介/Baby Push
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ara
January 26, 2018
Technology
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
我が家の便利サービス「赤ちゃんプッシュ」のご紹介/Baby Push
Ara
January 26, 2018
More Decks by Ara
See All by Ara
NFT Baseball Game | 第2回ゆるNFTオンラインハッカソン!
avcdsld
0
330
Value of NFTs on Flow / NFTの価値を高める試み on Flow
avcdsld
0
180
Flow Dapps Dev / Flow ブロックチェーン Dapps 開発
avcdsld
0
190
実録 Medalla Testnet Validator / Real Story of Medalla Testnet Validator
avcdsld
0
150
LINE Blockchain について/LINE Blockchain Overview
avcdsld
0
120
VR 空間で NFT を扱う方法を考える/VR x NFT
avcdsld
0
260
NFT Standards vol.1 様々なブロックチェーンのNFTを調査・比較してみる/NFT Standards vol.1
avcdsld
0
240
ブラウザで利用できる最近のEthereumウォレットの概要とインテグレーション方法/Recent Ethereum wallets and how to integrate
avcdsld
0
140
Ethereumにおける最近のメタトランザクションの動向/Ethereum MetaTransaction Trends
avcdsld
0
810
Other Decks in Technology
See All in Technology
Lightning近況報告
kozy4324
0
220
ロボティクスの技術 / Robotics Technology
ks91
PRO
0
130
技術・能力を向上する原理原則 #きのこセッションa #きのこ2026
bash0c7
0
120
BPaaSで進むAIオペレーションの現在地 AI実装が効く領域とスケーラビリティの選定と実装
kentarofujii
0
150
本当の”仕事”を手放せる未来が見えた
mu7889yoon
0
110
Oracle Cloud Infrastructure:2026年6月度サービス・アップデート
oracle4engineer
PRO
0
290
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
180
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
10
2.5k
40代で“やっとエンジニアになれた”――閉じた学びを開き、空の青さを知る / 20260628 Naoki Takahashi
shift_evolve
PRO
4
830
現場のトークンマネジメント
dak2
1
190
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
1
1.8k
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
170
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
360
Google's AI Overviews - The New Search
badams
0
1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Side Projects
sachag
455
43k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
430
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
Ruling the World: When Life Gets Gamed
codingconduct
0
260
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Transcript
我が家の便利サービス 「赤ちゃんプッシュ」のご紹介 2018-01-26 avcdsld
• 2017年 夏、子供が生まれました • 2ヶ月半、育休とりました • 育休中、育児に便利なサービスを作りました(家内限定) ※けっして、暇だったわけでも 育児してなかったわけでもありません はじめに
授乳・尿・便 の時間を、手書きで記録 これまでの課題 次のミルク、何時だっけ … 3時間後だから…えーと…(毎回) しまった!かなり時間たってた! 記入表はどこ?ペンはどこ? 夜中、暗くて見えない …
書くのめんどい… ミルクあげながら書けない …
そこで・・・
「赤ちゃんプッシュ」 の概要 ・「起きた」「ミルク」「おしっこ」「うんち」 の時間を、ボタンを押して記録 ・ 次のミルク(3時間後)にスマホ通知 ・ 眠らせる時間(起きてから90分後 *)にスマホ通知
* NAPSメソッド。参考書籍:https://www.amazon.co.jp/dp/4537214201
システム構成 Alexa Skill
「アレクサ、ベビータイマーで次のミルク時間を教えて?」 「次のミルクは9時20分です。あと2時間26分です。」 アレクサに次のミルク時間を教えてもらう このほか、ボタンを押すこともできる 「ミルクボタンを押して」 「起きたボタンを押して」 「おしっこボタンを押して」 「うんちボタンを押して」
利用者の声 次のミルクの時間がパッとわかって助かる! ミルクの時間がいつも正確!体調管理もバッチリ! 会社にいても状況がわかって安心! 情報共有できるから、いっしょに育児してる一体感! 声で操作できるから、手が塞がっていても大丈夫! いつでもどこでも記録がつけられる!つけ忘れがない!
• Amazon アプリで途中までセットアップして、 商品を紐づけない(Wi-Fi 設定まで終わった状態にする) • Wi-Fi ネットワーク内にサーバーを立てて、 Dash ボタンからの
ARP 要求を拾ってトリガーにする • 注記:最近、Dash ボタンの仕様が変わったらしく、注文に失敗す ると 2分後とかに再度 ARP 要求がくる • 参考 Python コード: https://gist.github.com/mr-pj/75297864abef5c8f2d5c134b e2656023#file-dashbutton-py Amazon Dash ボタンを、IoT ボタンとして使う方法 参考:https://qiita.com/dkawashi/items/e6621c4b712b509c73ec など
• Amazon Developper 登録 https://developer.amazon.com • 開発者コンソール > ALEXA の
Alexa Skills Kit [始める] をクリック • 新しいスキルを追加する ◦ スキルの種類:カスタム対話モデル ◦ インテントスキーマ: "GetMilkTimeIntent" など任意の名前を、処理の数だけ定義 ◦ サンプル発話:”GetMilkTimeIntent 次のミルクは” などインテントとその発話を幾つか書く • AWS Lambda の作成とテスト ◦ 設計図:alexa-skill-kit-sdk-triviaskill など ◦ ランタイム:Node.js 6.10 など ◦ トリガー:Alexa Skills Kit ◦ alexa-sdk を使ったハンドラー登録の引数 handler に、”GetMilkTimeIntent” と関数を書く • Lambda の ARN をスキルに紐付ける → 実機でそのまま動作可能 Alexa Skill の開発方法(おおまかに) 参考:https://developer.amazon.com/ja/blogs/alexa/post/6e716e5c-55b0-445b-b936-9cfac4712e7b/training-1
{ "intents": [ { "intent": "PushMilkButtonIntent" }, { "intent": "PushWakeupButtonIntent"
}, { "intent": "PushPooButtonIntent" }, { "intent": "PushPeeButtonIntent" }, { "intent": "GetMilkTimeIntent" }, { "intent": "GetMoodIntent" }, { "intent": "AMAZON.HelpIntent" }, { "intent": "AMAZON.StopIntent" }, { "intent": "AMAZON.CancelIntent" } ]} 参考:https://developer.amazon.com/ja/blogs/alexa/post/6e716e5c-55b0-445b-b936-9cfac4712e7b/training-1 インテントスキーマ サンプル発話 const Alexa = require('alexa-sdk'); exports.handler = function(event, context, callback) { var alexa = Alexa.handler(event, context); // Alexa SDK のインスタンス生成 alexa.registerHandlers(handlers); // ハンドラの登録 alexa.execute(); // インスタンスの実行 }; : var handlers = { : 'GetMilkTimeIntent': function () { var message = getMilkTimeMessage(); // ミルク時間のメッセージ取得処理 self.emit(':tell', message); } } PushMilkButtonIntent ミルクボタンを押して PushWakeupButtonIntent 起きたボタンを押して PushPooButtonIntent うんちボタンを押して PushPeeButtonIntent おしっこボタンを押して GetMilkTimeIntent 次のミルクは GetMilkTimeIntent ミルクの時間は GetMilkTimeIntent ミルクの時間を教えて GetMoodIntent 機嫌は GetMoodIntent 機嫌を教えて { "name": "babypushecho", "version": "1.0.0", "private": true, "dependencies": { "alexa-sdk": "^1.0.10" } } index.js package.js
• https://github.com/avcdsld/BabyPush ボタンのデザインも PDF で公開してます。ご参考まで。 https://github.com/avcdsld/BabyPush/blob/master/button_design.pdf ソースコード
最近、ベビーTechが熱い!? https://www.businessinsider.jp/post-160121 赤ちゃんが飲んだミルクの量や時間、温度などをリアルタ イムにスマートフォンアプリに記録するIoTデバイス。 市販の哺乳瓶を、水洗い可能なシリコン製の専用デバイ スを装着して使う。