Skip to content

Documentation for the trafic light server

Vasileios Karavasilis edited this page Oct 24, 2015 · 2 revisions

Traffic light server

The traffic light server consists of two parts.

The first part contains a LAMP server. The status (which lights are on) and the chain status (how light are turn on and off through time) are stored in a mysql database. In order to change the contents of the mysql the following php files exist:

The second part consists of the python program https://github.com/ellak-monades-aristeias/system-of-traffic-lights-and-raspberry-pi-for-air-quality-estimation/blob/master/src/raspberryServer/opt/trafficLight/traficLightServer.py. This program runs and periodically changes the current status in the database. So a client can get the current status from the database.

Clone this wiki locally