Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
3bcb31f
1
Parent(s):
2281f6a
Update app.py
Browse files
app.py
CHANGED
@@ -149,6 +149,13 @@ def l_ON_set():
|
|
149 |
|
150 |
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
@app.route("/api", methods=['GET'])
|
154 |
def handle_api():
|
|
|
149 |
|
150 |
|
151 |
|
152 |
+
@app.route('/l_OFF_set')
|
153 |
+
def l_OFF_set():
|
154 |
+
globs.l_OFF_h_set = request.args.get('l_OFF_h_set')
|
155 |
+
globs.l_OFF_m_set = request.args.get('l_OFF_m_set')
|
156 |
+
globs.eep_set = 8
|
157 |
+
return "EC value set successfully"
|
158 |
+
|
159 |
|
160 |
@app.route("/api", methods=['GET'])
|
161 |
def handle_api():
|