-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTGO T-Beam T22: Permanently 01.Jan 1970 #639
Comments
Set TimeSyncInterval to zero in paxcounter.conf, then time display will be suppressed. |
If GPS is not working, check
If you don't get a fix, go outside and wait some minutes. |
Board ttgobeam10.h is (was) configured. GPS is working...red LED is flashing...I kept the T-BEAM outside for 15 minutes: 7 satellites. Just attached the archive config.zip which contains:
|
You set |
Changed to #define TIME_SYNC_LORAWAN 0 accordingly but still 01.Jan 1970 with Sats:05 on the display. Attached message found during RUN. |
Message is normal, has no impact. To enforce a time sync, send rcommand 0x87 on port 2 (see readme.md). |
Then it's a bug, probably in |
Until now nothing but I'll try... |
I'm getting the same issue and think I have found a fix. Will post details later. |
…ime in first call is invalid, then time will never get updated from GPS cyberman54#639
This is what happens:
Proposed fix:
|
On another look, it might be better to set the time source to
|
…NTERVAL_RETRY is used over TIME_SYNC_INTERVAL when GPS time was invalid
Fix: issue #639, if no LORA time source available and GPS time in fir…
@GeorgWolter could you please test the fix? |
Please wait 10 minutes, then time should sync. |
Can you please check that TIME_SYNC_INTERVAL_RETRY is set to 1 in paxcounter.conf? |
|
I Set TIME_SYNC_INTERVAL_RETRY = 1 and created the attached logfile by capturing it from serial. |
@GeorgWolter you have LORA timesync enabled, thus using LORA network / LORA server as primary timesoure, not GPS. As explained above, please disable. Otherwise GPS will act as fallback timesource only. |
If you do it right...Retest passed: 28. Sep 2020 |
but... there should be a "G" on the display, behind the time/date row. If not, you're probably using OneBitDisplay Library > v1.5.0; those newer versions have a bug. I corrected it already, but we need to wait until v1.7.2 or greater is out. |
Just checked this here in my VSC / Platform.io IDE:
|
Bug is located in OneBitDisplayLibrary > v1.5.0, not in the Adafruit libs. |
I am having here a second T-Team board (v.1.0) where both LEDs blue and red aren't shining anymore. |
@GeorgWolter Sounds like a power issue. A possible root cause could be a misconfigured Power Management Chip AXP197. The chip controls all supply voltages on the board, including VDD for the ESP32. The chip has non volatile registers so settings |
Other anomalies with this board are:
Q: What would you do? |
Display is darker is when AXP192 set wrong voltage for the display VDD (output DCDC1) Paxcounter software does program the appropriate settings during power on (see ttgobeam10,h), but of course the ESP32 on the board needs power to run the software. If some kind of software sets output DCDC3 to off, the board is bricked, because this is the ESP32 power line. |
But Paxcounter is running. I can see the activities on the display. |
Found this: Deep-sleep |
Everything fine but the display permanently shows 01.Jan 1970.
Any advise?
The text was updated successfully, but these errors were encountered: