taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
496 stars 125 forks source link

Set time variables only on timestamp message. #339

Open frankonski opened 2 months ago

frankonski commented 2 months ago

Without this, dsc.year, dsc.month, dsc.hour and dsc.minute becomes messed up. This ensure the time-related variables are only changed when a Timestamp message arrives, which is every 240 seconds (4 minutes) on a PC1832.