mobile-device-access

Mobile Device Access On Andriod + iOS
Hey guys Matt here from MKSmartHouse.com and in this video I am going to show you how to access the openhab server from a mobile device.
So what are we going to accomplish, well after this video is over we will be able to access the OpenHAB home automation server from both our iOS and Android devices.
iOS
1. First we are going to set up access on iOS so, go into the apple app store and in the search for openHAB.
 
2. Find the app with the openhab logo and install it.
 
3. Once the app is installed find it on your device and open it.
 
4. When it asks to allow notifications press allow.
 
5. Then it will ask which sitemap to use, press the home sitemap.
 
6. Currently the app is running the openhab demo so let's change that. Press the three lines at the top right which will bring up some options.
 
7. Press the settings option.
 
8. Then next to demo mode turn off the switch. It will now open up some new fields.
 
9. In the local URL type in http://youpiipadress:8080 obviously replace it with you actual pi ip.
 
10. In the Remote URL type in https://myopenhab.org.
 
11. Then in the username and password field type in the user account’s credentials from myopenhab.org that will be using the device. If you are following along then it is the last thing we did in the last video regarding myopenhab.org.
 
12. Then hit save in the top right.
 
13. By default the app will open up the default home sitemap, we don’t want that so press the three lines in the corner again.
 
14. Then press settings.
 
15. Now press Select Sitemap.
 
16. Now choose the sitemap that is not the home sitemap or in other words you want, mine is MK-SmartHouse.
 
17. It will now load that sitemap by default, and as you can see it loads all of our switches and stuff. Great we set up access on ios so let's move to android.
 
Android
1. First go to the google play store and in the search type in openHAB and press search.
2. Now find the app with the openHAB logo and install it.
 
3. Once the app is installed find it on your device and open it.
4. In the popup select the demo sitemap.
5. Currently the app is running the openhab demo so let's change that.
6. Press the three dots at the top right which will bring up some options.
7. Press the settings option.
8. Then next to demo mode press the check box to make it unchecked. It will now open up some new fields.
 
9. In the local URL type in http://youpiipadress:8080 obviously replace it with you actual pi ip.
 
10. In the Remote URL type in https://myopenhab.org.
 
11. Then in the username and password field type in the user account’s credentials from myopenhab.org that will be using the device. If you are following along then it is the last thing we did in the last video regarding myopenhab.org.
 
12. After that hit the back button on your device.
 
13. A box should pop up asking which sitemap to use press the home sitemap or whatever sitemap your main sitemap is called. It will now load that sitemap as the default one when you open up the app.
 
That’s it! OpenHAB is now setup on both types of mobile devices and we can now access our home automation server from anywhere using our mobile devices. In my experience mobile is mostly the way I access the smart home when I want to turn something on or off. Speaking of this concludes our openHAB basics as we now have the openHAB server fully setup for the devices we are going to add because we have openhab installed, we have mqtt installed, we set up remote access, and we can access it from both the web browser as well as mobile devices. In the next videos we are going to be creating our very own mqtt devices and adding them to our home automation server. If there is anything you would like to see a video of leave it in the comments section below. Alright thank you for watching and If you have any questions leave them in the comments section below or head over to mksmarthouse.com/forum where you have a better chance of it getting answered. Good Bye! 
Share by: