because when i run of code from sublime it goes to login page of the bolt cloud i was excepting to go in on and off interface
so how to do that please help me
You can use Bolt cloud for this, type this code as shown below in your bolt cloud code section.
Note: file type must be HTML.
or you can use python code
from boltiot import Bolt
api_key = “”
device_id = “”
mybolt = Bolt(api_key, device_id)
response = mybolt.digitalWrite(‘0’,‘HIGH’)
Now you can control your device easily!
Hope this may be helpful.
I COPY THIS CODE AND PASTE IT IN NOTEPAD AND OPEN IN CHROME I WAS EXCEPTING DIRECRTLY CONTROLLING INTERFACE SHOULD APPEAR BUT IT IS LOGIN PAGE OF BOLT CLOUD
Yes you need to login in the Bolt Cloud to get the device id and api key and use it in the code above(api_key = “ here ” device_id = “ here ”) .Also u’ll need to connect your product to the bolt cloud. Please go through the course once again to get a clear idea.