NTP seems not to survive reset - either manual or from a crash

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
nigelbe
Normal user
Posts: 12
Joined: 16 Jun 2017, 12:37

NTP seems not to survive reset - either manual or from a crash

#1 Post by nigelbe » 30 Jun 2017, 12:01

Using v2.0.0-dev10 from the binary releases on sonoff (1 meg) or Wemos d1 mini (4 meg).
I am keen to use NTP and I have tried various NTP servers pool.ntp.org, uk.pool.ntp.org and my local network NTP server either as hostname or IP address.
It seems to be very fragile. is it not checked on boot?

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: NTP seems not to survive reset - either manual or from a crash

#2 Post by papperone » 30 Jun 2017, 12:10

Can you provide more details, with such post it close to mission impossible to help?

Here NTP works flawlessy on all release I do have for DEV and TEST environment, from R148 to 2.0-dev10.
I have several Wemos D1 Mini, Sonoff single and personal development boards.
All of them are setup to use "pool.ntp.org" and all works perfectly (just rebooted 3 test units and all of them are back up with right date/time almost instantly, so I can failry state it's not ESPEasy issue).

G.
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: NTP seems not to survive reset - either manual or from a crash

#3 Post by Shardan » 30 Jun 2017, 13:19

Hello Nigel,

Same as with papperone, i use a bunch of several ESP's from WeMOS and nodeMCU for testing, sonoffs and a lot of selfmade devices with embedded ESP.
All devices work properly on my NTP home server (Raspberry B / Raspian Jessie / DCF-Receiver + pool.ntp.org as time source).

As a lot of your devices seem not to work the reason might be somewhere in your WiFi.
But without a lot of more info it's impossible to say.

Regards
Shardan
Regards
Shardan

nigelbe
Normal user
Posts: 12
Joined: 16 Jun 2017, 12:37

Re: NTP seems not to survive reset - either manual or from a crash

#4 Post by nigelbe » 30 Jun 2017, 15:26

Thanks all,

I think the trouble is non-empty flash storage confusing everything. I'm working on it now.

nigelbe
Normal user
Posts: 12
Joined: 16 Jun 2017, 12:37

Re: NTP seems not to survive reset - either manual or from a crash

#5 Post by nigelbe » 30 Jun 2017, 16:10

I'm almost certain now that the trouble was having Use SSDP: selected.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests