author
13Instructables13,957Views12CommentsHyderabad, India
An Open Source and IoT Enthusiast

Achievements

10K+ Views Earned a bronze medal
    • Designing a 3D Plant Pot Using AutoCAD
      19 views
      0 favorites
      0 comments
  • AmruthKumarSala's instructable CentOS 7 As MQTT Server's weekly stats:
    • CentOS 7 As MQTT Server
      59 views
      0 favorites
      0 comments
    • Managing a VMware ESXi Server
      19 views
      0 favorites
      0 comments
  • Teardown Seagate SATA Hard Disk Drive

    Thanks for indicating it. I hope the readers will make note of it.

    View Instructable »
    • Teardown Seagate SATA Hard Disk Drive
      868 views
      2 favorites
      2 comments
    • Tasmota Admin - IIoT Dashboard
      112 views
      0 favorites
      0 comments
  • Raspberry PI and DHT22 Temperature and Humidity Logger With LAMP and Email Warnings

    I am receiving the following error in step 10: pi@raspberrypi:~/DHT22-TemperatureLogger $ python DHT22logger.pyLogger initialization startedCheck if directory for storing logs is writeableDirectory is writeableLogger initialized22-11-20 20:26:00 INFO root DHT22logger execution started22-11-20 20:26:00 INFO Configurations.ConfigHandler ConfigHandler instantiation started22-11-20 20:26:00 INFO Configurations.ConfigHandler Instantiate ConfigReader22-11-20 20:26:00 INFO Configurations.ConfigReader ConfigReader instantiation started22-11-20 20:26:00 INFO Configurations.ConfigReader Loading configurations from config.json22-11-20 20:26:00 INFO Configurations.ConfigReader ConfigReader instantiated22-11-20 20:26:00 INFO Configurations.ConfigHandler Read configurations22-11-20 20:26:00 INFO Config…

    see more »

    I am receiving the following error in step 10: pi@raspberrypi:~/DHT22-TemperatureLogger $ python DHT22logger.pyLogger initialization startedCheck if directory for storing logs is writeableDirectory is writeableLogger initialized22-11-20 20:26:00 INFO root DHT22logger execution started22-11-20 20:26:00 INFO Configurations.ConfigHandler ConfigHandler instantiation started22-11-20 20:26:00 INFO Configurations.ConfigHandler Instantiate ConfigReader22-11-20 20:26:00 INFO Configurations.ConfigReader ConfigReader instantiation started22-11-20 20:26:00 INFO Configurations.ConfigReader Loading configurations from config.json22-11-20 20:26:00 INFO Configurations.ConfigReader ConfigReader instantiated22-11-20 20:26:00 INFO Configurations.ConfigHandler Read configurations22-11-20 20:26:00 INFO Configurations.ConfigHandler Configurations read succesfully22-11-20 20:26:00 INFO Configurations.ConfigAdapter ConfigAdapter instantiation started22-11-20 20:26:00 INFO Utility.TimeFormatHelper TimeFormat instantiation started22-11-20 20:26:00 INFO Utility.TimeFormatHelper TimeFormat instantiated22-11-20 20:26:00 INFO Configurations.ConfigAdapter ConfigAdapter instantiated22-11-20 20:26:00 INFO Configurations.ConfigHandler ConfigHandler instantiated22-11-20 20:26:00 INFO Configurations.ConfigHandler Get full configuration adaptation22-11-20 20:26:00 INFO Configurations.ConfigAdapter Creating dictionary for full configurations22-11-20 20:26:00 INFO Configurations.ConfigAdapter Configuration dictionary created22-11-20 20:26:00 INFO Database.DbActionController DbController instantiation started22-11-20 20:26:00 INFO Database.DbActions DBActions instantiation started22-11-20 20:26:00 INFO Database.DbActions DBActions instantiated22-11-20 20:26:00 INFO Database.DbActionController DbController instantiated22-11-20 20:26:00 INFO Utility.MailSender MailSender instantiation started22-11-20 20:26:00 INFO Utility.TimeFormatHelper TimeFormat instantiation started22-11-20 20:26:00 INFO Utility.TimeFormatHelper TimeFormat instantiated22-11-20 20:26:00 INFO Utility.MailSender MailSender instantiation finished22-11-20 20:26:00 INFO Sensors.SensorDataHandler SensorDataHandler instantiation started22-11-20 20:26:00 INFO Sensors.SensorReader SensorReader instantiation started22-11-20 20:26:00 INFO Sensors.SensorReader SensorReader instantiated22-11-20 20:26:00 INFO Utility.MeasurementCompare MeasurementCompare instantiation started22-11-20 20:26:00 INFO Utility.MeasurementCompare Instantiation done22-11-20 20:26:00 INFO Sensors.SensorDataHandler SensorDataHandler instantiated22-11-20 20:26:00 INFO Sensors.SensorReader Starting to collect temperature and humidity data from the the sensors22-11-20 20:26:00 INFO Sensors.SensorReader Collecting data for sensor: Inside22-11-20 20:26:00 INFO Sensors.SensorReader Get readings for the sensor Inside22-11-20 20:26:00 INFO Sensors.SensorReader Start reading values for sensor type 22 in gpio 422-11-20 20:26:01 INFO Sensors.SensorReader Values from sensor: Temp=28.0* Humidity=74.9%22-11-20 20:26:01 INFO Sensors.SensorReader Check is measured temperature negative or positive22-11-20 20:26:01 INFO Sensors.SensorReader Value is positive22-11-20 20:26:01 INFO Sensors.SensorReader Read humidity readings22-11-20 20:26:01 INFO Sensors.SensorReader Cast temperature and humidity readings to float22-11-20 20:26:01 INFO Sensors.SensorReader Sensor value reading finished22-11-20 20:26:01 INFO Sensors.SensorReader Sensor temperature values as celsius22-11-20 20:26:01 INFO Sensors.SensorReader Readings: Temperature: 28.0 , Humidity: 74.9. Store sensor readings for handling22-11-20 20:26:01 INFO Sensors.SensorReader Temperature and humidity data from sensor Inside collected22-11-20 20:26:01 INFO Sensors.SensorReader Checking when last mail regarding this sensor was sent out. Sensor=Inside22-11-20 20:26:01 INFO Database.DbActionController getLastSensorMailSentTime22-11-20 20:26:01 INFO Database.DbActions Executing Sql SELECT22-11-20 20:26:01 ERROR Sensors.SensorReader Failed to get entry when last mail regarding this sensor was sent out.Traceback (most recent call last): File "/home/pi/DHT22-TemperatureLogger/Sensors/SensorReader.py", line 93, in getSensorReadings mailSentTime = self.dbControl.getLastSensorMailSentTime(sensorName) File "/home/pi/DHT22-TemperatureLogger/Database/DbActionController.py", line 29, in getLastSensorMailSentTime data = self.dbActions.sqlSelect(sqlQuery) File "/home/pi/DHT22-TemperatureLogger/Database/DbActions.py", line 32, in sqlSelect db = MySQLdb.connect(self.host,self.user,self.password,self.database) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__ super(Connection, self).__init__(*args, **kwargs2)OperationalError: (1045, "Access denied for user ' logger'@'localhost' (using password: YES)")22-11-20 20:26:01 ERROR Sensors.SensorDataHandler Sensor reading raised exceptionTraceback (most recent call last): File "/home/pi/DHT22-TemperatureLogger/Sensors/SensorDataHandler.py", line 31, in readAndStoreSensorReadings self.readingsFromSensors, self.failedSensors = self.sensorReader.getSensorReadings() File "/home/pi/DHT22-TemperatureLogger/Sensors/SensorReader.py", line 93, in getSensorReadings mailSentTime = self.dbControl.getLastSensorMailSentTime(sensorName) File "/home/pi/DHT22-TemperatureLogger/Database/DbActionController.py", line 29, in getLastSensorMailSentTime data = self.dbActions.sqlSelect(sqlQuery) File "/home/pi/DHT22-TemperatureLogger/Database/DbActions.py", line 32, in sqlSelect db = MySQLdb.connect(self.host,self.user,self.password,self.database) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__ super(Connection, self).__init__(*args, **kwargs2)OperationalError: (1045, "Access denied for user ' logger'@'localhost' (using password: YES)")22-11-20 20:26:01 ERROR root Sensor data handling failed:Traceback (most recent call last): File "DHT22logger.py", line 82, in main SensorDataHandler(configurations,dbControl,mailSender).readAndStoreSensorReadings() File "/home/pi/DHT22-TemperatureLogger/Sensors/SensorDataHandler.py", line 31, in readAndStoreSensorReadings self.readingsFromSensors, self.failedSensors = self.sensorReader.getSensorReadings() File "/home/pi/DHT22-TemperatureLogger/Sensors/SensorReader.py", line 93, in getSensorReadings mailSentTime = self.dbControl.getLastSensorMailSentTime(sensorName) File "/home/pi/DHT22-TemperatureLogger/Database/DbActionController.py", line 29, in getLastSensorMailSentTime data = self.dbActions.sqlSelect(sqlQuery) File "/home/pi/DHT22-TemperatureLogger/Database/DbActions.py", line 32, in sqlSelect db = MySQLdb.connect(self.host,self.user,self.password,self.database) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__ super(Connection, self).__init__(*args, **kwargs2)OperationalError: (1045, "Access denied for user ' logger'@'localhost' (using password: YES)")22-11-20 20:26:01 INFO Utility.MailSender sendWarningEmail called22-11-20 20:26:01 INFO Utility.MailSender _sendMail called. Sending mail...22-11-20 20:26:02 ERROR Utility.MailSender Failed to send mailTraceback (most recent call last): File "/home/pi/DHT22-TemperatureLogger/Utility/MailSender.py", line 69, in sendWarningEmail self._sendMail(messageOut) File "/home/pi/DHT22-TemperatureLogger/Utility/MailSender.py", line 106, in _sendMail server.login(self.username,self.password) File "/usr/lib/python2.7/smtplib.py", line 623, in login raise SMTPAuthenticationError(code, resp)SMTPAuthenticationError: (534, '5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondF... 23sm8266723pgs.19 - gsmtp')22-11-20 20:26:02 ERROR root Sending warning mail failedTraceback (most recent call last): File "DHT22logger.py", line 87, in main mailSender.sendWarningEmail("Error with sensor data handling.\nError message: {0}".format(e.message)) File "/home/pi/DHT22-TemperatureLogger/Utility/MailSender.py", line 69, in sendWarningEmail self._sendMail(messageOut) File "/home/pi/DHT22-TemperatureLogger/Utility/MailSender.py", line 106, in _sendMail server.login(self.username,self.password) File "/usr/lib/python2.7/smtplib.py", line 623, in login raise SMTPAuthenticationError(code, resp)SMTPAuthenticationError: (534, '5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondF... 23sm8266723pgs.19 - gsmtp')22-11-20 20:26:02 INFO root Check if weekly averages need to be sended22-11-20 20:26:02 INFO Configurations.ConfigHandler Get configuration for sending weekly average temperatures22-11-20 20:26:02 INFO Configurations.ConfigAdapter Creating dictionary for backup dump configurations22-11-20 20:26:02 INFO Configurations.ConfigAdapter Configuration dictionary created22-11-20 20:26:02 INFO Configurations.ConfigHandler Check if weekly averages sending is enabled22-11-20 20:26:02 INFO Configurations.ConfigHandler Yes22-11-20 20:26:02 INFO Configurations.ConfigHandler Is it time to perform requested action22-11-20 20:26:02 INFO Configurations.ConfigHandler No22-11-20 20:26:02 INFO Configurations.ConfigHandler Get configuration for backup dump22-11-20 20:26:02 INFO Configurations.ConfigAdapter Creating dictionary for backup dump configurations22-11-20 20:26:02 INFO Configurations.ConfigAdapter Configuration dictionary created22-11-20 20:26:02 INFO Configurations.ConfigHandler Check if dump is enabled22-11-20 20:26:02 INFO Configurations.ConfigHandler Yes22-11-20 20:26:02 INFO Configurations.ConfigHandler Is it time to perform requested action22-11-20 20:26:02 INFO Configurations.ConfigHandler No22-11-20 20:26:02 INFO root DHT22logger execution finishedCan you please suggest as where I am going wrong

    View Instructable »
    • NodeMCU ESP8266 - MQTT - Ubidots
      123 views
      0 favorites
      0 comments
    • IoT Prototype Enclosure Design - Part 02
      90 views
      2 favorites
      0 comments
    • IoT Prototype Enclosure Design - Part 01
      102 views
      0 favorites
      0 comments
    • Monitor Temperature and Humidity With AM2301 on NodeMCU & Blynk
      72 views
      1 favorites
      0 comments
  • Inchworm Robot - Modular, Move Allsides With BT App

    You are most welcome. I am just thinking about collaborative work. Please ping me on WhatsApp on +91 9398472594, if you are thinking in similar lines.

    View Instructable »
      • Jumbo Cake Costume
      • Inchworm Robot - Modular, Move Allsides With BT App
      • Baby MIT Cheetah Robot V2 Autonomous and RC
  • Inchworm Robot - Modular, Move Allsides With BT App

    Kudos, Very nice project. I will try & keep you posted.

    View Instructable »
    • NEMA 17 - WeMos Mini - Blynk
      120 views
      1 favorites
      0 comments
  • Build Arduino IDE From GIT Sources on Ubuntu 16.04

    No worries. I checked with other online resources and finally got the Arduino IDE installed on my CentOS 8 laptop.

    View Instructable »
    • Thermoelectric Peltier Refrigeration Kit Assembly
      113 views
      1 favorites
      0 comments
      • Getting Started With Cayenne IoT for Raspberry Pi
      • Image Recognition With TensorFlow on Raspberry Pi
      • Flashing SONOFF Tasmota Firmware on NodeMCU
  • Build Arduino IDE From GIT Sources on Ubuntu 16.04

    I tried the process on CentOS 8, but couldn't install it successfully. Any suggestions to have it successfully installed on CentOS 8?

    View Instructable »
  • AmruthKumarSala's instructable WiFi LED Switch IoT's weekly stats:
    • WiFi LED Switch IoT
      739 views
      2 favorites
      5 comments
  • WiFi LED Switch IoT

    Thanks for all your good comments. Let me share more details with you in the form of a new circuit. During my earlier experiments with IR, I received decent good results. Let me see if I can share the project details with you ASAP. I think it will be better if I post it on Instructables.

    Hello @Gorgus - I am shocked to see that the copied content is missing. Thanks for indicating it. I tried correcting it, but somehow the editor is able to take the text, but the moment I save it, the content is not reflecting. Both the include statements are as below:#include <ESP8266WiFi.h>#include <BlynkSimpleEsp8266.h>To reduce these confusions, I will now include an image of the code for better clarity.

    View Instructable »
      • Thermoelectric Peltier Refrigeration Kit Assembly
      • WiFi LED Switch IoT
      • Solenoid Valve With Arduino Nano
      • Arduino - MPDMv4 - Universal AC MAINS Dimmer
      • ESP8266 + Arduino IDE 1.6.4 Portable - Full Quick Install Guide
      • MAX7219 - 8 Digit LED Display Module Driver for ESP8266
      • Arduino MIDI Drums (Wii Band Hero)+DAW+VST
      • Arduino LCD 16x2. Turn Single Screen Into Multiple Screens.
      • Arduino& Labview With 2 DS18B20
    • Solenoid Valve With Arduino Nano
      53 views
      0 favorites
      0 comments
  • Interfacing Ultrasonic Sensor With Arduino

    This is a simipler experiment and I think there is no need of bread board, hence I made use of Male to Female Jumper wires and completed the experiment

    View Instructable »
  • I would want my students to work on similar kind of projects - Can we collaborate and work together ??? If you are interested please let me know. I am Amruth Kumar Sala from Hyderabad, India trying to build a centre of excellence and call it Technology labs for physically challenged.Please write back to yugendravenkata@outlook.com

    View Instructable »