Skip to content

Websocket API | getState returns no response #415

Description

@RuverQ

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())

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions