RTC sync not working
I am trying to get my 8-chan gateway extension board with a LoPy4.0 up and running, but i am running into this issue over and over again:
When reseting, and even after safe rebooting and reuploading the code, the board gets stuck in syncing with the ntp.
Does anyone have an idea how to solve this?
This is the corresponding terminal output from visual studio code:
Pybytes Version: 1.6.1
Type "help()" for more information.
Uploading project (main folder)...
Not safe booting, disabled in settings
Uploading to /flash...
Reading file status
[1/1] Writing file main.py (1kb)
Upload done, resetting board...
Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms
WiFi connection established
Connected to MQTT mqtt.pybytes.pycom.io
Pybytes connected successfully (using the built-in pybytes library)
Pybytes configuration read from /flash/pybytes_config.json
Starting LoRaWAN concentrator
Connecting to WiFi... OK
Syncing RTC via ntp............
First of all, we do not recommend running the Pygate in combination with Pybytes. Could you use the following to disable the pybytes on boot:
import pycom pycom.pybytes_on_boot(False)
Next, check if your network is allowed to connect to the ntp server listed in the file (
And make sure you're using the Pygate version of the micropython firmware (you can look for the pygate version in
Let me know