Skip to content

Commit

Permalink
sent list command at serial monitor startup
Browse files Browse the repository at this point in the history
  • Loading branch information
TrystanLea committed Feb 4, 2024
1 parent bc92e36 commit 63dcb07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions scripts/serialmonitor/serialmonitor.py
Expand Up @@ -79,6 +79,13 @@ def reset():
print("Could not open serial port "+str(device)+" "+str(baudrate))
sys.exit(0)
# -------------------------------------------------------------


time.sleep(1)

ser.write(("l\n").encode())
r.rpush('serialmonitor-log',"Loading configuration, list (l) command sent:\n")

linestr = ""
while True:
# Check for standard input or serial input (timeout of .2 sec):
Expand Down
2 changes: 1 addition & 1 deletion version.json
@@ -1,6 +1,6 @@
{
"name" : "Emoncms Core",
"version" : "11.4.10",
"version" : "11.4.11",
"location" : "/var/www",
"branches_available": ["stable","master"]
}

0 comments on commit 63dcb07

Please sign in to comment.