-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fdd1e6
commit 8b1e4d7
Showing
5 changed files
with
541 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ignore all .bak files | ||
*.bak | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[General] | ||
# meter-reading-cycle in seconds, default: 60 | ||
# valid values: 2 or greater | ||
# sanity check: yes | ||
cycle=60 | ||
|
||
[Meter] | ||
# usb device, default: /dev/ttyUSB0 | ||
# sanity check: no | ||
device=/dev/ttyUSB0 | ||
|
||
[MySQL] | ||
# MySQL parameters. There are no defaults! Logging can be disabled | ||
# by either specifying the argument [-n] or [--nosql] in the command line, | ||
# or by leaving one or more of the following parameters empty. | ||
# sanity checks: no | ||
|
||
hostname=<host name or ip address> | ||
username=<username> | ||
password=<password> | ||
database=<databas> | ||
|
||
# For security reasons, you should setup a specific mysql-user for | ||
# the logger and grant SELECT and INSERT rights to the specific database only. | ||
|
||
# You may use the default database stucture by just executing the | ||
# available script (dws7612.sql) on the corresponding mysql-host. If you do so, you | ||
# do not need to edit the python script itself. | ||
|
||
# If you wish to use your own database structure, the function '_log_data' | ||
# needs to be modified accordingly. | ||
|
Oops, something went wrong.