I made the simple bot with azure, obniz, ngrok and LINE. I have not developed IoT System.
This is very simple system that the bot send the temperature in my room :)
I talk about this slide at the following event.(I made this system and slide for the event.)
https://try-english-lt.connpass.com/event/191090/#feed
# Obniz
https://obniz.com/
# ngrok
https://ngrok.com/
# Azure Bot Service
https://azure.microsoft.com/ja-jp/services/bot-service/
2. Self-Introduction: Minoru
• Support Engineer in Shinagawa
• 1st year of new graduate
• Web Application(On-pre & Cloud)
• Hobby
• Anime
• Acoustic guitar
• Music Live
• Interested Technologies
• Bot
• Front-end(beginner)
Not good at English..
3. What I made: IoT LINE Bot
• What it can do: Simple temperature bot
• Reply message(message response to my message)
• Proactive message(message without any action in LINE)
• Services I used
• Obniz
• Azure Bot Service
• Ngrok
4. What is obniz ?
Simple IoT Kit
• SDK : node.js, Python, HTML, Block
Programing.
• Connect to the local program with Wi-Fi
• No cable!
• There are some samples in official site.
Temperature
Sensor
Button
5. What is Azure Bot Service?
• It supports some channels(Client App)
• We don’t need to think about configuration
• It supports Bot Framework and there are many samples on GitHub
• C#, Python, Node.js(JavaScript & TypeScript), Java(Preview)
5
The Service that helps us : We can develop Chat Bot faster and more simple
6. ngrok
Connect local server to public (temporary)
• Test the web service
• When application depends on specific client application
• I must run bot server in local on this case.
• Obniz program must be run in local machine(As long as I know)
7. Demo Movie
• Reply (I sent Message in LINE)
• Bot send “ReplyTemperature---: temp”.
• I did twice.
• Proactive Message
(I pushed obniz button)
• Bot send “Proactive Temperature: temp”.
• I did twice.
Obniz
LINE App
8. Summary
The services
• Azure Bot Service
• We can focus to develop by
configuration function.
• Obniz
• I could try IoT system.
• Ngrok
• We can debug the bot.
What I learned from this experience.
• Simple IoT
• Global IP (Sending request from
cloud to local server)