Compare commits
2 Commits
09909ec041
...
1c603a5cb1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c603a5cb1 | ||
|
|
186fdbb952 |
2
main.py
2
main.py
|
|
@ -20,6 +20,7 @@ from collections import deque
|
|||
import numpy as np
|
||||
import aiohttp
|
||||
import httpx
|
||||
import time
|
||||
|
||||
from serial_manager import SerialConfig, SerialStore, SerialReader
|
||||
from protocol_decoder import decode_frames
|
||||
|
|
@ -309,6 +310,7 @@ def send_command(state: str, pu_number: int, ploop_setpoint: float = Query(...),
|
|||
}
|
||||
|
||||
except Exception as e:
|
||||
logging.error(str(e))
|
||||
raise HTTPException(status_code=500, detail=str(e))
|
||||
|
||||
## MONITORING
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user