Search found 2 matches

by spaceagejohnny
Mon Jan 28, 2019 6:03 pm
Forum: ESP8266 boards
Topic: ntptime.py howto change host
Replies: 2
Views: 3983

Re: ntptime.py howto change host

* as a side note, if you know the IP address of your own server, you don't need to even use the url getaddrinfo thing. You can just do s.sendto(NTY_QUERY, 1.23.45.67.8 90) (where 1.23.45.67.8 is the IP address of your server, and 90 is the port to which you want to connect). [/quote] I changed it .....
by spaceagejohnny
Sun Jan 06, 2019 2:57 pm
Forum: ESP8266 boards
Topic: ntptime.py howto change host
Replies: 2
Views: 3983

ntptime.py howto change host

is the line: host = "pool.ntp.org" in ntptime.py changeable? I copied this from https://github.com/micropython/micropython-infineon/blob/master/esp8266/scripts/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 i...