Documentation ¶
Overview ¶
Package occupancyemail provides an automation that creates a digest email of occupancy statistics. The automation periodically uses the OccupancySensorHistoryApi to fetch occupancy records, analyses them, formats an email using html/template, and sends it to some recipients using smtp.
Index ¶
Constants ¶
View Source
const AutoName = "occupancyemail"
Variables ¶
View Source
var Factory auto.Factory = factory{}
Functions ¶
This section is empty.
Types ¶
type DayStats ¶
type DayStats struct { Date time.Time OccupancyStats }
type OccupancyStats ¶
type OccupancyStats struct {
MaxPeopleCount int32
}
Click to show internal directories.
Click to hide internal directories.