Nayan Ta
Created February 18, 2020

Automated bulb control

Google assistance to automate the control of a bulb, where a command to the google assistant will make a web request to the bolt server.

IntermediateFull instructions provided2 hours1
Automated bulb control

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
Relay Module (Generic)
LED Light Bulb, Frosted GLS
LED Light Bulb, Frosted GLS

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
Assistant SDK
Google Assistant SDK
SmartThings service
IFTTT SmartThings service


Read more


Home automation

html code for light automation
<!--Change the file extension to html-->
<!DOCTYPE html>
<html lang="en">
      <title>Bolt IoT Led Example</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="">
      <script type="text/javascript" src=""></script>
      <script type="text/javascript">
         // The following line will set the api key and device name. It will be auto-initialized by Bolt cloud.
      <div class="jumbotron vertical-center">
         <div class="container">
            <div class="row">
               <div class="col-xs-12">
                  <div  class="text-center">
                     <button type="submit" class="btn btn-success btn-xl" onclick="digitalWrite(4, 'LOW');">ON</button>
                     <br> <br> <br>
                     <button type="submit" class="btn btn-danger btn-xl" onclick="digitalWrite(4, 'HIGH');">OFF</button>
      <style type="text/css">
         .vertical-center {
         min-height: 100%;
         min-height: 100vh;
         display: flex;
         align-items: center;
         .btn-xl {
         padding: 10px 20px;
         font-size: 20px;


Nayan Ta

Nayan Ta

0 projects • 0 followers