Prerequisites
If you want your app to be opened automatically if a person is at the door, make sure your intercom or other home automation system can access your mobile phone.
It is recommended to either set a static IP address for your phone, or reserve your phones’ dynamic IP in your local DHCP server (or e.g. Wi-Fi router). You might also set a DNS entry for your phone.
To test it, call http://[yourPhone]:8787 in any browser.
You should see some text:
If you call http://[yourPhone]:8787/?action=bringDoorbellAppToFrontAndRing, the app should become visible for some seconds, even if your screen is locked.
Configure your intercom or home automation system to call this URL when a push button of your intercom is pressed.
To make the Open button work, find out the HTTP URL you have to use to open your door lock. This can be very individual, e.g. via your home automation server, or your intercom, or maybe your door lock directly.
Settings in app
Listening Port
Default: 8787
TCP
E.g. your intercom can use this port to remotely send commands to the app, e.g. to bring it to front and for notifications (as described above).
Image URL
Default: None
If your intercom provides a camera image path, enter it here. The image will be refreshed periodically.
You can use both Image and Video URL options at the same time.
Example: http://10.1.0.80/enu/camera640x480.jpg
Video URL
Default: None
If your intercom provides a camera video/audio stream path, enter it here.
You can use both Image and Video URL options at the same time.
Example: rtsp://10.1.0.80
Alternative Video Renderer
Default: False
If you encounter streaming problems, test it with this option.
Mute Video
Default: False
If your video stream also provides audio, you can disable it with this option.
Prefer Image URL
…if weak WiFi signal.
Default: True
You can enter both image and video URL. If your WLAN’s signal is currently weak, the image URL is used. Otherwise the video URL is used.
URL for Button
Default: None
As described in the prerequisites, this can be very individual, depending on your hardware.
Example: http://myHomeAutomationServer/cmdOpenDoor
Keep-alive Ping
Default: False
This setting can be useful especially for Android devices with ethernet ports. It can happen they get disabled if not used for some time, so the device might not be reachable e.g. if the intercom sends a ring. Setting this property active sends regular Ping signals to keep the connection active.
Get centralized settings
Typing a lot of URL characters into maybe multiple phones can be tedious and errornous. So you can use the “Get settings from LAN” feature.
You simply have to set up a single text file on a local webserver of your choice.
The app searches your local network for this text file, starting from e.g. 192.168.1.1 (or 10.0.0.1, depending on your LAN structure), for a webserver listening on port 80 providing a file called IID.txt.
For Example, your centralized settings file could reside in http://10.1.0.44/IID.txt.
The app parses the values of the text file and reloads.
Comments