andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

Unable to get IOS App working. #99

Closed DervMan closed 4 years ago

DervMan commented 5 years ago

I've been using this great code for a while now to control my garage door via a website. I see there's now an IOS app for controlling the door, which I've installed and configured my door. However despite having the correct settings in the IOS app all I get is a white screen, I'm not seeing my door listed.

While troubleshooting I ran a packet capture on the work firewall and the IOS app isn't even trying to access the garage door page, I am using TCP port 888 rather than the default 8081 so maybe the app doesn't like that?

chrisbergeron commented 5 years ago

I'm having the same issue. I just paid for the app. I can load the webapp fine in Safari on the iphone. I can even hit the endpoints (/upt, /cfg, etc) and toggle the python app. I've tried with and without SSL, and with/without user credentials; I updated the config.json and the settings in the iphone app and restarted.

I'm on iOS: 12.1 (16B92) - iPhone 7 Plus My Garage App Version: 1.0.0 (2)

I really dig the codebase and it works great. I just wish I could get the iOS app to work. It just displays "My Garage" at the top and the settings icon in the top left corner. At the bottom, I can see the CSS background for the uptime bar, but no text.

I bought the app to support this project and what you've done so far.

andrewshilliday commented 5 years ago

Hi all. I’m sorry you are having trouble with the app, especiallly since you paid for it. I probably should have been more clear on the main page, but the iOS app is not actually affiliated with this project. It was developed by another user. My only interaction with the developer was to express my thanks for building it and to ask him to consider giving it away for free instead of charging for it (he replied that he has his Apple developer license to pay for so can’t give it away).

Hopefully he will come across this messag and fix the issue. If not I can try to dig up his email and reach out to him.

DervMan commented 5 years ago

Ah I see, that would explain it! Let's hope he can throw some light on this.

USAFPride commented 5 years ago

You really don't need the app. iOs instructions:

  1. Browse to the homepage in Safari using http://yourdoorcontrollerip:888 (hopefully you set it up as a static IP and whatever port is :xxxxx )
  2. click the box with the up arrow at the center bottom of screen and pick "Add to Home Screen" and follow the prompts
chrisbergeron commented 5 years ago

Thanks, I got it working. I added an SSL certificate and now it works!

Sent from my iPhone

On Jan 27, 2019, at 3:09 AM, USAFPride notifications@github.com wrote:

You really don't need the app. iOs instructions:

Browse to the homepage in Safari using http://yourdoorcontrollerip:888 (hopefully you set it up as a static IP) click the box with the up arrow at the center bottom of screen and pick "Add to Home Screen" and follow the prompts — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

mandogon commented 5 years ago

USAFPride, was thinking about getting the app but thanks for the tip added it my home screen and now it looks like the app itself.

zbowman commented 5 years ago

I'm having the same issue. I just paid for the app. I can load the webapp fine in Safari on the iphone. I can even hit the endpoints (/upt, /cfg, etc)

What are all the endpoints?

chrisbergeron commented 5 years ago

/upt - uptime /upd - update display /cfg - status /clk?id=left - door1 /clk?id=right - door2 /st?id=left - view status door1 /st?id=right - view status door2

I installed an SSL cert on my webserver and it started working. I haven’t had a problem since.

Sent from my iPhone

On Mar 23, 2019, at 5:16 PM, zbowman notifications@github.com wrote:

I'm having the same issue. I just paid for the app. I can load the webapp fine in Safari on the iphone. I can even hit the endpoints (/upt, /cfg, etc)

What are all the endpoints?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.