We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb12cab commit 51dc5a6Copy full SHA for 51dc5a6
WeatherStationCoreLink/main.py
@@ -28,7 +28,7 @@ def reboot():
28
os.system('curl -X POST --header "Content-Type:application/json" "' + rebooturl + '"')
29
time.sleep(60) # Just in case that api call fails AGAIN as it sometimes does
30
sys.exit() #This forces a container restart anyway
31
-
+reboot()
32
serialport = "/dev/ttyUSB0"
33
baudrate = os.environ.get('baudRate', 19200) #Set the Baudrate to 19200 which is a nice default for the davis logger
34
try:
0 commit comments