Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.57 KB

TODO.org

File metadata and controls

66 lines (49 loc) · 1.57 KB

TODOs

Testing

Refer to TODO.org in timetemp3/tests/ for test-related

FIXME

  • [ ] remove python3-systemd package (hard) dependency

Programs todos - See below

Package todos

Add author, copyright, etc. tags

Add example .json

https://python-packaging.readthedocs.io/en/latest/non-code-files.html

systemd installer method

Outline of program

  • [X] control variables and constants
  • [X] read in config files
    • [X] API (Nest, OWM and Dark Sky) and I2C config
  • [X] map values to variables
  • [X] initialize Hardware wrappers
  • [X] initialize API wrappers (phant, dark sky, OWM, Nest)
  • [X] Loop
    • [X] read sensors
    • [X] Read APIs, in turn, if enabled
      • [X] Dark Sky
      • [X] Open Weather Map
      • [X] Nest
    • [X] Alternate display the enabled temperatures
    • [X] Delay loop
    • [X] Log information
      • [X] Do at explicit intervals
      • [X] … only if information source is enabled
    • [X] finally: clause in loop (for exit)

system-related

  • [X] systemd installer
    • [X] instructions
    • [X] service unit files
    • [X] installer script
  • [X] requirements / dependency management installer

functions

  • [X] display_temperature_in_fahrenheit()
  • [X] log_error()
  • [X] Signal, Keyboardinterrupt handler

  • [X] add logging facilities
    • [X] use for debug/info output instead of print
    • [X] add systemd / journal logging
  • [X] .service systemd unit automation
    • [X] add python3 systemd hooks
    • [X] incorporate into setup?
  • [X] Network API error handling