Commit Graph

17 Commits

Author SHA1 Message Date
Rob Pearce 7e4494fa2a Fixed device detection
Added -a arg to specify arping location
Fall back to ping if arping unavailable
Put usage text in alphabetical order
Fix device name length detection in -W mode
2022-06-28 10:06:06 +10:00
Rob Pearce cbb62548fc Fix display of rules missing day when format is "@day;xxxx-yyyy" 2022-06-16 19:21:32 +10:00
Rob Pearce e7fcc08091 Tweak method calculating "perfect" temperature so that we heat/cool until a little PAST the midpoint rather than before.
Modify device check to be faster and more accurate
More verbosity when not in cron mode
2022-06-14 21:09:56 +10:00
Rob Pearce 1030b88acb improve -W option 2022-05-31 19:20:27 +10:00
Rob Pearce 3f3dbaa977 Fix bug where typo in rc file would cause zone owners to be incorrectly assigned 2022-05-29 21:36:08 +10:00
Rob Pearce e16f18e7da Add concept of a "perfect" temperature when a zone's temperature is within 25% of the desired range midpoint
If all zones are "perfect", turn the system off
2022-05-29 10:27:40 +10:00
Rob Pearce b5dd14efdc bugfix: make zone device owners actuall work properly
bugfix:  ignoring zones now actually works properly
improve human-readable rule output
remove zownerperson[] which is never actually used
2022-05-28 15:09:29 +10:00
Rob Pearce 7a5452ddfa Add -W option to check availablity of devices rather than 'people' (since a person can have multiple devices associated)
Delete ARP entries before availability check.
2022-02-02 14:09:02 +11:00
Rob Pearce c4c88988c9 minor cosmetic fix 2022-01-23 15:51:04 +11:00
Rob Pearce 2646bf5aec add option to specify influx host 2022-01-16 20:35:49 +11:00
Rob Pearce 32923583f5 Add usage info for -H 2021-12-05 16:52:47 +11:00
Rob Pearce f0dce13580 Add html output mode when showing rules (-H) 2021-12-05 16:51:14 +11:00
Rob Pearce 8ccbdc902c better config file parsing
-s option to verify config file
-S option to show rules in human readable format
fix for dns resolution on osx where getent isn't available
change tabs to spaces
make -w switch work without pymyair
2021-12-04 20:24:25 +11:00
Rob Pearce 6848a09bb7 bugfix: too hot/cold zone count limit was always set to 2 when system was on 2021-07-30 22:11:13 +10:00
Rob Pearce e9c9a40497 fix typo 2021-07-01 16:45:24 +10:00
Rob Pearce 6ff51f038e add 'nomyzone' config option to prevent a zone from ever becoming the "myzone". 2021-07-01 16:24:15 +10:00
Rob Pearce d27a1be385 Initial checkin 2021-06-03 09:01:36 +10:00