With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Have you tried debugging it by executing the commands manually ? Open up a console and try these commands (just change the path location to the location you put the script at) : sudo python /home/pi/fan.py on or sudo python /home/pi/fan.py off If it goes off, then i think you should raise a bit the shutdown temperature in the script. I kinda had the same problem one time. Some nights the fan was always on, because the shutdown temp could not be reached since that night was a hotter night. Raising the FAN_END by 2-3 degrees fixed my prob.
ESP8266 WiFi OTA Remote File Management
To tell you the truth, i dont run it with batteries...this was a diagram i found on the net. I use a jumper to connect vcc with ch, (i soldered the male pins one on each pin and use the jumper on top). I dont use a capacitor....hmm maybe i should? Eventually i might do it with batteries, if i manage to make the 'deepsleep' soldering, and use a step up converter for 2 AA batteries.I'll probably add the time interval for the loop as an input field in the page...in case people want to be able to change that as well and store the value in the config file.
Wearable Electronics Class
I've changed the code a bit since i last posted this. The new one is located here: https://github.com/Sandbird/ESP8266-with-LUA---Thi...I added a setup page. No need to edit .lua files anymore to add the router/user/pass. You can do that from your mobile. Also i added a safeguard function. If the esp cant find the router anymore, it will enter setup mode again.
For me it was bad soldering at the bottom of the Rx Tx pins. They didnt make a 100% contact with the board..I re-did all the pins and after that it worked flawlessly.Please check your soldering!
Thank you :)
Can you give me the dimensions of this box? The files have no sizes :/
You got my votes :) Great job!
ESP8266 Christmas Ornaments!
Fixed, i put the script in pastebin. Thanks
LEDs and Lighting Class
Getting Started with Electronics
Electronics Tools and Materials
LEDs & Lights Tools and Materials
ESP8266 Weather Widget
Tools and Supplies
Raspberry Pi Class
Using a temperature sensor to control the speed of a motor using arduino
awesome! I had no idea it was similar to the debugging process done on PCs.Ollying an iphone :)
IoT Door Alarm UPGRADED
hmm, any errors when you start the script manually ?Also are you running the cron with sudo ? I think it needs root permissions to run properly.Also, to stop the fan, did you try the: 'sudo python /home/pi/fan.py off' That should stop the fan, if not then probably you didnt select the proper slots on the relay. There are 3 slots. If i remember correctly depending on which slots you used, the ON functions in the script would actually do the opposite (turn the fan off) if you used the wrong setting. And then the OFF functions would turn it on instead...Basically the logic gate on the fan is reversed, if you put the cables in the wrong slots.One last thing i could think of....when you ssh to your pi (the normal way) and type: vcgencmd measure_tempDoes it give the temperature in Celsius?...see more »hmm, any errors when you start the script manually ?Also are you running the cron with sudo ? I think it needs root permissions to run properly.Also, to stop the fan, did you try the: 'sudo python /home/pi/fan.py off' That should stop the fan, if not then probably you didnt select the proper slots on the relay. There are 3 slots. If i remember correctly depending on which slots you used, the ON functions in the script would actually do the opposite (turn the fan off) if you used the wrong setting. And then the OFF functions would turn it on instead...Basically the logic gate on the fan is reversed, if you put the cables in the wrong slots.One last thing i could think of....when you ssh to your pi (the normal way) and type: vcgencmd measure_tempDoes it give the temperature in Celsius? (ex: temp=48.7'C) If not then you need to change something in the code.In the function 'get_temp_from_system' , i am 'reading' that value, but i am expecting to find the 'C part. If yours gives fahrenheit, then you need to change that 'C\n to 'F\n.And probably recalculate the temperature values, for switching on/off the fan.
DIY Bluetooth Headphones
How to interface with OLED 0.96inch LCD128x64
ESP8266 (Standalone) weather station using Arduino IDE and GadgetKeeper Cloud Platform
Track 2D Movement Using Arduino Ultrasonic Sensors and Visualize in Unity
How to Flash Firmware Update for ESP8266 With FTDI
Arduino - Laser Tripwire Alarm System
ESP8266 Weather Station with Arduino – #2 Software
Wireless PIR Sensor Alarm
$4 WiFi Door Alarm using a ESP8266 #IoT
Build a Raspberry Pi SUPER Weather Station
ESP8266 BASIC IoT Light
OLED i2c display with arduino
How To Sell On Etsy - Etsy SEO Tips To Get More Traffic
ESP8266 To IFTTT Using Arduino IDE
(DIY) How to Make ESP8266 Ultra Mini & Simple Relay Home Automation Board
Arduino IOT automation with ESP8266
ESP8266 Network LED
IOT - Motion detector with email notification w/ NodeMCU, PIR, Carriots, WIFI, PCB,Casing and more.
Automatic Night Light
Controlling any device using a Raspberry Pi and a relay module
Intruder Alarm with Text Message Notification
Remote Access Your Home Alarm
Text-Controlled Raspberry Pi
ESP8266 and Relay Control Using Smartphone
Open the gate, wicket or door with your Smartphone and Raspberry PI
Prota OS for Raspberry Pi(Prota Pi)
ATtiny V-USB Project Board
Solar USB Charger 2.0
ESP8266 WiFi Notification Lamp
Raspberry Pi IoT: Temperature and humidity monitor
ESP8266 and Visuino: Control Servo Remotely over Wi-Fi with Rotary Encoder
Choosing The Resistor To Use With LEDs
The Interactive Donation Box
Ultrasonic gesture based TV remote control
Portable and minimal setup for PROWL notifications with standalone ESP8266
How to unbrick an ESP8266 – Using ESP-03 as example
Helping Eyes (Mountable Visual Aid)
Burglar Alarm with Sending SMS and Email from your IoT device
Powering something that requires a higher voltage than your battery can supply: THE 2016 SUPER NOOB FRIENDLY WAY
Setting up the Arduino IDE to program ESP8266
Arduino Useless Box
ESP8266 webserver serving multiple pages
Arduino Watch with Nokia 3110 screen
DIY Arduino Weather Station
Arduino Nano: Directly connected 2 X 16 LCD Display With Visuino
Range Alerter Arduino Project
Supercapacitor Programmable Attiny LED flashlight
Arduino 7 Segment Display Clock (+sound activation)
How to capture remote control codes using an Arduino and an IRreceiver
Old laptop screen into Monitor
Raspberry Pi: Wall Mounted Calendar and Notification Center
How to start selling on Etsy
Arduino Nano: DHT11 Temperature and Humidity Visual Instrumentation with Visuino
Arduino Esp8266 Post Data to Website
Gesture controlled gaming
STM32F103: esp8266 nodeMCU Getting Started [using mbed.h]
Create sound that depends on a moving object using a photocell sensor
Arduino Obstacle Avoiding Robot
How to Display Temperature and Humidity Using an Arduino and a DHT11 Humidity Sensor
RC Multi Channel Arduino Proportional Transmitter / Receiver with Button Trimmers
Blüp: The Bubble Notifier
Complete Guide for Tech Beginners
My Physical Web Space
Keyes KY-008 Laser Transmitter Demystified
Arduino Pan Tilt Controlled
Wi-Fi board ESP8266: NeoPixels, thermometer, deep-sleep, AP webserver config, EEPROM
How to Pick a Lock (Basics)
Zombie hands or the walking dead
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.