Database update Interval - API

Post Reply
WSKO_Karlchen
Observer
Observer
Posts: 13
Joined: Fri Apr 20, 2018 10:41 am
Location: Koblenz / Germany
Station model: Davis Pro 2 aktiv
Software: weewx 4.1.1
Contact:

Database update Interval - API

Post by WSKO_Karlchen » Fri Apr 20, 2018 11:50 am

Hi,

how can i change the update Interval of the integrated mySQL from 5 minutes to 1 minute or less?

Thank you ;)
Wetterservice Koblenz

tpweather
Observer
Observer
Posts: 25
Joined: Sat Apr 07, 2018 12:52 pm
Location: Tom Price WA
Station model: Davis Vantage Pro 2
Software: Weather Display
Contact:

Re: Database update Interval - API

Post by tpweather » Fri Apr 20, 2018 2:43 pm

If WD its in the Meteotemplate setup in Control Panel.
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Database update Interval - API

Post by Jachym » Fri Apr 20, 2018 10:25 pm

You can change the update interval of the blocks such as Current Conditions (this is eg. the interval in WD). You cannot change the db interval, that is fixed to 5 minutes. This is handled by the api.php. So if you set your updates more frequently (for example 10s) you will see updates every 10s in some blocks and those values will be cached and then saved as one dataset every 5 minutes.

Post Reply