Trixology

WeatherCat => WeatherCat iOS Clients => Topic started by: embayweather on May 22, 2012, 08:16:12 AM

Title: iOS Client-Server Connection
Post by: embayweather on May 22, 2012, 08:16:12 AM
I was happily able to access my data via the Local link, and was trying to get data over the internet as well. that was an ongoing experiment but the whole program has now simply refused to start. I get a nice picture of a muggy, and then it simply folds in on itself and you have to try again, with the same result.
At the moment I have deleted it from my phone, and I will try a re install when i get back to my daughter's studio. Has anyone experienced something similar, or have I just been unlucky?

Best wishes

Mike
Title: Re: Stopped Working
Post by: The Grand Poohbah on May 22, 2012, 06:23:12 PM
Quote
I was happily able to access my data via the Local link, and was trying to get data over the internet as well. that was an ongoing experiment but the whole program has now simply refused to start. I get a nice picture of a muggy, and then it simply folds in on itself and you have to try again, with the same result.
At the moment I have deleted it from my phone, and I will try a re install when i get back to my daughter's studio. Has anyone experienced something similar, or have I just been unlucky?

What are you using for the Internet URL?

There are instances where a valid URL may not lead to a valid WeatherCat server. This caused version 1.0 to shut down and refuse to restart. Version 1.1 handles this case better. Install WeatherCat 1.1 (now in the iTunes App Store).
Title: Re: Stopped Working
Post by: embayweather on May 23, 2012, 10:09:09 AM
I was using my dns address, embayweather.dyndns(DOT)org. The device said it found the computer but could not find the details. I am at the studio now. I have deleted and reuploaded the software but in view of oyur comments I will get hold of version 1.1 and try again.

Thanks for your advice.

Best wishes

Mike
Title: Re: Stopped Working
Post by: embayweather on May 23, 2012, 11:03:20 AM
All is now well. Downloaded the new version, and remembered (after Stu had reminded me), to change the IP address in my router after a reboot.

Sooooo happy now.

Thanks once again

Best wishes

Mike
Title: Connecting using WiFi or Cell
Post by: The Grand Poohbah on May 29, 2012, 08:40:27 PM
A WeatherCat App user reported to me that they couldn't connect to a weather server over their office WiFi. However, they could connect using a cellular connection. Does anyone have any ideas about what would cause this?

(By the way, this topic should be titled "iOS Client-Server Connection". How can I change it? Create a new topic named "iOS Client-Server Connection" and merge this topic into it?)
Title: iOS Client-Server Connection
Post by: The Grand Poohbah on May 29, 2012, 08:43:19 PM
Use this topic for questions, problems, and discussions about connecting the iOS Client to a WeatherCat Server.
Title: Re: Stopped Working
Post by: WCDev on May 29, 2012, 08:52:01 PM
It could be a firewall on the wifi blocking the needed ports.

