with post gauge data txt works!! uploading at server every 1 minute! thank you! the instractions of youy wiki are very clear!
Στις Τρίτη, 5 Ιανουαρίου 2021 στις 6:06:05 π.μ. UTC+2, ο χρήστης gjr80 έγραψε: > OK, so there you go, you should find gauge-data.txt appearing in > /var/www/html/weewx/realtime. > > Jan 5 01:01:44 metfm weewx[31863] DEBUG weewx.engine: Loading service >> user.rtgd.RealtimeGaugeData >> Jan 5 01:01:44 metfm weewx[31863] DEBUG weewx.manager: Daily summary >> version is 2 >> Jan 5 01:01:44 metfm weewx[31863] DEBUG weewx.manager: Daily summary >> version is 2 >> Jan 5 01:01:44 metfm weewx[31863] INFO user.rtgd: Unknown block >> specified for scroller_text >> Jan 5 01:01:44 metfm weewx[31863] INFO user.rtgd: >> '/var/www/html/weewx/realtime/gauge-data.txt' wil be generated. >> min_interval is None >> Jan 5 01:01:44 metfm weewx[31863] DEBUG weewx.engine: Finished loading >> service user.rtgd.RealtimeGaugeData >> > > >> Jan 5 01:02:58 metfm weewx[31863] DEBUG user.rtgd: gauge-data.txt >> (1609801379) generated in 0.01757 seconds >> > > >> Jan 5 01:03:58 metfm weewx[31863] DEBUG user.rtgd: gauge-data.txt >> (1609801439) generated in 0.01018 seconds >> > > Jan 5 01:04:59 metfm weewx[31863] DEBUG user.rtgd: gauge-data.txt >> (1609801499) generated in 0.01187 seconds >> > > I'm guessing that since you are using ftp to upload your files the issue > is that gauge-data.txt is only uploaded every time the ftp 'report' is > run which is every archive interval, in your case every five minutes. If > you want to upload gauge-data.txt to your web server more often than > every five minutes you have a couple of options. The rtgd extension can be > configured to upload to a remote server via HTTP POST. To do this the > remote server must have php installed. Setting up HTTP POST is covered > here > <https://github.com/gjr80/weewx-realtime_gauge-data/wiki/User's-Guide#using-http-post-to-transfer-gauge-datatxt-to-a-remote-server> > > in the rtgd wiki. The rtgd extension can also use rsync to transfer > gauge-data.txt to a remote server, the setup is covered in the comments > in rtgd.py from about line 213 to line 265. I have not used the rsync > capability in rtgd. > > Gary > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c7afce96-3638-4bb3-94c4-5e51c8a2252fn%40googlegroups.com.
