I have never used the Browser Consol. I took your direction but used the socket my python has already opened:
ws = new WebSocket("ws://10.0.100.5:8080/panels/scoring/red/websocket?")
ws.onmessage = function (event) {
console.log(event.data);
}
console output=
Looks like match state 3 and 5 would be helpfull.
{"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":0}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":1}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":2}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":3}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":4}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":5}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":6}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":7}}
VM175:2 {"type":"ping","data":null}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":8}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":9}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":10}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":11}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":12}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":13}}
VM175:2 {"type":"matchTime","data":{"MatchState":3,"MatchTimeSec":14}}
VM175:2 {"type":"matchTime","data":{"MatchState":4,"MatchTimeSec":15}}
VM175:2 {"type":"matchTime","data":{"MatchState":4,"MatchTimeSec":16}}
VM175:2 {"type":"realtimeScore","data":{"Red":{"Score":{"ExitedInitiationLine":[false,false,false],"AutoCellsBottom":[0,0],"AutoCellsOuter":[0,0],"AutoCellsInner":[0,0],"TeleopCellsBottom":[0,0,0,0],"TeleopCellsOuter":[0,0,0,0],"TeleopCellsInner":[0,0,0,0],"ControlPanelStatus":0,"EndgameStatuses":[0,0,0],"RungIsLevel":false,"Fouls":null,"ElimDq":false,"PositionControlTargetColor":0},"ScoreSummary":{"InitiationLinePoints":0,"AutoPowerCellPoints":0,"AutoPoints":0,"TeleopPowerCellPoints":0,"PowerCellPoints":0,"ControlPanelPoints":0,"EndgamePoints":0,"TotalCells":0,"FoulPoints":0,"Score":0,"StagePowerCellsRemaining":[9,15,15],"StagesActivated":[false,false,false],"ControlPanelRankingPoint":false,"EndgameRankingPoint":false},"ControlPanel":{"CurrentColor":0,"ControlPanelStatus":0,"ControlPanelLightState":0}},"Blue":{"Score":{"ExitedInitiationLine":[false,false,false],"AutoCellsBottom":[0,0],"AutoCellsOuter":[0,0],"AutoCellsInner":[0,0],"TeleopCellsBottom":[0,0,0,0],"TeleopCellsOuter":[0,0,0,0],"TeleopCellsInner":[0,0,0,0],"ControlPanelStatus":0,"EndgameStatuses":[0,0,0],"RungIsLevel":false,"Fouls":null,"ElimDq":false,"PositionControlTargetColor":0},"ScoreSummary":{"InitiationLinePoints":0,"AutoPowerCellPoints":0,"AutoPoints":0,"TeleopPowerCellPoints":0,"PowerCellPoints":0,"ControlPanelPoints":0,"EndgamePoints":0,"TotalCells":0,"FoulPoints":0,"Score":0,"StagePowerCellsRemaining":[9,15,15],"StagesActivated":[false,false,false],"ControlPanelRankingPoint":false,"EndgameRankingPoint":false},"ControlPanel":{"CurrentColor":0,"ControlPanelStatus":0,"ControlPanelLightState":0}},"MatchState":5}}
VM175:2 {"type":"matchTime","data":{"MatchState":5,"MatchTimeSec":17}}
VM175:2 {"type":"ping","data":null}
VM175:2 {"type":"matchTime","data":{"MatchState":5,"MatchTimeSec":18}}
VM175:2 {"type":"matchTime","data":{"MatchState":5,"MatchTimeSec":19}}
VM175:2 {"type":"matchTime","data":{"MatchState":5,"MatchTimeSec":20}}
VM175:2 {"type":"matchTime","data":{"MatchState":5,"MatchTimeSec":21}}