2.1.1. Apartment live 2D Map

The Apartment live 2D Map provides a SVG based map of the apartment which is enhanced wit live data from the apartment internal sensors. Individual sensor data is represented with basic geometry elements. Currently the following elements are represented in the map:

  • Fibaro motion data
  • Sensfloor capacity data (see Floor)
  • Person tracking hypotheses (see Person Tracking)
../_images/map2d.png

A screenshot of the mapping component.

2.1.1.2. Software Details

The component is implemented by following the basic MVC pattern. Therefore it is very easy to add sensory data to be presented. In order to add your own data to the map you need to do the following:

  • Register your component and its translation in the device manager
  • Create a simple UI shape element to show your data or reuse one of the existing
  • Create a handler to handle the visual properties w.r.t. the data received via RSB (has to extend the abstract class AbstractEventHandler)

2.1.1.3. Examples

Todo

TODO