Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 2023 Changes in this version + type BatteryState int + const BatteryNominal + const BatteryWarning + type BroadcastResponse struct + ConnInfo *ConnInfo + Error *Error + func ParseBroadcastResponse(payload []byte) (*BroadcastResponse, error) + type ConditionsHTTP struct + Data *WeatherHTTP + Error *Error + func ParseHTTP(data []byte) (*ConditionsHTTP, error) + type ConditionsUDP struct + Conditions []EntryUDP + DeviceID string + Timestamp *Time + func ParseUDP(payload []byte) (*ConditionsUDP, error) + type ConnInfo struct + Duration int + Port int + type EntryHTTP struct + DataStructureType *RecordType + LogicalSensorID *int + Values interface{} + func (e *EntryHTTP) UnmarshalJSON(payload []byte) error + type EntryUDP struct + DataStructureType *RecordType + LogicalSensorID *int + RainLast15Min *float64 + RainLast24Hour *float64 + RainLast60Min *float64 + RainRateLast *float64 + RainSize *float64 + RainStorm *float64 + RainStormStartAt *Time + RainfallDaily *float64 + RainfallMonthly *float64 + RainfallYear *float64 + TransmitterID *int + WindDirAtHighLast10Min *float64 + WindDirLast *float64 + WindSpeedHighLast10Min *float64 + WindSpeedLast *float64 + type Error struct + Code int + Message string + type RecordType int + const RecordISS + const RecordLSSBarometer + const RecordLSSTempRh + type SignalState int + const SignalLost + const SignalRescan + const SignalSynced + type Time time.Time + func (t *Time) UnmarshalJSON(payload []byte) error + func (t Time) Time() time.Time + type UpdateMethod string + const UpdateHTTP + const UpdateJSON + const UpdateUDP + type WeatherHTTP struct + Conditions []EntryHTTP + DeviceID string + Timestamp *Time + type WeatherISS struct + Dewpoint *float64 + HeatIndex *float64 + Humidity *float64 + RXState *SignalState + RainLast15Min *float64 + RainLast24Hour *float64 + RainLast60Min *float64 + RainRateHigh *float64 + RainRateHighLast15Min *float64 + RainRateLast *float64 + RainSize *float64 + RainStorm *float64 + RainStormLast *float64 + RainStormLastEndAt *Time + RainStormLastStartAt *Time + RainStormStartAt *Time + RainfallDaily *float64 + RainfallMonthly *float64 + RainfallYear *float64 + SolarRad *float64 + THSWIndex *float64 + THWIndex *float64 + Temperature *float64 + TransBatteryFlag *BatteryState + TransmitterID *int + UVIndex *float64 + Wetbulb *float64 + WindChill *float64 + WindDirAtHighLast10Min *float64 + WindDirAtHighLast2Min *float64 + WindDirAvgLast10Min *float64 + WindDirAvgLast1Min *float64 + WindDirAvgLast2Min *float64 + WindDirLast *float64 + WindSpeedAvgLast10Min *float64 + WindSpeedAvgLast1Min *float64 + WindSpeedAvgLast2Min *float64 + WindSpeedHighLast10Min *float64 + WindSpeedHighLast2Min *float64 + WindSpeedLast *float64 + type WeatherLSSBarometer struct + BarometerAbsolute *float64 + BarometerSeaLevel *float64 + BarometerTrend *float64 + type WeatherLSSTempRh struct + DewPointIndoor *float64 + HeatIndexIndoor *float64 + HumidityIndoor *float64 + TemperatureIndoor *float64