I had the enjoyment of competing at Hack Manchester Jr this week, and despite not knowing anyone upon entering I had one of the best experiences I have ever had at a hackathon. We took part in the Texecom challenge. This required us to use data that had been collected by sensors throughout the building. We decided to build a dashboard with comedic effect. This, despite workers rights suggested that the fewer breaks the worker takes the better! (We know this isn’t the case but it can be implemented in the opposite direction)
See below the interface we designed, as you can see it forms a dashboard and is very retro themed. There are some small pieces of code to edit the gif such as transforming the top ghost to look in the opposite direction. I also included the average temperature over the four room with a vision to add individual temperatures. I also added the number of times a door had been opened again by querying the database and returning the number of records with that device ID.
Calculations were also interesting so I learnt how to use math functions within PHP and therefore could do all of my querying and interrogation server side therefore reducing the load an the client. This means the site loads slightly quicker.
See my other blogs to come talking about my prize – a SEGA Megadrive clone
For a link to my code see – GitHub