Skip to content

Commit d0a11a4

Browse files
authored
Update store_Sensor_Data_to_DB.py
1 parent c655d2c commit d0a11a4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

store_Sensor_Data_to_DB.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
#------------------------------------------
2+
#--- Author: Pradeep Singh
3+
#--- Date: 20th January 2017
4+
#--- Version: 1.0
5+
#--- Python Ver: 2.7
6+
#--- Details At: https://iotbytes.wordpress.com/store-mqtt-data-from-sensors-into-sql-database/
7+
#------------------------------------------
8+
9+
110
import json
211
import sqlite3
312

@@ -66,4 +75,4 @@ def sensor_Data_Handler(Topic, jsonData):
6675
elif Topic == "Home/BedRoom/DHT22/Humidity":
6776
DHT22_Humidity_Data_Handler(jsonData)
6877

69-
#===============================================================
78+
#===============================================================

0 commit comments

Comments
 (0)