Downloads the hourly averages of temperature and humidity and draws them against the comfortable ranges, or says why it cannot: the server cannot be reached, or it has no readings of one of the two in that period.
Arguments
- id
Character. Module namespace id, must match the id used in
mod_comfort_ui().- dark_mode
Reactive returning
"light"or"dark", the mode of the app, for the colors of the chart.
Examples
if (FALSE) { # \dontrun{
# inside app_server():
mod_comfort_server("comfort", reactive(if (isTRUE(input$dark_mode)) "dark" else "light"))
} # }