I am porting an old project which I wrote for a STM32L152 to the Particle Photon and I have some questions.
First I will describe the current project. I am using a STM32 Discovery board, a DCF77 time receiver and a stepper motor controller. With the DCF77 I receive the current time, I am calculating the sunset time per day, and at sunset time, I close the door of my chickenhouse Everyday at 8.30 in the morning, Door is open.
Now, I planned to use the SparkTime library from @bko because of the DST integration. But I also would like to use RTC alarms. The Timealarms library is written for the internal time library and that library is not able to use the automatic DST.
Previously, I have used the SetAlarmIT functions on my STM32L152 board. Is this also an option to use on the Photon?
Or how is it possible to use RTC alarms and the time function with DST?