Would not believe the hoops I had jumped thru to get the data where I wanted it. First 433mhz posts to MQTT, then I have a web page running in a loop, on an old Xserve that reads the data from MQTT. After reading data, it parses the data into CSV files, one for each device. Another web page then uses CSV data to create data blocks.
Could not use CSV directly from MQTT because it would just stop working after the file got so big (32mb I think).. JSON has the same issue, but a bit larger 64mb.
Data is not 100% real time, but it is only, at most 2 minutes or so old for each sensor. Each sensors sends data at its own rate. The receiver, caches and process the data, in batches every 10 seconds. Guess if data comes in during that time it is possible it could get lost, but I don’t think so.
Enjoyed working on this. Really hope to add more sensors and make the data look more sci-fi’ish. But that is for a later date.