ESPHome  2024.11.0
Namespaces | Data Structures | Enumerations | Functions
esphome::sun Namespace Reference

Namespaces

 internal
 

Data Structures

class  Sun
 
class  SunCondition
 
class  SunSensor
 
class  SunTextSensor
 
class  SunTrigger
 

Enumerations

enum  SensorType { SUN_SENSOR_ELEVATION, SUN_SENSOR_AZIMUTH }
 

Functions

num_t degrees (num_t rad)
 
num_t radians (num_t deg)
 
num_t arcdeg (num_t deg, num_t minutes, num_t seconds)
 
num_t sq (num_t x)
 
num_t cb (num_t x)
 
num_t julian_day (ESPTime moment)
 
num_t delta_t (ESPTime moment)
 
num_t wmod (num_t x, num_t y)
 

Enumeration Type Documentation

◆ SensorType

Enumerator
SUN_SENSOR_ELEVATION 
SUN_SENSOR_AZIMUTH 

Definition at line 10 of file sun_sensor.h.

Function Documentation

◆ arcdeg()

num_t esphome::sun::arcdeg ( num_t  deg,
num_t  minutes,
num_t  seconds 
)
inline

Definition at line 29 of file sun.cpp.

◆ cb()

num_t esphome::sun::cb ( num_t  x)
inline

Definition at line 31 of file sun.cpp.

◆ degrees()

num_t esphome::sun::degrees ( num_t  rad)
inline

Definition at line 27 of file sun.cpp.

◆ delta_t()

num_t esphome::sun::delta_t ( ESPTime  moment)

Definition at line 57 of file sun.cpp.

◆ julian_day()

num_t esphome::sun::julian_day ( ESPTime  moment)

Definition at line 40 of file sun.cpp.

◆ radians()

num_t esphome::sun::radians ( num_t  deg)
inline

Definition at line 28 of file sun.cpp.

◆ sq()

num_t esphome::sun::sq ( num_t  x)
inline

Definition at line 30 of file sun.cpp.

◆ wmod()

num_t esphome::sun::wmod ( num_t  x,
num_t  y 
)

Definition at line 63 of file sun.cpp.