seanrees / prometheus-dyson

Prometheus client for DysonLink fans (Pure Hot+Cool)
MIT License
13 stars 9 forks source link

Add utility: switch_heat_mode #19

Closed seanrees closed 2 years ago

seanrees commented 2 years ago

switch_heat_mode will take a Dyson fan (e.g; --device="Living room") and toggle the heat setting to match --heat_mode (e.g; --heat_mode="on" or --heat_mode="off")

This is intended to support cron jobs and/or other tools that might want to time turning the fan on/off.