Open SvenDowideit opened 5 years ago
atm, the rfid python code will continueously push read events to the message q -
cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:52.665771", "EPC": "3000e20040057307002515407706", "RSSI": "51", "event": "inserted", "device": "yellow-rfid", "TagPC": "14", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:52.748387", "EPC": "3000e20040057307002515407706", "RSSI": "4d", "event": "inserted", "device": "yellow-rfid", "TagPC": "1c", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:52.814787", "EPC": "3000e20040057307002515407706", "RSSI": "4d", "event": "inserted", "device": "yellow-rfid", "TagPC": "18", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:52.884969", "EPC": "3000e20040057307002515407706", "RSSI": "49", "event": "inserted", "device": "yellow-rfid", "TagPC": "18", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:52.966296", "EPC": "3000e20040057307002515407706", "RSSI": "45", "event": "inserted", "device": "yellow-rfid", "TagPC": "1c", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:53.026393", "EPC": "3000e20040057307002515407706", "RSSI": "4a", "event": "inserted", "device": "yellow-rfid", "TagPC": "14", "FreqAnt": "89"} cauldron/yellow-rfid/scan {"time": "2018-12-08T05:46:53.112724", "EPC": "3000e20040057307002515407706", "RSSI": "48", "event": "inserted", "device": "yellow-rfid", "TagPC": "20", "FreqAnt": "89"} c``` we don't need the same tags to be shown this often - we probably only need them once, or for the dueling, in some way to detect "attack"
I've hacked in a one second delay into the rfid-thinkmagic code, its naive - better to have some form of scan on, update if the rssi changes lots (idk if we're really going to use it) and removed event...
atm, the rfid python code will continueously push read events to the message q -