Hi,
I have some smart plugs flashed with OpenBeken and I was hoping to set up their NTP server. These smart plugs will be used on one of two networks, each with their own NTP server. I was hoping not to have to reconfigure them every time they switch between the networks. I thought of a couple ideas, would any of these work?
1) Set two NTP servers, it will just use whichever one it can contact. Looking at the OpenBK source code it looks like only one IP can be set for this, so not an option.
2) Conditional -- I saw that there's an
if
3) DHCP -- will OpenBeken respect the NTP option set in DHCP?
Will any of these work for making my autoexec.bat set NTPServer to the appropriate one? Or some other way?
Thank you, and feel free to send me to the documentation if I missed something.