28 Commits

Author SHA1 Message Date
565473ac3c Merge branch 'master' of github.com:KevinMidboe/homeChecker 2018-03-20 13:54:36 +01:00
4ebd11ea40 Added logger and wrapped while loop in a try/except and log any errors. 2018-03-20 13:54:11 +01:00
ddbc7163d1 Changed ljust value for print statements 2017-03-05 00:09:18 +01:00
0f3201f1bf Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 23:36:41 +01:00
0318202aa5 Added so you can add to cmd prompt if you want to filter out all other names than the name specified. 2017-02-10 23:36:16 +01:00
5a9af6ca8d Changed the name of bazzinga to inga and change a little on the return type from macLookup. 2017-02-10 23:34:41 +01:00
1664a56bd7 Removed long in 'int, float' 2017-02-10 18:47:31 +01:00
a8756fde64 Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 18:42:06 +01:00
3e02f7ad62 Updated to db 2017-02-10 18:41:19 +01:00
35854a52f4 Added check for when time is not defined yet (NULL) 2017-02-10 18:40:38 +01:00
7897119322 Added a script for quering server, should not be in project really. TODO: DELETE THIS 2017-02-10 18:26:03 +01:00
33539e7737 Created homeSender for com with others on the network, this will be changed! 2017-02-10 18:24:10 +01:00
751e408b12 More changes to formatting of decimals 2017-02-10 16:55:13 +01:00
a5c16b88c9 Changed so that time added to db only has two decimal points. 2017-02-10 16:44:43 +01:00
b61ae873f1 Forgot to change back the adr of UPDATE sql function to be dynamic to content of online, not a static value. Also removed conn.commit for function where only selects, not update or add. 2017-02-10 16:42:35 +01:00
cce64669f2 Changed the print function when adding/updating the db 2017-02-10 16:39:14 +01:00
f1337c9511 Added return statement for updateTimes() 2017-02-10 16:36:36 +01:00
d685783290 Passed 'c'/cursor to getAddr from updateTimes() 2017-02-10 16:34:44 +01:00
7037832598 Fixed pprint import 2017-02-10 16:32:58 +01:00
a483dc543a Added pprint to main() call functions 2017-02-10 16:31:19 +01:00
0b71e6f5f8 Added a check for if 'arp-scan' is able to run, and added run functions 2017-02-10 16:29:36 +01:00
8871359085 Created the logic for saving and fetching times. 2017-02-10 16:19:46 +01:00
7e0f60996d Added som test for querying the db. 2017-02-10 14:18:03 +01:00
cef5a369d3 Created two tables, 'clients' with MAC adr to track with matching names and 'lastonline' as a table for logging time matching a MAC adr. 2017-02-10 14:17:30 +01:00
657e95ef31 Added a gitignore for times.txt 2017-02-10 12:52:00 +01:00
ed6df7a7dd Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 12:47:51 +01:00
479b203d3d Initial commit 2017-02-10 12:47:29 +01:00
69215b7e4c Init commit 2017-02-10 12:43:24 +01:00