Skip to content

This is a streetlamp simulator, it is connected to the local session D-Bus

License

Notifications You must be signed in to change notification settings

bbvch/street-light-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

street-light-simulator Build Status License Coverage Status Documentation

What

This is a streetlamp simulator.

You can turn (a picture of) a street lamp on/off over the the local D-BUS. The application also outputs light values over the D-BUS. Day and night will change according to a certain, configurable cycle with a quantity of randomness between day and night duration. The duration of day and night is the same on multiple machines (on every machine night starts at the same second).

Why

This program is used for a bbv internal workshop in connection with streetlightd.

Who

This program is authored by bbv Software Services AG.

Prerequisites

On a fresh Xenial Ubuntu you need to install the following packages:

qml-module-qtquick2 qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-particles2 qt5-default qtdeclarative5-dev

If you haven't already built gtest you have to install

cmake libgtest-dev

and compile the library like this

Building

The easiest way is through the Qt creator. But you may also use qmake as follows:

  1. Go in to App or test directory
  2. Run
    qmake .
    make

License

This program is licensed under the GNU V3 license.

About

This is a streetlamp simulator, it is connected to the local session D-Bus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published