updated port
This commit is contained in:
		
							parent
							
								
									28ee78d055
								
							
						
					
					
						commit
						79c5a8e941
					
				
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							|  | @ -436,7 +436,7 @@ async def send_command_with_delay( | ||||||
|     await asyncio.sleep(delay_s) |     await asyncio.sleep(delay_s) | ||||||
|     logging.info(f"[AUTO TEST] Sending {state} to PU{pu} after {delay_s}s") |     logging.info(f"[AUTO TEST] Sending {state} to PU{pu} after {delay_s}s") | ||||||
| 
 | 
 | ||||||
|     url = f"http://127.0.0.1:8000/command/{state}/pu/{pu}?ploop_setpoint={ploop_setpoint}&qperm_setpoint={qperm_setpoint}" |     url = f"http://127.0.0.1:8080/command/{state}/pu/{pu}?ploop_setpoint={ploop_setpoint}&qperm_setpoint={qperm_setpoint}" | ||||||
|     try: |     try: | ||||||
|         async with httpx.AsyncClient(timeout=5.0) as client: |         async with httpx.AsyncClient(timeout=5.0) as client: | ||||||
|             response = await client.post(url) |             response = await client.post(url) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user