Нет описания

Ferrazzi c9d40f5acf Delete FlipperZero-IFTTT_app directory 3 лет назад
Image 6d6af5f848 Add files via upload 3 лет назад
README.md e6d7ec7327 Update README.md 3 лет назад

README.md

FlipperZero IFTTT Virtual Button

fzCUSTOM

FlipperZero IFTTT Virtual Button is an application that allows you to send IFTTT requests from FlipperZero through an esp8266 module to automate some actions. If This Than That, which could translate to "if this happens, then make that happen". As the phrase says, it allows you to automate activities by connecting to different online services.

First you need to prepare an additional card.

you will need: 1 ESP8266 (I recommend ESP01 for the size) and 2 buttons.

fzCUSTOM

Let's now move on to the configuration and operation

  • First we need to create an account on IFTTT if you don't have one. Go to https://ifttt.com/ and create one account.
  • Now that we have an account, let's set up a test applet.
  • Let's create our first applet, or rather a mini sequence of instructions, by pressing the create button ”New applet“.
  • Click on the word "this" and search for the "Webhook" service, press the option receive a web request. In this way we can perform an action when the applet receives an HTTP request to a specific URL.
  • We type the name of the event "button_pressed" and create the trigger.
  • Now we press "that" and we create the mobile notification service through the app that we have installed on one of our phones. Here we can change the notification message and also with the EventName tag we will insert the name of the previously created event.
  • You should have your applet created after clicking "Finish"
  • Now let's go back to the main page https://ifttt.com/ and search "Webhooks" and enter the card "Documentation"
  • Here you can find your unique KEY API which you need to keep private. fzCUSTOM
  • Type the name of the event, "button_pressed".
  • Final URL should appear at the bottom of the web page. We'll need to copy that URL.

Warnings for the first beta version

In this version you have to configure the sketch for ESP8266 manually, compile it and flash it. Edit IFTTMode.cpp file in FlipperZero-IFTTT_WiFi_Module directory and change in this line with your credential.

Change "triggername" and "keyID" with yours that you created before

const char* resource = "https://maker.ifttt.com/trigger/triggername/json/with/key/keyID";

Enter the SSID and password of your WiFi connection

const char *ssidIFTTT = "SSID";

const char *passwordIFTTT = "password";

COMPILE AND FLASH YOUR ESP8266!!!