home-assistant.io/source/_components/ifttt.manything.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

2.4 KiB

layout title description date sidebar comments sharing footer logo ha_category
page ManyThing Instructions on how to setup ManyThing support with IFTTT. 2015-09-07 18:00 true false true true manything.png Camera

Manything is a smart app that turns your Android device, iPhone, iPod, or iPad into a WiFi camera for monitoring your home, your pets, anything! Comes with live streaming, motion activated alerts, cloud video recording, and more.

To get manything support, HA will use IFTTT's Maker Channel and the ManyThing Channel. Use the IFTTT Setup instructions to activate the IFTTT Platform.

After setting up IFTTT, Maker Channel and ManyThing Channel, you can use the following examples to configure Home Assistant.

# Example configuration.yaml entry
automation:
  - alias: 'ManyThing Recording ON'
    # This calls an IFTTT recipe to turn on recording of the ManyThing Camera
    # if we leave the house during the day.
    trigger:
      - platform: state
        entity_id: group.all_devices
        to: 'not_home'
    condition:
      - platform: state
        entity_id: sun.sun
        state: 'above_horizon'
    action:
      service: ifttt.trigger
      data: {"event":"manything_on"}

  - alias: 'ManyThing Recording OFF'
    # This calls an IFTTT recipe to turn off recording of the ManyThing Camera
    # when we get home unless it's nighttime.
    trigger:
      - platform: state
        entity_id: group.all_devices
        to: 'home'
    condition:
      - condition: state
        entity_id: sun.sun
        state: 'above_horizon'
    action:
      service: ifttt.trigger
      data: {"event":"manything_off"}

{% linkable_title Setting up a recipe %}

You need to setup a unique trigger for each event you sent to IFTTT. For ManyThing support, you need to set up an `on` and `off` event.

{% linkable_title Testing your trigger %}

You can use the developer tools to test your Maker Channel trigger. To do this, open the Home Assistant UI, open the sidebar, click on the first icon in the developer tools. This should get you to the 'Call Service' screen. Fill in the following values:

Field Value
domain ifttt
service trigger
Service Data {"event": "manything_on"}