Python + telegram bot + blynk = love)
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:
- Install libs:
pip install python-telegram-bot
pip install blynkapi
- Copy template python code from GitHub
- 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 vartokenid
- Create project link
- Add hardware link
- Get auth token and copy it to python program
blynkbot.py
as varmy_project
- Create or modify objects in
blynkbot.py
(k_amp_power, k_amp_src, k_light) - Run your bot
./blynkbot.py
- Can't talk to bot via Google voice. issue