Line 1: |
Line 1: |
| <languages/> | | <languages/> |
| <translate> | | <translate> |
| + | <!--T:1--> |
| Integration of IFTTT and Larnitech through Webhook is possible by using events and actions at Webhooks tab in LT Setup. Event is a happening in Larnitech system, by which a request is sent to webhook of IFTTT server (means "THIS" in IFTTT). Action is a operation at Larnitech system, which is executed by a request to webhook of Larnitech server from IFTTT (means "THAT" in IFTTT). | | Integration of IFTTT and Larnitech through Webhook is possible by using events and actions at Webhooks tab in LT Setup. Event is a happening in Larnitech system, by which a request is sent to webhook of IFTTT server (means "THIS" in IFTTT). Action is a operation at Larnitech system, which is executed by a request to webhook of Larnitech server from IFTTT (means "THAT" in IFTTT). |
| | | |
| + | <!--T:2--> |
| <ol class="l2"><li class="nummered">To setup an event: | | <ol class="l2"><li class="nummered">To setup an event: |
| | | |
| + | <!--T:3--> |
| <ol><li class="nummered">Follow to the IFTTT website ([https://ifttt.com/ https://ifttt.com/]).</li> | | <ol><li class="nummered">Follow to the IFTTT website ([https://ifttt.com/ https://ifttt.com/]).</li> |
| <li class="nummered">Sign up/log into your account. | | <li class="nummered">Sign up/log into your account. |
Line 42: |
Line 45: |
| <li class="nummered">The last required step is adding the script into Blockly, using the following instruciton: | | <li class="nummered">The last required step is adding the script into Blockly, using the following instruciton: |
| | | |
| + | <!--T:4--> |
| <ul><li>Find Scripts – Scripts from logic – Add Blockly scripts menu at LTSetup;</li> | | <ul><li>Find Scripts – Scripts from logic – Add Blockly scripts menu at LTSetup;</li> |
| <li>choose the Triggers tab at the script window, then choose and add required Device event to a workspace;</li> | | <li>choose the Triggers tab at the script window, then choose and add required Device event to a workspace;</li> |
Line 54: |
Line 58: |
| <li class="nummered">Enjoy!</li></ol></li></li> | | <li class="nummered">Enjoy!</li></ol></li></li> |
| | | |
| + | <!--T:5--> |
| <li class="nummered">To add an action: | | <li class="nummered">To add an action: |
| | | |
| + | <!--T:6--> |
| <ol><li class="nummered">Follow to IFTTT website ([https://ifttt.com/ https://ifttt.com/]).</li> | | <ol><li class="nummered">Follow to IFTTT website ([https://ifttt.com/ https://ifttt.com/]).</li> |
| <li class="nummered">Sign up/log into your account. | | <li class="nummered">Sign up/log into your account. |
Line 83: |
Line 89: |
| <li class="nummered">Enter the link https://service.larnitech.com/webhook/?key=API_KEY&sn=SERIAL&name=ACTION_NAME into URL field, where: | | <li class="nummered">Enter the link https://service.larnitech.com/webhook/?key=API_KEY&sn=SERIAL&name=ACTION_NAME into URL field, where: |
| | | |
| + | <!--T:7--> |
| <ul><li>API_KEY: is a key from the Key field in LTSetup – Plugins – API – Configure;</li> | | <ul><li>API_KEY: is a key from the Key field in LTSetup – Plugins – API – Configure;</li> |
| <li>SERIAL: is a serial number that can be copied from the Serial Number field at Overview page of LTSetup;</li> | | <li>SERIAL: is a serial number that can be copied from the Serial Number field at Overview page of LTSetup;</li> |