2015. 2. 6.

[Ambiency guide] 엠비언시 센서 필터(Filters) & 액츄에이터 인풋(Input) 사용하기!

 [Advanced features] 엠비언시 센서 필터(Filters) & 액츄에이터 인풋(Input) 사용하기! 


센서 앱과 액츄에이터 앱을 연결하여 자동화 규칙을 생성하는 엠비언시(Ambiency).
이 엠비언시 앱을 멋지고 유용하게 사용하기 위해선 조금의 연습이 필요해요.

그리고 우리 생활에서 불필요한 것들을 자동화하여 편하게 만들 수 있는 것들은 얼마든지 있지만,
구체적으로 실현하기 위해서는 꼭 배워야할 기능이 있습니다.

바로 '센서 앱 필터(Filters)' & '액츄에이터 앱 인풋(Input)' 기능입니다!



What is filter?


data -> information


필터는 우리가 기존에 엑셀 시트에서 찾고 싶은 정보들을 거르기 위해 필터를 하는 것과 똑같은 개념으로 생각하시면 되요!
많은 정보들 중 나에게 필요한 정보만 걸러서, 그 정보를 가지고 자동화 규칙을 만드는 것입니다!


"나에게 메일이 오면, 내 책상의 스탠드가 깜빡여라!"

이 룰의 경우 나에게 메일이 오는 환경에 맞춰 스탠드의 상태가 변하는 액션이 정해졌네요.
하지만 문제가 있습니다!

나에게 오는 스팸메일부터 중요하지 않은 메일까지 모두 알림을 준다는거죠!
이럴 때 필터를 사용해서 중요한 메일만 반응하여 스탠드를 깜빡거리게 할 수 있습니다.

1. 필터 선택



2. 필요한 필터값 채우기

* '보내는 이(sender)'가 "taehyun" 이라는 이름을 포함할 때,
* '메일 본문(message)'에 "meeting' 이라는 단어를 포함할 때,
이 두 가지 경우를 모두 만족할 때만 알람을 주게 만들었습니다!


자 이렇게 해서 센서 앱에 필터를 넣음으로써 구체적인 상황을 만들어 줬습니다!

자 그렇다면 이제 액츄에이터 앱에 '인풋(Input)' 사용법을 알아볼까요?


What is Input?


Use information


인풋(Input)은 센서 앱에서 받은 정보들을 사용하기 위한 과정이라고 할 수 있습니다!
물론 센서 앱에서 필요한 정보들을 필터링하여 받고 나서 꼭 액츄에이터 앱에서 받을 필요는 없습니다.
받지 못하는 액츄에이터 앱도 있을 것이구요.
아래와 같은 상황에서는 필요하겠죠?
"내 방의 웹캠에 움직임이 감지되면, 나에게 메일로 시간과 사진을 찍어서 보내라"

위와 같은 룰의 경우 웹캠에 움직임이 감지되는 환경에 맞춰 웹캠이 사진을 찍어 메일로 보내라는 액션이 정해졌네요.

이 경우 조심해야되는 경우가 있습니다!
받고 싶은 정보는 우선 센서 앱에서 걸러져서 오기 때문에, 센서의 Trigger에 따라 액츄에이터로 넘어오는 값이 달라질 수 있는 것이죠!

ex) Trigger : motion detected vs snapshot available

위와 같이 Trigger에 따라 사용할 수 있는 액츄에이터 input 정보가 다르네요!
그럼 하나씩 해보겠습니다.

1. 인풋 선택
녹색 체크박스를 체크하면 아래와 같이 액츄에이터 인풋(Actuator Input) 화면이 나옵니다.


2. 필요한 인풋 채우기

* 받는 이(Receivers)를 woojin@narantech.com 으로 설정
* 메일 제목(Subject)에 "Warning! motion detected!!"를 입력
* 첨부 파일(File)에 감지된 사물의 이미지를 첨부
* 첨푸 파일명(File Name)에 "my room.png" 를 입력
이렇게 해서 센서 앱으로부터 나온 정보들을 액츄에이터 인풋 값으로 입력해봤습니다.

결과를 한번 볼까요?


네 이렇게 해서 원하는 정보들을 활용하여 룰을 완성해봤습니다.
이렇게 조금만 신경을 쓴다면 자신에게 맞는 정말 유용한 자동화 룰을 만들 수 있습니다.

이렇게 만들어진 유용한 룰을 다른 사람들과도 공유해 보세요!
공유 방법은 아래의 포스팅에 나와있습니다! 참고하세요 :)
[Share rules] Getting started - how to share rules


