This commit is contained in:
Ben Varick 2023-11-06 22:02:01 -06:00
parent 547c45e852
commit d9e7c626e3
Signed by: ben
SSH Key Fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo

View File

@ -11,6 +11,9 @@ this site updates every `r update_interval` minutes
The washing machine `r ifelse(current_status$lamp_a_power=="on", "started", "ended")` its most recent cycle at `r ifelse(current_status$lamp_a_power=="on", strftime(washer_last_off, format = "%A %I:%M %p", tz = "America/Chicago"), strftime(washer_last_on, format = "%A %I:%M %p", tz = "America/Chicago"))` The washing machine `r ifelse(current_status$lamp_a_power=="on", "started", "ended")` its most recent cycle at `r ifelse(current_status$lamp_a_power=="on", strftime(washer_last_off, format = "%A %I:%M %p", tz = "America/Chicago"), strftime(washer_last_on, format = "%A %I:%M %p", tz = "America/Chicago"))`
:
`r ifelse(current_status$lamp_a_power=="on", difftime(Sys.Time(), washer_last_on), difftime(Sys.Time(), washer_last_off)`
ago
## The dryer is currently: `r current_status[["lamp_b_power"]]` ## The dryer is currently: `r current_status[["lamp_b_power"]]`