I know this documentation! I read it before.
I already used the pushState event … but only together with getState request.
I am a beginner with python and socketio!
I wrongly interpreted the following documentation:
Get Player State
I thought the pushState event only occur if I send an getState request to the volumio server.
But this is wrong! pushState event is sent after each change of the state.
Thank you for this hint!
Your answer pushed me in the right direction and I wrote a little test routine in python.
When I changed the state using the browser UI the test routine listed all the state changes without sending getState requests.