Regarding project 9


showing error in ubuntu server

@arpit.goyal1612 Can you please add a print statement after the analogRead() call? Reply back with the picture of the output once you have added the print statement.
This will help in finding what the issue is.

Its showing some html content after printing response . Please let me know where is the problem . Is it in code or in connection

@arpit.goyal1612 Try adding the following code to the program at the beginning

import conf
from boltiot import Sms, Bolt
import json, time

minimum_limit = 300
maximum_limit = 600

mybolt = Bolt(conf.API_KEY, conf.DEVICE_ID)
sms = Sms(conf.SID, conf.AUTH_TOKEN, conf.TO_NUMBER, conf.FROM_NUMBER)

and check if u have given the right values in the configuration file.Send the code for configuration and main program,if you are still getting error in your code.

Thank you.

T