To optimize the energy usage and to support people with well illuminated streets at night in rural areas, the SmartLighting concept has been developed at Anhalt University of Applied Sciences. The goal of the project is to create a large-scale wireless sensor network over the existing street lighting infrastructure in order to create a SmartLighting system. In this system the maximum amount of power will be used only at the spots, at which it is needed and only when it is needed. The system fully relies on pedestrians' traffic, calculates and provides necessary lighting zones depending on their movement direction, while the street areas without any movements remaining unlighted. This leads to a decrease of overall street lamps' working time, saving a huge amount of energy and prolonging the lamps' life cycle.