MFRC522, Ethernet/Serial, Nano/Uno/Mega, MQTT???
Guys,
Yeah, you read that right! I have been playing around a LOT with MQTT lately and getting stuff to work with JMRI. So this evening I decided to use the working MFRC522 sketch, first over Serial, and then over Ethernet, using Node-Red (amazing bit of software!), to parse the incoming ReaderIDs, tag data, etc. into MQTT Out (publish topics) for the Sensor, Reporter, and ID Tag objects. It was crazy how easily and quickly I got this to work. Granted, JMRI cannot auto-generate the Sensor and Reporter objects like it can with a defined RFID connection type, but it absolutely can handle RFID readers connected via MQTT, which might be a very attractive route for some. Or many? All I know is that it works and works well. Sorry for the little tangent here, but I was very pleased and excited about this. LOL!
Tom