Help me http sensor IFTTT google calendar
Hello.
Im new to IFTTT and been testing some integration with google calendar of mine.
A http sensor was created and gived me two adresses, one for activate the sensor and one to deactivate:
Short versions.
https://my.zipato.com/zipato-web/remoting/attribute/set........................state=true
https://my.zipato.com/zipato-web/remoting/attribute/set........................state=false
When i googled guides for this all of them told me i would get a http adress that ended with 1 or 0, but mine ends with true or false?
Anyway i connected my google calendar with the Maker at IFTTT. And when a calendar event starts IFTTT/Maker visits that web adress - the http sensor turns active and the rule trigger starts.
BUT i dont know how to fix the httpsensor/IFTTT so it deactivates when the google calendar event ends?
The "Google calendar" channel only offers the start event of a date in a connected calendar. So you have to define to dates for your holiday.
1.1. Start holiday: name = "Start"
1.2. End holiday: name= "End"
Use a virtual meter as virtual device as suggested in the Rule Example - IFTTT - Use DO to control actions in Zipabox
Rename two meter values in config of the virtual meter:
2.1. Start
2.2. End
Define two IFTTT receipes. One with channel this = "google calendar" and one with channel that = "Maker"
3.1. If event from search for 'Start' starts on [yourCalendarName], then make a web request (Link to URL from 2.1 appending 1)
3.2. If event from search for 'End' starts on [yourCalendarName], then make a web request (Link to URL from 2.2 appending 1)
Define two rules in Control Center (you need also a virtual switch for holiday, Name = Holiday):
4.1. When virtual meter Start !=0...Holiday Action On...Start = 0 (reset)
4.2. When virtual meter End !=0...Holiday Action Off...End = 0 (reset)
That's it :-)
The "Google calendar" channel only offers the start event of a date in a connected calendar. So you have to define to dates for your holiday.
1.1. Start holiday: name = "Start"
1.2. End holiday: name= "End"
Use a virtual meter as virtual device as suggested in the Rule Example - IFTTT - Use DO to control actions in Zipabox
Rename two meter values in config of the virtual meter:
2.1. Start
2.2. End
Define two IFTTT receipes. One with channel this = "google calendar" and one with channel that = "Maker"
3.1. If event from search for 'Start' starts on [yourCalendarName], then make a web request (Link to URL from 2.1 appending 1)
3.2. If event from search for 'End' starts on [yourCalendarName], then make a web request (Link to URL from 2.2 appending 1)
Define two rules in Control Center (you need also a virtual switch for holiday, Name = Holiday):
4.1. When virtual meter Start !=0...Holiday Action On...Start = 0 (reset)
4.2. When virtual meter End !=0...Holiday Action Off...End = 0 (reset)
That's it :-)
There is a mistake in the second rule. Again the attached screenshot with the corrected rule.
There is a mistake in the second rule. Again the attached screenshot with the corrected rule.
https://ifttt.com/recipes/341701
https://ifttt.com/recipes/341701
Replies have been locked on this page!