Hello there, I am making a stream deck integration with pomotroid using its WebSocket API.
Everything works well!! WebSocket API is connected and sending messages to the client
But, when I send getState request I don't receive any response
I wrote a python script just to check that and it's just receives the RoundChanges
import asyncio
import json
import websockets
async def get_state():
uri = "ws://127.0.0.1:1314/ws"
async with websockets.connect(uri) as ws:
payload = json.dumps({"type": "getState"})
await ws.send(payload)
print(f"Sent: {payload}")
response = await ws.recv()
print(f"Received: {response}")
asyncio.run(get_state())
Hello there, I am making a stream deck integration with pomotroid using its WebSocket API.
Everything works well!! WebSocket API is connected and sending messages to the client
But, when I send getState request I don't receive any response
I wrote a python script just to check that and it's just receives the RoundChanges