fix RTC compile error and flag invalid configs
Merge branch 'rapi' of https://github.com/lincomatic/open_evse into rapi