물론 조금만 신경을 쓰는 것조차 귀찮으신 분들은 아래의 이미지를 공유할 수 있습니다!
(아래의 이미지를 다운 받거나, drag&drop 해보세요!)

2015. 1. 31.

[Quick & Dirty guide] Automation solution, Ambiency tutorial. Why not make your own rule?

[Quick & Dirty guide] Automation solution, Ambiency tutorial. Why not make your own rule?


“In a cold day like this, I wish the heater turns on itself when I get close to home." 
“When the office air quality is poor, I wish I could be notified and ventilate automatically."  
“When the page views of my website exceed certain point, I wish I could be notified."

With just a few clicks, my life at home, at office, and on online can be more comfortable with automation rules.

Learn how you can create rules with Ambiency by watching the video below.

(Activate subtitles!)

This video covers up to how you can create automation rules.
Check out guides for additional features in the future posts.

Ambiency features
1.  Create new rules
2. Timeline of Triggered rules
3. Edit existing rules
4. Share rules
  • 2 ways to share rules
    • make URL link
    • make PNG image file
    • rule images, created in PNG, can be shared on web or saved in disk
5. Import rules
  • 2 ways to import
    • copy URL
    • drag & drop PNG file

    This’s a very simple manual for Ambiency.
    Has 2 minutes been too short?
    Getting grasp of Ambiency doesn’t require much time.
    If you have any questions regarding Ambiency, do not hesitate to ask us any questions on PROTA Forum(http://forum.myprota.com).

    You’ve now grasped the idea of how to use Ambiency.
    What kind of convenience or efficiency will it bring to our lives?

    Find out more about Ambiency in the followings.

    2015. 1. 30.

    [PROTA] Automation in IoT

     [PROTA] Automation in IoT 


    Who are some of the trendsetters in the field of internet of Things?


    You may be familiar with them.


     They aren’t something new. They’ve been around for some years now.

    What is IFTTT?
    IFTTT is a website that provides service integration of web services and internet-connected products that provide open APIs.
    IFTTT stands for If This, Then That!
    If this happens, do that.

    For instance,
    as you can see from above,
    This = photo is uploaded on Instagram
    That = save to Dropbox
    This becomes an automation rule, and they call it a recipe.
    Users mix and match services to their taste to create recipes.

    IFTTT provides over 150 channels for recipes. (based on 2014. 12)

    What is Zapier?
    Zapier is a web service that provides integration of open APIs.
    With over 400 APIs, it provides rich experience to its users in automation.
    As they word it, an automation is a Zap.
    By selecting an API that would trigger and an API that would take an action as a result, a Zap will be created. It may be more complex than IFTTT but it gives user more freedom of choices that helps businesses manage more efficiently.

    Why the spotlight on the two: IFTTT and Zapier?
    Even before the excitement of IoT, automation platform has been around.
    However, the reasons for the big change in people’s attitude is because of the followings.

    1. Open APIs
    2. End-user automation
    3. The internet

    Open APIs
    Internet of Things is all about connectivity. In other words, isolation will not get any one far. There’ll be more than billions of connections, and collaboration will be the only way to get far and become great. That’s why everyone started opening up.


    By integrating services, developers can build faster with less effort. Moreover, as a consequence of integration, more values can be provided to the end users that wouldn’t have been possible before. IFTTT and Zapier are exemplary services that make great uses of integration.

    End-user Automation
    Increase of the number of open APIs brings bigger possibilities but at the same time more confusion to ordinary users. IFTTT and Zapier wanted to solve this by letting users make the choices of the integration. What was possible with programming before can be done by ordinary users just by following logical steps with their mouse. With the tool in the hands of many, more can be achieved and more creative the automation experience will become.

    The Internet
    Internet brought richness to services and influenced how people lead their lives including the internet technology itself. Due to rapid mobile adaptation, internet has become everyday channel to most people worldwide and accelerated the world of connectedness. Internet of Things did not appear out of the blue. It’s destined to connect the world of physical and virtual things and help people lead quality life by integrating what wasn’t possible before. IFTTT and Zapier were the kind of services that aim to achieve this value.


    What about us?
    PROTA is a smart hub in the physical world that controls and monitors tactile things including IoT products. PROTA makes use of data from physical gadgets like sensors that check the CO2 level of local space that is hard to attain in the virtual services. PROTA bridges both on and offline environments, and it's the automation app, Ambiency that makes it possible.

    If you'd like to know more, please visit our homepage.

    For a brief recap of Ambiency, please check below.

    How is it different?
    Ambiency is a rule-based, automation app for PROTA.
    It runs on one’s own machine that each user owns, keeping private data safe and not on some distant servers.