gropi75 / SEM32

SEM32 (Solar Energy Manager 32) based on ESP32 for Soyosource Inverter, Huawei r4850g2 power supply and 48V battery
MIT License
10 stars 3 forks source link

Provide time information #16

Closed gropi75 closed 1 year ago

gropi75 commented 1 year ago

Calculate once a day and at startup following variables: All time variable shall have the range 0.0-23.99. float sunrise_today // sunrise today float sunset_today // sunset today float sunrise_tomorrow // sunrise tomorrow

Provide the following time information: float actual_time // contains the actual time, same format as defined above int day_of_week // shows which day is today, Monday.... Sunday char[8] date_today // date of today with format yyyymmdd (20230312) char[8] date_tomorrow // date for tomorro with format yyyymmdd (20230312)

gropi75 commented 1 year ago

Implemented