Maybe it was done by the system department (which is more likely because we were monitoring it with nigos web app) but the tool we had installed python scripts running socket based server to a location from where it was picked.
From last few days I had particle photon set up as tcp client to send room temperature and humidity to a tcp server running on a raspberry pi.
Now I feel like doing it in python since python is one of my favourite programming toolkit. And I also need to write some more systemd service to run python code to fetch data from rest api on internet and post the data to mysql server.