Crossmgrvideo triggers from webscorer

58 views
Skip to first unread message

Erik Olson

unread,
May 31, 2023, 4:52:33 PM5/31/23
to CrossMgrSoftware
This package looks very impressive!

Before I dive in too deeply, I wanted to check if what I am looking to do is even possible.

Here is my scenario:
1) We do weekly MTB races using Webscorer and impinj RFID reader.  This works well for us, but we need a backup system.
2) I would like to build a video backup system to capture footage of riders as they are read by the RFID.  Crossmgrvideo looks like it would be a great fit
3) It would be great if Crossmgr could back up Webscorer by having both systems getting triggers from the Impinj reader.  From a very casual glance at the LLRP spec, it looks like LLRP systems can only have one client talking to the read.  Perhaps I am wrong, if so please correct. 
4) Webscorer will send 'triggers' to FinishLynx via IP.  I am hoping that I could use those packets to trigger Crossmgr/video.  We have a 'developer' level relationship with Webscorer so maybe they can build something if it isn't too hard.

If this all makes sense, here are some questions:
1) Does anyone know if it is possible to have two clients (Webscorer and Crossmgr) getting the same data from an Impinj reader at the same time?
2) Is there a way to trigger Crossmgr by sending it packets from a random source, like Webscorer?  I would think I could somehow fake Impinj data from the Webscorer data, but wanted to see if there might be a better way or if someone has done this already.

Anyway, thanks for reading this far.  If you have any ideas on if/how a crazy system like this could work please let me know.

Best,

-Erik Olson

Edward Sitarski

unread,
May 31, 2023, 6:23:19 PM5/31/23
to crossmgr...@googlegroups.com
Quick answer:

1) it is impossible to have two clients sharing an RFID reader.  This is a dead end.
2) yes, it is possible to "trigger" CrossMgr/CrossMgrVideo from outside sources.

Regarding (2), the easiest way is with CrossMgr's mini-web server and json.

Really long answer:

CrossMgr supports an internal mini-web server on port 8765 of the computer it is running on.
This mini-server accepts POST calls.  The two calls that are important here are:

127.0.0.1:8765://rfid.js
127.0.0.1:8765://bib.js

The rfid.js handler expects a POST call with a json payload in the following format:
 {
   data: [
      {  tag: "3452345", t:"2023-10-31T11:30:02.020" },
      {  tag: "1152345", t:"2023-10-31T11:32:02.020" },
      ...
   ]
}

That is, an object with a "data" field that is an array of objects with "tag" and "t" (iso time format).
In summary, if you do a 127.0.0.1://rfid.js with a POST json payload as shown above, that data will be processed by CrossMgr.

bib.js expects a POST call with a similar json payload, but with bib instead of tag:
 {
   data: [
      { bib: 112, t:"2023-10-31T11:30:02.020" },
      { bib: 116, t:"2023-10-31T11:32:02.020" },
      ...
   ]
}

You still have to figure out how to send data from Webscorer to CrossMgr, but using the web server is probably the easiest.
Because the data is timestamped, the integration does not have to happen in real time (of course, if you have it in real-time, each message could only have one entry in the data array).
CrossMgr will use the times you pass it, even if they are in the past.
CrossMgrVideo constantly runs an 8 second buffer, so, as long as the messages get to CrossMgr within 8 seconds, it will be able to process the request.

You will need to configure the CrossMgr spreadsheet and categories so it knows how to interpret the data.
This is especially important if you are sending rfid tags as CrossMgr needs to know how to map the tags to the riders.
You also need to set the RFID Reader in CrossMgr to WebReader if you are using rfid.js.

All told, this would be a lot of complexity.

I feel I would be remiss if I didn't mention that CrossMgr/RaceDB are becoming a very slick solution that supports self-serve athlete check-in, RFID timing and USB Camera.  Deployment is simple and easy, with rich web-based race analytics.
Check out our 2023 progress at the Midweek criterium in 2023 here.
I'm fine if you want to stay with WebScorer, but if you are interested in learning more, let me know.

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossmgrsoftware/08ffc5a0-63f2-4626-8aa2-f1bfc4946f5dn%40googlegroups.com.


--

Edward Sitarski

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages