Arduino sends a simple command throgh serial port then the pyscript act as server for services like IFTTT or Telegram
Step1: IFTTTYou may want to register a IFTTT account at https://ifttt.com/join
On IFTTT you must activate Maker and iOS Notification (or similar) channels. When Maker is active you have a key!
When IFTTT is active you have to create a receiver similar to the one I already created.
Step2: TelegramYou have to create a bot, more documentation at https://core.telegram.org/bots
The simplest process is:
- add @BotFather
- write him /newbot and follow the instruction
- get the API key
Now connect Arduino to a USB port of your computer, open IDE and get the name of serial port (something like /dev/tty.usbmodem314)
Download files
open pyscript.py write your correct keys and change the messages!
Complete the easy circuit, load Arduino.ino to your board and finally run python pyscript.py
Comments