Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
iPhone site for Cumulus
Moderator: daj
- KetteringUK
- Posts: 49
- Joined: Sat 25 Jul 2009 2:25 pm
- Weather Station: Maplin N96GY
- Contact:
Re: iPhone site for Cumulus
Had a play with my design, very happy and great way to access the data
http://www.grid1.co.uk/weather/iPhone
Thanks
http://www.grid1.co.uk/weather/iPhone
Thanks
Weather :: http://grid1.co.uk/weather
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: iPhone site for Cumulus
David et al iPhonrers
will the code:
<script type="text/javascript">
if (((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1))
& (window.orientation == 0))
{
document.location = "http://www.myweatherstation.com/iphone/";
}
</script>
wwork with Blackberries - or is this the part that is still under development?
George Wheelock
will the code:
<script type="text/javascript">
if (((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1))
& (window.orientation == 0))
{
document.location = "http://www.myweatherstation.com/iphone/";
}
</script>
wwork with Blackberries - or is this the part that is still under development?
George Wheelock
- w5afw
- Posts: 154
- Joined: Thu 29 Jan 2009 8:48 pm
- Weather Station: ws-2315
- Location: Houston, the Eagle has landed, TX
- Contact:
Re: iPhone site for Cumulus
Graham: nice additions and modifications to the code. The web cam picture upload software are you using?
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
No, the BB is proving to be a bit difficult. I can detect if you are using a BB but only if Javascript is enabled for your browser on the BB. I am looking for a way to identify the device without Javascript just now.gwheelo wrote:David et al iPhonrers
will the code:
......
wwork with Blackberries - or is this the part that is still under development?
George Wheelock
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
It's great seeing what others are doing with the code....I did consider adding the graphs, however it really slows down the transition and because it is all loaded on one page it slows down the initial load -- the idea was to have a speedy load on an iPhone (even if you were not on Wifi). I guess it is a trade off between functionality and speed.KetteringUK wrote:Had a play with my design, very happy and great way to access the data
http://www.grid1.co.uk/weather/iPhone
Thanks
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: iPhone site for Cumulus
Blackberries do Java - for instance - "navigator.appName" will return the browser name “Blackbrerry".
The problem, it seems, is that Blackberries out of the box have Java and CSS turned off and perhaps 99.99% of users don't know this and perhaps only a few who might find out are capable of turning these two functions on.
There must be another way!
GW
The problem, it seems, is that Blackberries out of the box have Java and CSS turned off and perhaps 99.99% of users don't know this and perhaps only a few who might find out are capable of turning these two functions on.
There must be another way!
GW
- KetteringUK
- Posts: 49
- Joined: Sat 25 Jul 2009 2:25 pm
- Weather Station: Maplin N96GY
- Contact:
Re: iPhone site for Cumulus
WebCam XP (free version)w5afw wrote:Graham: nice additions and modifications to the code. The web cam picture upload software are you using?
I only included a couple of graphs that I really want to see. Find the load times to still be very good. Thanksdaj wrote:It's great seeing what others are doing with the code....I did consider adding the graphs, however it really slows down the transition and because it is all loaded on one page it slows down the initial load -- the idea was to have a speedy load on an iPhone (even if you were not on Wifi). I guess it is a trade off between functionality and speed.
Weather :: http://grid1.co.uk/weather
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
- tomcatuk
- Posts: 331
- Joined: Fri 26 Dec 2008 4:41 pm
- Weather Station: ----> Davis Vantage Vue
- Operating System: Windows 10 20H2 19042.685
- Location: Buckingham
Re: iPhone site for Cumulus
Hi Graham just tried it and loads fine here, graphs was nearly instant very good job...
Regards Steve
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
WiFi or 2G/3G?tomcatuk wrote:Hi Graham just tried it and loads fine here, graphs was nearly instant very good job...
It's cool on WiFi....2g /3g less predictable for me
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
And there lies my problem. I've asked on a couple of BB forums but hand nothing of any use back so far.gwheelo wrote:...The problem, it seems, is that Blackberries out of the box have Java and CSS turned off and perhaps 99.99% of users don't know this and perhaps only a few who might find out are capable of turning these two functions on.
I guess one could argue that people who want to use more advanced sites may well have a bit better an understanding of the BB and have already turned it on
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: iPhone site for Cumulus
You could do it in PHP and look at HTTP_USER_AGENT. Not 100% reliable, I know, but if there's no better way...
Steve
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
I was hoping to avoid PHP as not everyone who may want to use the page on their site will have PHP access, but it looks like my only option for now.steve wrote:You could do it in PHP and look at HTTP_USER_AGENT. Not 100% reliable, I know, but if there's no better way...
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: iPhone site for Cumulus
Updated iPhone version.....
As promised, an updated version of the iPhone page.
Quick install -- download the file and replace your current files. For new users full instructions are on the web page. Click here to download
For those who have customised the page in some way, I have detailed below the changes I made to the HTML. You should replace your iui.js file and the last line of the list as a minimum.
Change log:
As promised, an updated version of the iPhone page.
Quick install -- download the file and replace your current files. For new users full instructions are on the web page. Click here to download
For those who have customised the page in some way, I have detailed below the changes I made to the HTML. You should replace your iui.js file and the last line of the list as a minimum.
Change log:
- Changed the <title> tag to include the Cumulus webtag <#location>. No need to manually edit the index file now.
- Fixed a spelling error in the Records section -- "Monthly rain fall"
- Added the webtag tag for <#recordsbegandate> on the Records page
- Added the location to the main page, at the top <h2><center><#location></center></h2>
- Updated front page to show forecast and current temperature
- Updated Javascript to stop the About button displaying when you were in the About screen
- Added id="about" to <ul title = "About" class="panel"> to Fix About button issue
Last edited by daj on Fri 07 Aug 2009 8:22 am, edited 2 times in total.
- tomcatuk
- Posts: 331
- Joined: Fri 26 Dec 2008 4:41 pm
- Weather Station: ----> Davis Vantage Vue
- Operating System: Windows 10 20H2 19042.685
- Location: Buckingham
Re: iPhone site for Cumulus
Both... 3G was fine and quick...daj wrote:WiFi or 2G/3G?tomcatuk wrote:Hi Graham just tried it and loads fine here, graphs was nearly instant very good job...
It's cool on WiFi....2g /3g less predictable for me
Regards Steve