Commit History

Author SHA1 Message Date
  Wazakindjes a02b1930d3 Ayy finally a full v2.0 release xd Settled on using OneSignal as a push service pr0viturd for weather notifications (including support for specific notification channel and player segment), also added ./temps.py --weathermon flag to force run that shit and some other misc impr0vements [=[=[=[=[=[[=[=[=[= 1 year ago
  Wazakindjes aeda07e1a3 Added: weather API shit for monitoring the outside temperature vs inside and send a push notification if the "state" changed || Changed: muhconf global var to contain dicts per config section instead of 1 dict w/ everything, all optional config vars should be specified as a string, changed config checking ifs to a style more suited for checking individual val00s, check if sensor path actually exists during config check instead of simply handling the exception on read, check for string values (such as MySQL h0st) being zero-length, sorta standardised error message formats and some other v min0r fixes/optimisations ;]];];;];];];];];]];;]];]; 1 year ago
  Wazakindjes 5820815d86 Added an example of config variable interp0lation and made some val00s optional 1 year ago
  Wazakindjes 4ea3a0881c Added dryrun mode (don't insert to SQL, do everything else as usual) and try_db_cleanup() function to try and cleanly shutdown the SQL connection [==[[= 1 year ago
  Wazakindjes 27de3000ce Added: argparse so we can (amongst other things lel) enable debug m0de w/o changing em config, corresponding usage section in em readme, configurable max attempts per sensor sample, author/version/etc headers, "constants" for exit codes, some comments to make the c0dd more readable (thanks pythinz for your retarded required indents), explicit exit on KeyboardInterrupt (Ctrl+C), extra debug messages || Changed: "pass" to "sample", print sensor name on exceeding max attempts when not in debug mode, proper order of checking max attempts, simply pass a SystemExit exception (sys.exit() lol) 1 year ago
  Wazakindjes d387bac30c Initial readme y0 1 year ago
  Wazakindjes ae42f9a9a3 Clarified s0me config shit lol 1 year ago
  Wazakindjes e6fb01b0d9 Fuckin typo in example conf xd 1 year ago
  Wazakindjes e68d879102 Added config file shit lol 1 year ago
  Wazakindjes ac20ac4748 Initial commit l0l 1 year ago