This  is our external page which updates the wind information every minute & 
the rest of the dials & graphs every 20 minutes (we are bandwidth constrained 
to the outside world since we only using a 3g network so update rate is 
implemented to not go over our monthly allowance).

The display in the clubhouse has all the dials and all the graphs because it’s 
a dedicated page rather than fitting within the club web site. 

On that page the wind dials update every 2s and the graphs and other dials 
every minute. 

 

http://www.thornburysc.org.uk/index.php/about-the-club/live-weather

 

No php server script involved. Just a few small files with data that is read by 
the javascript in the browser.

 

John

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Niels Østergaard
Sent: 30 August 2016 21:26
To: weewx-user <[email protected]>
Subject: [weewx-user] has anyone made an ajax solution for continous update?

 

Hi

I have had our Yacht Clubs Vantage set up to a Raspberry Pi running Weewx 2.6.3 
for a couple of years. Recently I had failure in the MySQL database that I did 
not manage to repair.

I decieded to start over, and has made a new responsive template based on 
Bootstrap 3. Have a look (not entirely finished) http://hvalpsundvejr.dk
The new setup uses newest Weewx (boy has it become easy to setup now!! - 
thanks!) SQLite db, which I have no experience with.

My Vantage sends current conditions every 2 seconds, and I was wondering if 
these data were held in the SQLite db somehow?

My plan would then be to make a php-based page that uses ajax to continously 
update the page. Anybody tried it?

/Niels

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to