ntptime.py howto change host
Posted: Sun Jan 06, 2019 2:57 pm
is the line:
host = "pool.ntp.org"
in ntptime.py changeable?
I copied this from https://github.com/micropython/micropyt ... ntptime.py.
is this even the file used by 'import ntptime' ?
I would like to run several esp8266 boards on an internal net or sub net that is not connected to the internet. ntp server would be a raspberry pi (I have that serving other computers - works well).
how can I change the host, and where.
hope I don't have to go messing around with the esp8266.---.bin file as I'm not sure I would be capable of doing that.
Thanks,
John
host = "pool.ntp.org"
in ntptime.py changeable?
I copied this from https://github.com/micropython/micropyt ... ntptime.py.
is this even the file used by 'import ntptime' ?
I would like to run several esp8266 boards on an internal net or sub net that is not connected to the internet. ntp server would be a raspberry pi (I have that serving other computers - works well).
how can I change the host, and where.
hope I don't have to go messing around with the esp8266.---.bin file as I'm not sure I would be capable of doing that.
Thanks,
John