hello there!..i am getting this error…i am trying out this project since days …anyone help me out in resolving this error
Have you imported time function in the code?
1 Like
The sensor value should be less that or equal o 255 right!
1 Like
yes i have imported time function
but everytime i am getting value more than 255.
@chandu I just now solved this error,please check the telegram account details the channel id and bot id that is token accurately. Check the ‘zero’ and ‘O’ in bot token .
Hope this helps.
Your program is running perfectly, all you need to do enter correct information in confy.py file.
Check them thoroughly
For the id after @ just give you id like “@Hindi”
And coming to telegram token, it’s quite tough if we are doing in vm.
Copy your telegram message and past in word and change font style and size into something, that you can understand.
Hope this helps. Kudos .