CJA3D
Published © CC BY

Old Air Conditioner Automation - Using BOLT

Summer is here! Automate your old Air Conditioner using the BOLT to trigger your air conditioner at home, just before leaving work.

EasyFull instructions provided3 hours345
Old Air Conditioner Automation - Using BOLT

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Adafruit Power Switch Tail
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
openweathermap API

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

BOLT holder

You will need a pair of 2x56 screws and nuts to secure the BOLT to the 3D printed parts.

Schematics

Circuit

Bolt pin#0 connected to Power Tail switch.
Oldac bolt circuit uevtdtp0ho

Code

AC_Control.html

HTML
Code to be pasted in the product section of the BoltIoT cloud- https://cloud.boltiot.com/home/?p_name=none
<html>
<head>
  <!-- In following  line will load the boltCommands.js files from Bolt cloud.-->
  <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js">
  </script>

  <script type="text/javascript">
    // The following line will set the api key and device name. It will be auto-initialized by Bolt cloud.
    setKey('{{ApiKey}}','{{Name}}');
</script>

</head>
<body>
    <div align="center" id="openweathermap-widget-15"></div>
<script>window.myWidgetParam ? window.myWidgetParam : window.myWidgetParam = [];  window.myWidgetParam.push({id: 15,cityid: 'XXXXXXX',appid: 'XXXXXXXXXXXXXXXXXXXXXXX',units: 'imperial',containerid: 'openweathermap-widget-15',  });  (function() {var script = document.createElement('script');script.async = true;script.charset = "utf-8";script.src = "//openweathermap.org/themes/openweathermap/assets/vendor/owm/js/weather-widget-generator.js";var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(script, s);  })();</script>
<center>
 <p>Turn ON/OFF your Air Conditioning  at home</p>
  <!-- In below line, We are calling the digitalWrite function from  boltCommands.js file to switch on the LED. -->
  <button onclick="digitalWrite(0, 'HIGH');">ON</button>

  <!-- In below line, we are calling the digitalWrite function from boltCommands.js file to switch off the LED. -->
  <button onclick="digitalWrite(0, 'LOW');">OFF</button>

</center>
</body>
</html>

Credits

CJA3D

CJA3D

10 projects • 57 followers
Tinkerer and 3D Printing enthusiast.
Contact

Comments