FAQ - Frequently Asked Questions

Note: This FAQ mainly covers questions regarding the Software Development Kit (SDK). For general questions regarding OGEMA see contacts on the OGEMA Homepage (FAQ to be added in the future).

Is it required to use the SDK when developing applications, driver, widgets and util classes for OGEMA?

No, you can also develop for OGEMA using any IDE you want. But we recommend to use the SDK for several advantages:

  • Get started much more quickly
  • Save time on common operations such as setting up new projects and patterns
  • Use a common project structure that makes using examples and support much easier

How much Java programming experience is required to use the SDK?

To get first sample projects running you do not have to touch any Java code at all. Experience in Java development definitively helps to get started quickly with OGEMA, but the SDK and the samples are also a great way to get into first Java programming if you have experience with other programming languages.

Where can I find a tutorial for the development of home automation applications with the SDK?

Where can I find a tutorial for the development of a new hardware driver for OGEMA?

See the introduction in the Section "How to write a hardware driver for OGEMA" on the tutorial overview page and the linked page there.

Why should I use OGEMA?

Some quick points on a long story:

  • Develop your own control logic and user interface for energy and building management based on any devices for which OGEMA already offers a hardware driver.
    Best supported drivers are currently Homematic, KNX and ModBus.
    This is mostly used for Smart Home and Smart Office applications currently, but also Industry 4.0.
  • If you want to connect hardware devices for which other drivers exist or for which you know how to make the connection using Java you can add/adapt the respective OGEMA driver. Basic drivers that can be extended for specific devices are Z-Wave, IEC 61850, DLMS, ...
  • If you want to setup a web server with a web-based GUI, database, backup and modular logic, logging of event and traffic etc. OGEMA offers everything to develop GUI and logic plus setup of the server quickly. OGEMA offers a rapid and secure prototyping base. This can be used to develop a scalable server solution later on using other technology desgnied for medium and high traffic/load servers.
  • In all cases you have full control over all data stored and processed by OGEMA. OGEMA can be connected to cloud services, but OGEMA itself is not in any way cloud-based. You can install OGEMA in your own cloud, of course.

How can I share my OGEMA applications and drivers with other developers?

Coming soon: The Smartrplace Appstore

How can I get the hardware required to setup my first home / office automation system with OGEMA?

An OGEMA Gateway with hardware interfaces supporting the most important drivers will be offered by Smartrplace soon. The SDK will allow to directly install software on this device, but also from the Appstore.

I would like to adapt / extend an OGEMA app / driver that has been published as Open Source. Should I just fork it?

Forking it on Git may be a good idea to get started. Please send a merge request as soon as your extension is productive. You are welcome to discuss your extension with the maintainer of the project to make it as easy as possible for you to develop in line with the project roadmap and to get your extensions into the project. If you are planning adaptions that aim to use the code for a quite different application you can also develop your own application based on this fork. If you have questions regarding this, please contact... (central support office).

Tags:
Created by Jan Lapp on 2016/06/28 17:57