How to control led when the bolt is connected to another wifi

how to control led when the bolt is connected to another wifi?

Download netplug app on your android/iphone . Just connect your mobile/laptop to the same network (network on which bolt is connected). In app you will see the list of bolt devices connected to other network.

I wanted to know how to control it when bolt is connected to another wifi… Ie how to control it using cloud

The process of uploading code would be similar to the way it’s done in Bolt cloud module. The only change in code is that you will have to add a field called deviceName in the URL when you want to control from cloud.
e.g. <a href="/digitalWrite?pin=0&state=HIGH&deviceName={{Name}}">LED ON</a>
The {{Name }} is replaced by the actual name of the device by Bolt cloud.