Turn on the led ights using my phrase project

also error in telegram_Alert file

this is the error

and here is my code

Lets try to check your code from scratch .
In conf.py i think your telegram_bot_id is wrong …there is a semicolon in betwwen the bot id but u may have mistakenly left it

ohkkkkk thn in this code

Check indentation in your python code for telegram_alert.py

sir problm is in -999 return stmt

like def get_sensor_value
but my temp_sms file is running fine

i also chnged from post to get nd vice versa but no improvmnt

If statement is wrong data[‘successs’]

yess actually it was the problmm

Hope your code runs fine. You can ask for more help .

thnkuu soo mch sir for helping

1 Like


what i am getting is this is it fine???