(Please see http://wiki.simplemachines.org/smf/Rename_topics (http://wiki.simplemachines.org/smf/Rename_topics) with regards to renaming a topic - there are a couple of ways).

Cheers,
Stu.
Title: Re: iOS Client-Server Connection
Post by: N8NOE on October 05, 2012, 01:19:48 AM
Seems I was looking and this would be where:
QUESTION,
What ports are needed to have the iOS app connect outside to the WC server?..

Jeff-N8NOE
Title: Re: iOS Client-Server Connection
Post by: The Grand Poohbah on October 08, 2012, 05:25:12 PM
Seems I was looking and this would be where:
QUESTION,
What ports are needed to have the iOS app connect outside to the WC server?..

Jeff-N8NOE

The answer is in in the WeatherCat Wiki http://wiki.trixology.com/index.php/Port_Forwarding (http://wiki.trixology.com/index.php/Port_Forwarding)
Title: Re: iOS Client-Server Connection
Post by: N8NOE on October 17, 2012, 11:32:45 AM
Ports have been set, and Individually Numbers apposed to a Range..
Just seems to work when it wants to?

(http://)
Title: New User Seeks Help
Post by: AlexinDC on December 31, 2013, 03:28:16 PM
Hello, I am new to the iOS app and am having difficulty connecting via the internet (no difficulty running on local network).  Would appreciate any help the community could offer.

As for the preliminaries, I have read the entirety of this forum + support pages + manual. Which means: (1) I have assigned a static IP address to the laptop running Weathercat; (2) forwarded ports 49250-49254 (Verizon FIOS gateway/router) to that laptop's static IP address; (3) entered the router/gateway's WAN IP address in the iOS client (if this matters, I used just the address, no prefix such as http://, although I tried that too for a while); and (4) wasted countless hours trying to get the foregoing (and variations thereof) to work.

I'm hoping someone can soon put me out of my misery.   [sweat2]

Many thanks, Alex
Title: Re: iOS Client-Server Connection
Post by: Blicj11 on December 31, 2013, 05:04:39 PM
Alex:

This is just a shot in the dark, but you appear to have an external IP address assigned in the field labeled Private IP Address in your IPv4 Port Map for Weather Station. On my setup, I assigned an internal IP address in that field. If all of your internal addresses start with 192, then you can ignore this paragraph.

For my iOS network connection, I use dyndns.org to create a proxy for the external static IP address I use for remoting in to my home network. Then in the WeatherCat iOS client, I simply list the name of the dyndns.org proxy name (without any prefix).

If you have static IP for your home network (you would obtain this from your ISP) simply enter that IP address without any prefix in the network setting on the client. If you don't have static IP, you either have to use dyndns (or a similar proxy service) or you enter the dynamic IP address for your router, but realize that it may change if you have to renew your lease (reboot) your router.

Assigning a static IP address to a computer on your home network is typically an internal IP address, not the external IP address you obtain from your ISP.
Title: Re: iOS Client-Server Connection
Post by: AlexinDC on December 31, 2013, 07:36:08 PM
Blick,

Thanks so much for your help and your interest.  Responding to your points:

1.  In fact, all my internal LAN addresses do start with 192.  My gateway/router's current external DHCP address starts with 173.  But I'm curious, how/where did you find an external IP address in the "Private IP Address" in my IPv4 Port Map??  I couldn't find anything like that anywhere.  I am reasonably proficient computers, but not at the level of most of the posters here.

2.  I took your advice and set up a static external proxy IP address for my router/gateway and entered that address in the appropriate field in the iOS client.  That didn't work.  I also checked with my internet provider (Verizon) and they are not blocking the relevant ports.  Although, a port check app I downloaded from no-ip.net says that it can't see the ports.  So that's a clue.

The rest of the information you provided regarding use of static external and internal IP addresses doesn't seem to be relevant at this point or, in the case of assigning a static internal address for my mac laptop, as I mentioned before I have already done that.

Thanks, Alex
Title: Re: iOS Client-Server Connection
Post by: Blicj11 on January 02, 2014, 03:03:38 AM
Alex:

Try killing your iOS app and restarting it. Then see if you can see your data on the Network setting. I have noticed that in iOS 7 once the Network setting says it can't connect, even though I know my settings are correct, it will never connect again until I kill the app and start fresh. Then it starts working again.

If that doesn't work, then I'm stumped. Your settings for port mapping are the same as mine. And the router's gateway IP address (WAN) is what should do the trick in the iOS Network Client. Hopefully someone else will catch what we are missing here. It ought to work as you have described.
Title: Re: iOS Client-Server Connection
Post by: AlexinDC on January 02, 2014, 04:55:02 AM
Blick:

Thanks for your second reply and your help.  I really appreciate it.

Sadly, I already noticed that the WeatherCat iOS client hangs frequently and have been "killing the app" (although, as is evident, the app is "killing me") all along as I have tried different configurations of my external IP address.  So that doesn't work for me.

Anyone else have a thought or suggestion?

Thanks, Alex
Title: Re: iOS Client-Server Connection
Post by: WCDev on January 02, 2014, 08:50:13 AM
Hi Alex,
You'll need to confirm you've got the ports open and they are forwarded to the machine running WeatherCat. You can check the ports are open pretty easily with somewhere like GRC (https://www.grc.com/x/ne.dll?bh0bkyd2) - enter 49250-49260 into the box there and select 'User Specified Custom Port Probe'.

Title: Re: iOS Client-Server Connection
Post by: AlexinDC on January 02, 2014, 03:54:20 PM
Hi, WCDev,

Thanks for jumping in.  I was hoping one of the mods would jump in.   I checked my ports on GRC (great site!) and they "failed" and are in stealth mode, which I think in this context is a good thing because they responded to the ping. I am learning SOOOOOOOOO many new things about the internet this week.

What's next?

Thanks, Alex
Title: Re: iOS Client-Server Connection
Post by: WCDev on January 04, 2014, 10:07:42 AM
That's good news and bad news.

The good news is that's why it isn't working.

The bad news is we have no information on forwarding ports on your router - we have a few on the wiki ( http://wiki.trixology.com/index.php/Port_Forwarding ) but I don't see anything for yours. Maybe someone on here as the same router; if not, there should be something out on the internet.
Title: Re: iOS Client-Server Connection
Post by: AlexinDC on January 04, 2014, 10:36:51 PM
Thanks for your reply.  I have done some further research and will provide details in case someone can help, but I did not succeed.  Here's more info.

1.  The Verizon FIOS router/gateway model is an Actiontec MI424WR, Rev. F.

2.  In addition to port forwarding, I tried putting my MBA's IP address into the router's DMZ.  No love.

3.  I also confirmed that my MBA's firewall was disarmed. No love there, either.  By that I mean, even with the IP address in the DMZ and the firewall on my MBA down, the relevant ports are still showing as stealth.  Which suggests to me that the issue is with

I sure hope someone knows what to do.

Alex
Title: Re: iOS Client-Server Connection
Post by: Blicj11 on January 08, 2014, 01:05:15 PM
Sorry this isn't working for you. I don't have the same router and am running Mountain Lion. For me, although I have forwarded the same ports as you, only port 49250 shows as Open, 51-54 are Stealth and 55-60 are closed. I have no idea what this means, but I have full WeatherCat functionality with only 49250 open.
Title: Re: iOS Client-Server Connection
Post by: AlexinDC on January 08, 2014, 02:38:21 PM
Blic,

Thanks for posting.  Actually, I finally go things working a couple of days ago. 

After a bunch of internet research, I learned that the Verizon/Actiontec router frequently needs to be rebooted in order for the port forwarding instructions to become effective.  It is a bug and no one seems to know why this is sometimes necessary.

In my case, when I rebooted the router completely froze and I had to do a factory reset as well.  Then I had to add the port forwarding instructions again, port by port (and not as a range).  It worked.

Coincidentally, I ended up with the same port situation you have.  Only port 49250 shows as open, but that is sufficient.  Hopefully, this information will help others with the same gateway/router.

Best, Alex
Title: Re: iOS Client-Server Connection
Post by: Blicj11 on January 08, 2014, 02:44:46 PM
Hooray! Glad you got it up and running.

Thanks for confirming the port status info. As you say, that may help Stu now that it appears more than one of us has the same status.
Title: Apple Airport Time Capsule port forwarding
Post by: Blicj11 on February 07, 2014, 06:46:10 PM
I added a page to the wiki for setting up port forwarding on the Apple Airport Time Capsule 802.11ac.

http://wiki.trixology.com/index.php/Port_Forwarding
Title: Thanks! (Re: Apple Airport Time Capsule port forwarding)
Post by: elagache on February 07, 2014, 07:57:55 PM
Dear Blick and WeatherCat system tinkers

I added a page to the wiki for setting up port forwarding on the Apple Airport Time Capsule 802.11ac.

I have it a quick once-over, looks good to me!  [tup]

Thanks! (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/thankyou.gif)

Cheers, Edouard  [cheers1]
Title: Re: Apple Airport Time Capsule port forwarding
Post by: WCDev on February 08, 2014, 06:29:37 PM
Yep, nice work  [tup]
Title: WeatherCat app cannot see "Local"
Post by: rcnz on February 22, 2014, 04:21:37 PM
Hi.

WC has been working perfectly on my new iMac for three weeks.

The Mac runs 24/7, so continuous feed to Wunderground.

Yesterday, the iOS WC App stopped showing data, with the attached screen view; no recent changes to the network.

Latest Mavericks/iOS 7; fault on iPhone and iPad.

Any advice most welcome!

Thanks,

Robin..

Title: Re: WeatherCat app cannot see "Local"
Post by: Blicj11 on February 22, 2014, 07:27:36 PM
Robin:

There are a couple of things you can try, including checking the forum topics posted for the iOS app (where your original post should have been made) :) :

http://athena.trixology.com/index.php?board=10.0


Sometimes my iOS app stops connecting and going though the above steps has always reconnected me.
Title: Re: WeatherCat app cannot see "Local"
Post by: The Grand Poohbah on April 28, 2014, 07:29:30 PM
Robin,

While in WeatherCat (iPhone) go to the settings and return. This always causes the iPhone WeatherCat to reset the connection. If you don't get a connection after doing that, try again later. If you never get a connection, then kill the WeatherCat app in the background* and start it again. If that doesn't help, then it may have something to do with Mavericks (OS X 10.9.x) on your server. Unfortunately, my server is an older MacBook that cannot run 10.9.x so I have no way to verify that Mavericks is the problem.

*To kill an app in the background, double-click the Home button. Drag the app image up until it disappears.
Title: Re: Apple Airport Time Capsule port forwarding
Post by: The Grand Poohbah on April 28, 2014, 07:30:40 PM
Thanks for your contribution to our port-forwarding knowledge base.
Title: WeatherCat app okay on Mavericks (Re: WeatherCat app cannot see "Local")
Post by: elagache on April 28, 2014, 09:00:11 PM
Dear Robin, Blick, Grand Poohbah, and WeatherCat iOS device fans,

A few additional hints perhaps.

*To kill an app in the background, double-click the Home button. Drag the app image up until it disappears.

Just to be clear, those are the instructions for iOS 7.  The procedure for causing applications to quit was different on iOS 6.

If that doesn't help, then it may have something to do with Mavericks (OS X 10.9.x) on your server. Unfortunately, my server is an older MacBook that cannot run 10.9.x so I have no way to verify that Mavericks is the problem.

I recently upgraded to Mavericks and just ran a test.  The WeatherCat iOS app works just fine on my iPhone 4S and my MacBook Pro running 10.9.2.

One other bit of advice to consider.  If your iOS device is giving you trouble, it might be a good idea to restart it.  In this house we have decided to restart all devices: Mac and iOS once a month.  iPhones and iPads are suffering from some really poor quality software these days.  Sometimes only restarting do.  To restart an iPhone or iPad:


It is unfortunate to have to go to such extremes but . . . such are the conditions that prevail!

Cheers, Edouard  [cheers1]
Title: Re: WeatherCat app cannot see "Local"
Post by: Blicj11 on April 28, 2014, 09:28:37 PM
While in WeatherCat (iPhone) go to the settings and return. This always causes the iPhone WeatherCat to reset the connection. If you don't get a connection after doing that, try again later. If you never get a connection, then kill the WeatherCat app in the background* and start it again. If that doesn't help, then it may have something to do with Mavericks (OS X 10.9.x) on your server.

I don't think this is a Mavericks issue because I had it before I upgraded to Mavericks. The process of killing the app if you can't get a connection after going into settings and returning has always worked for me, before and after I upgraded to Mavericks.
Title: Re: WeatherCat app cannot see "Local"
Post by: The Grand Poohbah on April 29, 2014, 12:50:32 AM
Thanks for the confirmation that Mavericks is not the problem. Edoudard's suggestion to restart the iOS device is a good one.  It's sometimes a last-resort solution for mystery problems. If you have to do it a lot, let us know. It shouldn't become a frequent solution.
Title: Re: WeatherCat app okay on Mavericks (Re: WeatherCat app cannot see "Local")
Post by: Steve on April 29, 2014, 03:48:03 PM
To restart an iPhone or iPad:

  • Press and hold the Sleep/Wake button on the top of your device until the red slider appears. Then drag the slider to turn your device completely off.
  • After the device turns off, press and hold the Sleep/Wake button again until you see the Apple logo.

Note that the above described restart is only a power down and then power up. It does not clear memory or reset anything. To do a hard reset, push and hold the Sleep/Wake button AND the Home button at the same time. Keep holding it until the screen goes black. Keep holding. Hold until the Apple logo appears. Then the device will start normally.

Steve[/list]
Title: Re: WeatherCat app okay on Mavericks (Re: WeatherCat app cannot see "Local")
Post by: Blicj11 on April 29, 2014, 05:21:28 PM
To do a hard reset....

Steve: When you do the reset, does it actually reset any settings or does it just kill all the apps and clear the memory?
Title: Apple support page on iOS restart (Re: WeatherCat app cannot see "Local")
Post by: elagache on April 29, 2014, 10:00:44 PM
Hi Blick, Steve, and WeatherCat iOS fans,

Steve: When you do the reset, does it actually reset any settings or does it just kill all the apps and clear the memory?

I searched around and couldn't find an obvious answer to your question, but just for completeness here is the Apple support page on restarting and reseting your iOS device:

http://support.apple.com/kb/ht1430 (http://support.apple.com/kb/ht1430)

That page definitely discourages reseting your iOS device.  To quote:

Quote
You should reset your device as a last resort and only if you can't restart it.

Of course that's no explanation for - why - you should only use it as a last resort!  (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/question_mark_confused.gif)

Oh well! (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/shrug_shoulders_confused.gif)

Cheers, Edouard  [cheers1]
Title: Re: WeatherCat app okay on Mavericks (Re: WeatherCat app cannot see "Local")
Post by: Steve on April 30, 2014, 05:23:13 AM

Steve: When you do the reset, does it actually reset any settings or does it just kill all the apps and clear the memory?

No, it doesn't erase anything. It just clears all memory. Think of the power off as sleeping your phone, and this reset as shutting it down. I can't imagine why Apple would recommend against doing this reset, as it is very commonly suggested for any variety of errors or problems. I don't see anything on the page Edouard linked discouraging using the reset.
Title: Re: WeatherCat app cannot see "Local"
Post by: monymony on May 28, 2014, 07:29:35 PM
I noticed this issue too, seemingly coming out of no where.  Things had been working fine for me for some time.  My work-around was to set the app to "internet" and type the IP address of the machine that runs WeatherCat.  Obviously not the best approach but it does allow the app to work once again.


Jay
Title: Re: WeatherCat app cannot see "Local"
Post by: The Grand Poohbah on May 30, 2014, 07:18:01 PM
I'm testing an update to WeatherCat for the iPhone now and will keep it on "Local" (I usually set it to the Internet URL for my WeatherCat host so that I'm always connected locally and remotely.) I've not see the cannot-see-local problem, but will keep an eye open. I wonder if it's related to the router you are using. Some may be better than others. Just a hunch.

If anyone can come up with a way to reproduce this problem, I'd be grateful.
Title: No problems with local. (Re: WeatherCat app cannot see "Local")
Post by: elagache on May 30, 2014, 08:21:54 PM
Dear Grand and WeatherCat iOS fans,

I've not see the cannot-see-local problem, but will keep an eye open. I wonder if it's related to the router you are using. Some may be better than others. Just a hunch.

I've been using the WeatherCat iPhone app since it came out and only use it in the local mode.  I never have more than temporary lapses in connection.  We have a dated and unnecessarily complex home network and the app still has no problems finding the WeatherCat server.  So I second the motion that it is either some sort of a local Wi-FI issue that needs to some troubleshooting, or perhaps something wrong with the Mac running WeatherCat.  Bonjour has to working properly on both ends for the connection to be made.  If possible, try to run the WeatherCat Mac client to see if the problem is related to reaching the machine running the WeatherCat server, not simply related to the WeatherCat iPhone app.

Cheers, Edouard  [cheers1]
Title: Re: WeatherCat app cannot see "Local"
Post by: WCDev on May 30, 2014, 08:45:19 PM
This may be a router issue - sometimes they have problems with Bonjour. A quick reboot of the router may sort the problem out.
Title: Re: No problems with local. (Re: WeatherCat app cannot see "Local")
Post by: Blicj11 on May 30, 2014, 08:52:24 PM
If possible, try to run the WeatherCat Mac client to see if the problem is related to reaching the machine running the WeatherCat server, not simply related to the WeatherCat iPhone app.

Good idea, but this iPhone app issue is definitely not related to the WeatherCat Client. I've been running it without a hitch. It connects to the WC server every time.
Title: Re: WeatherCat app cannot see "Local"
Post by: Blicj11 on May 30, 2014, 08:59:32 PM
This may be a router issue - sometimes they have problems with Bonjour. A quick reboot of the router may sort the problem out.

I agree with Stu. My old router bit the etherial dust several months back. I bought a new one and now that Stu mentions router reboot, I haven't experienced the iPhone app local disconnect issue since then. I am not suggesting you buy a new router, but rebooting the router may clear this up.
Title: Where is the Mac Client? (Re: WeatherCat app cannot see "Local")
Post by: elagache on May 31, 2014, 09:06:13 PM
Dear Stu, Blick and WeatherCat iOS users,

Good idea, but this iPhone app issue is definitely not related to the WeatherCat Client. I've been running it without a hitch. It connects to the WC server every time.

Hmm, definitely curious.  Is the Mac running the WeatherCat Client connecting to your network in the same way?  I have noticed problems in the past running the Mac WeatherCat client via Wi-Fi, but it has been so long ago I don't know if still exists.  Connecting to the WeatherCat Client works perfectly via Ethernet, but what would you expect?

I'll try to keep an eye on this one.

Cheers, Edouard  [cheers1]
Title: Re: Where is the Mac Client? (Re: WeatherCat app cannot see "Local")
Post by: Blicj11 on June 03, 2014, 01:12:05 AM
Is the Mac running the WeatherCat Client connecting to your network in the same way?  I have noticed problems in the past running the Mac WeatherCat client via Wi-Fi, but it has been so long ago I don't know if still exists.

I only run the Mac WC client wirelessly and have never had an issue with it.
Title: Okay, my turn to test this. (Re: WeatherCat app cannot see "Local")
Post by: elagache on June 03, 2014, 07:25:38 PM
Hi Blick, Grand, and WeatherCat client users,

Is the Mac running the WeatherCat Client connecting to your network in the same way?  I have noticed problems in the past running the Mac WeatherCat client via Wi-Fi, but it has been so long ago I don't know if still exists.

I only run the Mac WC client wirelessly and have never had an issue with it.

Alright, alright, I should put my money where my mouth is.  I just started up my old MacBook Pro and got the WeatherCat client up and running.  What used to happen is that the client would lose its connection after a few days.  I'm curious to see if that still happens.  If it does that might indeed indicate the the Wi-Fi setup I've got is too out of date to support Bonjours properly.  If so that would a possible failure mode for the iOS client that would be network related rather than a bug in the iOS code itself.

However, if you are running both the iOS client and the Mac client at the same time, golly that makes the network hypothesis less likely.  Although to make the test absolutely fool-proof, you would need to make sure that your iPhone and Mac have a similar Wi-Fi signal.  If there are issues with weak Wi-Fi signals, that also could produce the error in question.

Okay, testing is on!

Cheers, Edouard  [cheers1]
Title: Okay, I've now "seen" it. (Re: WeatherCat app cannot see "Local")
Post by: elagache on June 09, 2014, 12:11:15 AM
Dear Grand and WeatherCat iOS fans,

I've been monitoring my iPhone for 5 days now and finally I have seen something that I suppose is the phenomena.  My iPhone showed the correct time, but iOS client remained stuck with the display of the previous weather conditions it had displayed and showed a busy display next to the Wi-Fi strength meter.  Silly me, I didn't make an explicit test of my iPhone's Wi-Fi connection, but the strength bar looked fine.

I tried quitting the WeatherCat iPhone client and to my surprise when I restarted it once more got locked up in a loop claiming "looking for local."

However, resetting my iPhone solved the problem.  After my iPhone came back, when I started up the WeatherCat iPhone client it immediately updated to the current weather.  I know, I should have tried rebooting first - oh well!  :-[

So, I don't know what it means, but I suppose that is another confirmation of some sort of phenomena.  I'll try to keep monitoring and see it it happens again.  If so, I'll try to see if it could be an iOS issue that is affecting other connections.

That's all I've got to report!

Cheers, Edouard  [cheers1]
Title: An iOS Wi-Fi issue - at least for me. (Re: WeatherCat app cannot see "Local")
Post by: elagache on June 09, 2014, 09:32:06 PM
Dear WeatherCat iOS fans,

Okay, lucky me, the very same phenomena happened again this morning as it did yesterday.  I tried to bring up the WeatherCat iPhone client and it went into an "indefinite" looking for data state.

This time I decided to make sure that I had a working Wi-Fi connection.  As before, my iPhone indicated that it had Wi-Fi, but when I tried to get Safari to bring up a web page - it drew a blank.  So the Wi-Fi connection wasn't working which would explain the problem completely.

I went to settings and turned off Wi-Fi and then turned them back on.  When I returned to WeatherCat iPhone client - it immediately connected with WeatherCat and updated the conditions.  So at least for me, this situation can be explained as an iOS connection issue - at least for these two cases.

So, . . . . . has anybody who has seen "cannot see local" been able to use their Wi-Fi connection to their iPhone while the "cannot see local" problem was happening?

Curious minds want to know!

Cheers, Edouard  [cheers1]

P.S. I'll keep monitoring this.
Title: Re: WeatherCat app cannot see "Local"
Post by: Blicj11 on June 09, 2014, 09:44:42 PM
Edouard:

Which iPhone model and what version of iOS are you running?
Title: Local vs Internet network connection
Post by: Felix on June 10, 2014, 05:10:16 PM
I just downloaded the app on my iPhone and note when I have "Internet" selected as my network connection, I get 0.0 for the UV Index reading; however, when I select "Local" for my connection it reads properly (3.0 as I write this).

Thoughts?

All other sensor readings display correctly whether Local or Internet is selected.
Title: iPhone 4 and iOS 7.1.1 (Re: WeatherCat app cannot see "Local")
Post by: elagache on June 10, 2014, 10:02:12 PM
Howdy Blick and WeatherCat iOS users,

Which iPhone model and what version of iOS are you running?

It's an old iPhone 4, but it is running the latest version of iOS 7.1.1.  I keep putting off upgrading cuz I'm curious to know what Apple will release next! (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/big_grin.gif)

I had basically the same thing happen on my iPad this morning.  It could be something to do with my Wi-Fi access point.  However, stopping and starting Wi-Fi on the iPad solved the problem there as well.  It is an iPad 4 also running iOS 7.1.1

Cheers, Edouard  [cheers1]
Title: Have you set up forwarding/server? (Re: Local vs Internet network connection)
Post by: elagache on June 10, 2014, 10:25:58 PM
Dear Felix and WeatherCat iOS fans,

I just downloaded the app on my iPhone and note when I have "Internet" selected as my network connection, I get 0.0 for the UV Index reading; however, when I select "Local" for my connection it reads properly (3.0 as I write this).

Thoughts?

All other sensor readings display correctly whether Local or Internet is selected.

I'm not sure I understand what you mean by selecting "Internet."  Normally you need to set up your network provide a link between WeatherCat and the iOS client.  That means you need to make sure that ports 49250 to 49254 are open and you need to provide some way for the iOS client to locate your computer.  If you are using your local area network, you might be able to use the IP address of your computer running WeatherCat.  Normally though this is a dynamic IP address which will change.  There is two articles on the WeatherCat wiki explaining how to use the iOS client over the Internet.  You'll find the articles here:

http://wiki.trixology.com/index.php/WeatherCat_Clients (http://wiki.trixology.com/index.php/WeatherCat_Clients)

Is that the sort of setup you already have - or not?

Cheers, Edouard  [cheers1]
Title: Re: WeatherCat app cannot see "Local"
Post by: Blicj11 on June 10, 2014, 11:50:14 PM
I am using an iPhone 5s running iOS 7.1.1 and no longer experience the same problem you describe. I did have that problem but have since replaced my wireless router and haven't noticed it since then. That is not the reason I replaced the router, I'm just sayin' ....
Title: Re: Have you set up forwarding/server? (Re: Local vs Internet network connection)
Post by: Blicj11 on June 11, 2014, 12:00:08 AM
I'm not sure I understand what you mean by selecting "Internet."

He is referring to selecting Local or Internet in the settings on the iOS WeatherCat app on his iPhone.

Felix, I cannot duplicate your error. I get the same U.V. Index reading either way. But, I do agree with Edouard that you need to set up the port forwarding for the OS X client correctly so it can communicate back to the server. I assume the iOS client also needs port forwarding, but I'm not sure.

It is weird that the other readings are all working on either setting. The Grand Poobah, the author of the iOS app is out for a family holiday but he'll chime in upon his return.
Title: Re: Local vs Internet network connection
Post by: Felix on June 11, 2014, 05:25:13 PM
I didn't port forward, just selected Internet (vice Local) as Blicj11 said.

BTW, under the Settings menu --> Network, it says URL "trixology-test.dyndns.org." What's that about?
Title: Re: Local vs Internet network connection
Post by: Blicj11 on June 11, 2014, 06:19:56 PM
BTW, under the Settings menu --> Network, it says URL "trixology-test.dyndns.org." What's that about?

Ah hah! That is why your readings are different between local and network. You are using the default setting for network, which gives you Stu's weather testing site. Your current network setting will not work so the only time the iOS app is accurate is when you are home and the setting is set to local.

You should change that network setting to either your own external IP address or your dyndns server name if you are using that service. In order for you to get your network setting to function properly, you will need to set up port forwarding on your router, as per Edouard's previous post.
Title: Re: Local vs Internet network connection
Post by: The Grand Poohbah on June 11, 2014, 06:30:47 PM
I'm back from my mother-in-law's 102 birthday and "chiming in". Thanks to Blick and Edouard for their excellent replies to Felix's questions.

What Felix reported is the expected behavior. His "local" connection is his weather station. WeatherCat for iPhone does not require port-forwarding to be set up for the "Local" connection or "Internet" connections. Port-forwarding is only required if Felix wants to access his weather station from a remote location over the Internet.

"trixology-test.dyndns.org" is the test server for WeatherCat. It's a server for a weather station in Northern Scotland, so it's no surprise that the UV was 0.0.  :)
Title: Re: WeatherCat app cannot see "Local"
Post by: The Grand Poohbah on June 11, 2014, 06:38:48 PM
As a side note - Apple announced iOS 8 at last week's Worldwide Developer Conference. It will be out this fall and will require iPhone 4s or newer. Edouardo may need to get a new iPhone.

Howdy Blick and WeatherCat iOS users,

Which iPhone model and what version of iOS are you running?

It's an old iPhone 4, but it is running the latest version of iOS 7.1.1.  I keep putting off upgrading cuz I'm curious to know what Apple will release next! (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/big_grin.gif)

I had basically the same thing happen on my iPad this morning.  It could be something to do with my Wi-Fi access point.  However, stopping and starting Wi-Fi on the iPad solved the problem there as well.  It is an iPad 4 also running iOS 7.1.1

Cheers, Edouard  [cheers1]
Title: Re: Local vs Internet network connection
Post by: Blicj11 on June 11, 2014, 06:53:12 PM
I'm back from my mother-in-law's 102 birthday and "chiming in".

102 is quite a run!
Title: Phone delayed cuz I'm missin' an engine!! (Re: WeatherCat cannot see "Local")
Post by: elagache on June 11, 2014, 10:04:04 PM
Dear Grand, Blick,  and WeatherCat iOS fans,

As a side note - Apple announced iOS 8 at last week's Worldwide Developer Conference. It will be out this fall and will require iPhone 4s or newer. Edouardo may need to get a new iPhone.

Well, I had been planning to replace my iPhone for a while.  Since I was able to install a modern stereo with Bluetooth in my trusty wagon (http://www.canebas.org/Automotive/V8_Buick/Misc/Biquette_V8_Buick_signature.gif) I was playing music from my phone and thus needed more memory.  Alas, when the brand new engine failed, suddenly the urgent need for a new phone kinda of disappeared. . . . (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/sad-smiley.png)

I am hopeful though that Apple will have some spiffy new phones out along with iOS 8 to give me some renewed incentive!  [bounce]

Cheers, Edouard  [cheers1]
Title: Welcome back Grand! (Re: Local vs Internet network connection)
Post by: elagache on June 11, 2014, 10:08:20 PM
Dear Grand, Blick, Felix and WeatherCat iOS fans,

I'm back from my mother-in-law's 102 birthday and "chiming in".

Welcome back from your trip and hope indeed the brithday celebration was . . . . well . . . . grand!  :D

Cheers, Edouard  [cheers1]
Title: Re: Phone delayed cuz I'm missin' an engine!! (Re: WeatherCat cannot see "Local")
Post by: Blicj11 on June 12, 2014, 03:57:59 PM
Alas, when the brand new engine failed, suddenly the urgent need for a new phone kinda of disappeared. . . .

I do not want to hijack this thread with the wagon, but on your wagon thread, it may be time for you to post an update on the old Buick. In the meantime, my WeatherCat iPhone app is no longer having this problem with not being able to find the local setting. It does, however, lose the settings for Good comms, Bad comms and Sensor errors every time it has to re-establish the connection, whether it be local or Internet.
Title: Re: WeatherCat app cannot see "Local"
Post by: The Grand Poohbah on June 12, 2014, 11:41:40 PM
Quote
I do not want to hijack this thread with the wagon, but on your wagon thread, it may be time for you to post an update on the old Buick. In the meantime, my WeatherCat iPhone app is no longer having this problem with not being able to find the local setting. It does, however, lose the settings for Good comms, Bad comms and Sensor errors every time it has to re-establish the connection, whether it be local or Internet.

That will be fixed in the next iPhone update. It was reported fixed in the iPad version that's currently in review.