--- layout: documentation title: Android App source: https://github.com/openhab/openhab-android/blob/master/docs/USAGE.md --- {% include base.html %} # Android App The openHAB Android application is a native client for openHAB, compatible with phones and tablets. The app follows the basic principles of the other openHAB UIs, like Basic UI, and presents your predefined openHAB [sitemap(s)](https://www.openhab.org/docs/configuration/sitemaps.html). Get it on Google Play Get it on F-Droid [[toc]]
Demo Overview Widget Overview Google Maps Widget
## Getting Started On first start the app tries to discover your openHAB server. This will only work on local networks and when the server does not enforce either authentication or HTTPS. If it fails, you can click on `Go to settings` and manually enter the server settings. The URL field(s) might look like one of the following examples: * IP address: `http://192.168.1.3:8080` * Local hostname: `http://openhab:8080` (depending on your network the suffix `.local` needs to be added to the hostname) * Remote domain name: `https://myopenhab.org` for an openHAB cloud account with [myopenHAB](http://www.myopenhab.org/) **Local server settings:** Please enter the base URL of your openHAB server, as you would enter it in the browser to reach the openHAB dashboard. **Remote server settings:** If your openHAB instance is reachable via a public address/domain from outside your home network, these settings will be used when the local connection is not successful. Make sure to secure this connection against unauthorized access. There are a number of strategies available to provide [secure remote access]({{base}}/installation/security.html) to your openHAB server. ## Features * Control your openHAB server and/or [openHAB Cloud instance](https://github.com/openhab/openhab-cloud), e.g., an account with [myopenHAB](http://www.myopenhab.org/) * Receive notifications through an openHAB Cloud connection, [read more](https://www.openhab.org/docs/configuration/actions.html#cloud-notification-actions) * Change items via NFC tags * Send voice commands to openHAB * [Send device information to openHAB](#send-device-information-to-openhab), like next alarm clock time or call state * [Supports wall mounted tablets](#permanent-deployment) * [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) action plugin included ### Permanent Deployment If you want to use openHAB Android on a wall mounted tablet, go to settings and select `Disable display timer` and `Fullscreen`. ### Send device information to openHAB You have to enable every information you want to send in the settings. Every settings has a default item name which is also used for example item definitions and rules below. If you have more than one device, it's recommended to fill out the [device identifier](#device-identifier) on the main settings page. This prefixes every item name, e.g. with the Prefix `John` the item `AlarmClock` becomes `JohnAlarmClock`. This way you don't have to change every item name. There are two different types of information that can be send to the openHAB server: * Event based (Alarm clock and call state) * Schedule based (Everything else) Event based means, that the items are updated when the corresponding event happens, e.g. the phone starts ringing. Schedule based means, that the items are updated every 10 to 15 minutes while charging, otherwise every 2 to 6 hours. The latter interval can be changed in the settings. In addition devices running Android 7 or lower can also send schedule based items on specific events, e.g. a charger is plugged in. Beginning with Android 8 it isn't possible anymore to listen for these events unless you turn on the event listener. However this will show a persistent notification and may increase battery usage. #### Alarm Clock The openHAB app will send the next wake-up time from your alarm clock app to the server. The time is sent as a number containing the number of milliseconds since the epoch. Example item definition: ```java DateTime AlarmClock "Alarm Clock [%s]"