.. _applogic: App Logic ========= The logic of the Knut app communicates with the `Knut Server `_ via TCP and provides all information received from the server as properties which can be used in the QML part of the app aka the :ref:`appui`. At the heart of the app's logic is the :ref:`knutclient` which is used by each service to communicate to the server. Each service in the server can be accessed via a dedicated API to which the :ref:`knutclient` sends a JSON formatted message string. Read the `API documentations `_ for more information about the message format of each service. .. toctree:: :maxdepth: 2 :caption: Code Documentation reference/knutclient reference/knuthelper reference/lightservice reference/localservice reference/taskservice reference/temperatureservice