Python

I like Blynk and also I like telegram. I wrote a telegram bot in python which helps me managing my IoT projects at home. You can managing different progects in one menu. Watch a demo:

demo

Python

  • Copy template python code from GitHub

Create telegram bot

  • First of all you need install telegram to your device
  • Talk to BotFather for creating your own bot
  • Copy your bot id to python program blynkbot.py as var tokenid

Blynk

  • Create project link
  • Add hardware link
  • Get auth token and copy it to python program blynkbot.py as var my_project
  • Create or modify objects in blynkbot.py (k_amp_power, k_amp_src, k_light)
  • Run your bot ./blynkbot.py

Details

  • python-telegram-bot
  • blynkapi

Issue

Leave a Reply

Your email address will not be published. Required fields are marked *