I was wondering how to create a sensor to retrieve data from IFTTT?
What kind of sensor do I have to create? And how to setup?
So I need a little help for defining that in my sensors.yaml file…
platform: ???
name: my sensor name
???
???
The part of IFTTT I understand, but not yet the part in home assistent.
However, like above, it will send it to a sensor…
So in that case, a sensor need to exist to receive that command…
My question is, what kind of sensor do I need to create to receive to receive the value of the state… There are a lot of sensors, like http sensor, template sensor, command line sensor…
Which sensor can be use to get his data from outside?
And how do I need to setup that sensor in my Home Assistent?
This is so cool. Can I suggest that you do a quick write up on this for the “Share Your Projects” section? I think a lot of folks would benefit from it!
Cool! Is there anyway to get the sensor to switch back to an off state after a period of time? I’d like to use this to create an automation that turns on the porch light to scare away deer eating my plants in the middle of the night. Ultimately it I want to also turn on the sprinkler when they show up as well.
I then have an automation script which calls this script whenever the state changes to on/pushed (after a 5 second delay), this means that the sensor is reset back to an off state
hide_entity: True
trigger:
platform: state
entity_id: sensor.ring_doorbell_ring
to: 'pushed'
action:
service: shell_command.ring_reset```