Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
我が家の便利サービス「赤ちゃんプッシュ」のご紹介/Baby Push
Search
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
340
Value of NFTs on Flow / NFTの価値を高める試み on Flow
avcdsld
0
200
Flow Dapps Dev / Flow ブロックチェーン Dapps 開発
avcdsld
0
200
実録 Medalla Testnet Validator / Real Story of Medalla Testnet Validator
avcdsld
0
160
LINE Blockchain について/LINE Blockchain Overview
avcdsld
0
150
VR 空間で NFT を扱う方法を考える/VR x NFT
avcdsld
0
270
NFT Standards vol.1 様々なブロックチェーンのNFTを調査・比較してみる/NFT Standards vol.1
avcdsld
0
250
ブラウザで利用できる最近のEthereumウォレットの概要とインテグレーション方法/Recent Ethereum wallets and how to integrate
avcdsld
0
150
Ethereumにおける最近のメタトランザクションの動向/Ethereum MetaTransaction Trends
avcdsld
0
830
Other Decks in Technology
See All in Technology
私の推しは「聞いてから進む」AIです -AI-DLCに一人でアプリを作らせた話
yama3133
1
160
Apache Iceberg が拓く AI 時代のオープンレイクハウス
tomtanaka
0
210
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
300
1人アドミンな私はAWSアカウント申請をSlackで完結したい!
ysuzuki
0
110
The kernel report
ennael
PRO
1
200
行動するAIのためのオントロジー | DevRev — Encraft #26.pdf
dvrv_tknrszk
2
670
20260930_Gemma4_Hands-on
tsho
0
210
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
sanghyuk
0
260
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
320
HacobuにおけるFDEとは/登壇資料(戸井田 裕貴)
hacobu
PRO
1
710
Databricksメトリクスビューはじめてのもくもく会
taka_aki
0
160
猫でもわかるKiro Web
kentapapa
1
160
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
350
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
440
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Optimising Largest Contentful Paint
csswizardry
37
4k
Designing for Timeless Needs
cassininazir
1
510
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Documentation Writing (for coders)
carmenintech
77
5.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
30 Presentation Tips
portentint
PRO
1
410
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デバイス。 市販の哺乳瓶を、水洗い可能なシリコン製の専用デバイ スを装着して使う。