Main Page

From Smart City Starter Kit
Revision as of 13:36, 8 October 2018 by Mw scsk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In Eindhoven DITSS developed, with partners like Atos and the State Advocate Pels Rijcken, the Smart City StarterK!t. Its purpose is to contribute to developing an innovation platform to improve the safety and security of systems and people in tomorrow’s Smart City.

About the kit
Our Smart City StarterK!t contains both non-technological instruments as well as technological solutions. Non-technological instruments are policies that municipalities can use to smooth the transition in their city; think of Open Data Principles to address ownership of publicly created data or an IoT Charter to help hardware suppliers cooperate on the equipment they install in the city.

Fiware
The technology part is the translation of 5 years of application and software development into a FIWARE implementation. FIWARE is an initiative of the European Commission to facilitate Smart City developments with Open Source software and a shared reference architecture (a common framework). Using the StarterK!t enables cities to skip man-years of Living Lab research and man-months on FIWARE software development.

Non technological documentation

Smart City Starter Kit v.1.0

Technological documentation

Installation script (beta)
The installation script has been tested on the following systems:

  • Ubuntu 17.10.1 64bit (iso)
  • Ubuntu 18.04.1 64bit (iso)
  • Ubuntu 18.04.1 Server 64bit (iso)

Keep in mind that at least 4GB free RAM and an active internet connection are required.

Installation

Please download the Shell installation script using:

$ wget http://scsk.all.atostechlab.net/files/version/1.0/setup_ubuntu.sh

After uploading the file, please change file permissions using:

$ chmod 755 setup_ubuntu.sh

Then execute the file using:

$ sudo ./setup_ubuntu.sh

The Smart City Starter Kit uses Docker containers for each of the components. The following Fiware components will be installed:

When the installation is finished, please navigate to the installation directory using:

$ cd ~/scsk/v1.0

You can check the status of the Docker containers using:

$ sudo docker-compose ps

It should look like this:

   Name                  Command               State                            Ports
----------------------------------------------------------------------------------------------------------------
db-crate       /docker-entrypoint.sh -Ccl ...   Up      0.0.0.0:4200->4200/tcp, 0.0.0.0:4300->4300/tcp, 5432/tcp
grafana        /run.sh                          Up      0.0.0.0:3003->3000/tcp
iot-mongo      docker-entrypoint.sh mongo ...   Up      0.0.0.0:27017->27017/tcp
orion          /usr/bin/contextBroker -fg ...   Up      0.0.0.0:1026->1026/tcp
quantum-leap   /bin/sh -c python app.py         Up      0.0.0.0:8668->8668/tcp


The new installation has some connections with airboxes in Eindhoven by default. This will help you to understand the purpose of the different Fiware components and to connect your own IOT-devices. A Grafana dashboard is available at http://{HOST-IP}:3003. You can login using the default Grafana credentials (admin/admin). You can navigate to the dashboard to see a map with all the airboxes in Eindhoven, as well as a graph that shows an example of historical airbox data.

If you want to check the connection to the airboxes in Eindhoven, you can run the following to do a manual update:

$ python export_air_quality.py update

A cron job to execute this Python script is scheduled for every 10 minutes. You can view the results of this cron job using:

$ cd /var/mail | ls -l

After installation, your Grafana dashboard should look like this:

.

Note that both the implementation configuration guide and the shell installation script are still under development. If you'd like to contribute to the development, please contact us!

Contact us

Contact us