Skip to content

Commit

Permalink
change default fan temp settings and print version
Browse files Browse the repository at this point in the history
  • Loading branch information
klamann committed Oct 16, 2023
1 parent bf218ae commit 48d8edc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/raspi_poe_mon/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ def callback(version: bool = VersionOption):

@app.command()
def run(
fan_on_temp: float = 53,
fan_off_temp: float = 48,
fan_on_temp: float = 60,
fan_off_temp: float = 50,
frame_time: float = 2.0
):
"""
start the display and fan controller
"""
logging.basicConfig(level=logging.INFO, format="%(asctime)s [%(levelname)s]: %(message)s")
logger.info("Starting Raspi PoE HAT Monitor")
logger.info(f"Starting Raspi PoE HAT Monitor, version {__version__}")
ctrl = Controller(fan_on_temp=fan_on_temp, fan_off_temp=fan_off_temp, frame_time=frame_time)
ctrl.main_loop()

Expand Down

0 comments on commit 48d8edc

Please sign in to comment.