Initial commit: ICU Patient Display Management System
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import sqlite3
|
||||
|
||||
conn = sqlite3.connect("icu_local.db")
|
||||
c = conn.cursor()
|
||||
|
||||
# Set pending_update to 1 for all displays to force them to refresh
|
||||
c.execute("UPDATE display_devices SET pending_update = 1")
|
||||
conn.commit()
|
||||
|
||||
print("Set pending_update = 1 for all displays. The ESP32 should pick this up on its next heartbeat!")
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user