thank you for response
yes gauge data.txt generated every minute but uploads to remote server 
every 5 minutes with rest of weewx

root@rania:/home/metfm# journalctl -u weewx -f
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.manager: Added record 
2025-05-03 06:04:57 EEST (1746241497) to daily summary in 'weewx.sdb'
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.engine: Starting main packet 
loop.
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.drivers.fousb: station 
status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 06:33:54 rania weewxd[1526]: ERROR weewx.restx: StationRegistry: 
Failed to publish record 2025-05-02 22:34:57 EEST (1746214497): HTTP Error 
429: TOO MANY REQUESTS
Μαΐ 03 06:35:50 rania weewxd[1526]: INFO weewx.manager: Added record 
2025-05-03 06:35:00 EEST (1746243300) to database 'weewx.sdb'
Μαΐ 03 06:35:50 rania weewxd[1526]: INFO weewx.manager: Added record 
2025-05-03 06:35:00 EEST (1746243300) to daily summary in 'weewx.sdb'
Μαΐ 03 06:35:51 rania weewxd[1526]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.79 seconds
Μαΐ 03 06:35:53 rania weewxd[1526]: INFO weewx.imagegenerator: Generated 33 
images for report SeasonsReport in 1.42 seconds
Μαΐ 03 06:35:53 rania weewxd[1526]: INFO weewx.reportengine: Copied 5 files 
to /var/www/html/weewx
Μαΐ 03 06:35:57 rania weewxd[1526]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 42 files in 4.52 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.manager: Added record 
2025-05-03 06:40:00 EEST (1746243600) to database 'weewx.sdb'
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.manager: Added record 
2025-05-03 06:40:00 EEST (1746243600) to daily summary in 'weewx.sdb'
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.39 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.imagegenerator: Generated 11 
images for report SeasonsReport in 0.17 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx
Μαΐ 03 06:40:54 rania weewxd[1526]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 18 files in 2.09 seconds
Μαΐ 03 06:40:59 rania systemd[1]: Stopping weewx.service - WeeWX...
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO __main__: Received signal TERM 
(15).
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO weewx.engine: Shutting down 
StdReport thread
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO __main__: Terminating weewx 
version 5.1.0
Μαΐ 03 06:40:59 rania systemd[1]: weewx.service: Deactivated successfully.
Μαΐ 03 06:40:59 rania systemd[1]: Stopped weewx.service - WeeWX.
Μαΐ 03 06:40:59 rania systemd[1]: weewx.service: Consumed 4.266s CPU time.
Μαΐ 03 06:40:59 rania systemd[1]: Started weewx.service - WeeWX.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Initializing weewxd 
version 5.1.0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Using Python: 3.11.2 
(main, Nov 30 2024, 21:22:50) [GCC 12.2.0]
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Located at:   
/usr/bin/python3
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Platform:     
Linux-6.1.0-34-amd64-x86_64-with-glibc2.36
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Locale:       
'el_GR.UTF-8'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Entry path:   
/usr/share/weewx/weewxd.py
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Config file: 
 /etc/weewx/weewx.conf
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: User module: 
 /etc/weewx/bin/user
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Debug:        0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: User:         weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Group:        weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Groups:       weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Loading station type 
FineOffsetUSB (weewx.drivers.fousb)
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: driver 
version is 1.3
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: polling mode 
is PERIODIC
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: polling 
interval is 60
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: found station 
on USB bus= device=
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: StdConvert target 
unit is 0x1
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.wxservices: StdWXCalculate 
will use data binding wx_binding
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Archive will use 
data binding wx_binding
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Record generation 
will be attempted in 'software'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Using archive 
interval of 300 seconds (software record generation)
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: StationRegistry: 
Station will be registered.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: Wunderground: Posting 
not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: PWSweather: Posting 
not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: CWOP: Posting not 
enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: WOW: Posting not 
enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: AWEKAS: Posting not 
enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: 'pyephem' detected, 
extended almanac data is available
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: version is 0.6.7
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: RealTimeGaugeData 
scroller text will use a fixed string
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: 
'/var/www/html/weewx/gauge-data.txt' wil be generated. min_interval is None
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Starting up weewx 
version 5.1.0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.manager: Starting backfill 
of daily summaries
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.manager: Daily summaries up 
to date
Μαΐ 03 06:41:00 rania weewxd[2582]: ERROR weewx.drivers.fousb: unrecognised 
magic number 2504
Μαΐ 03 06:41:00 rania weewxd[2582]: INFO weewx.drivers.fousb: synchronising 
to the weather station (quality=0)
Μαΐ 03 06:43:25 rania weewxd[2582]: INFO weewx.engine: Starting main packet 
loop.
Μαΐ 03 06:43:25 rania weewxd[2582]: INFO weewx.drivers.fousb: station 
status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 06:45:25 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:45:00 EEST (1746243900) to database 'weewx.sdb'
Μαΐ 03 06:45:25 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:45:00 EEST (1746243900) to daily summary in 'weewx.sdb'
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.81 seconds
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 
images for report SeasonsReport in 0.24 seconds
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.reportengine: Copied 5 files 
to /var/www/html/weewx
Μαΐ 03 06:45:29 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 20 files in 2.28 seconds
Μαΐ 03 06:45:41 rania weewxd[2582]: ERROR weewx.restx: StationRegistry: 
Failed to publish record 2025-05-03 06:45:00 EEST (1746243900): HTTP Error 
429: TOO MANY REQUESTS
Μαΐ 03 06:50:26 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:50:00 EEST (1746244200) to database 'weewx.sdb'
Μαΐ 03 06:50:26 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:50:00 EEST (1746244200) to daily summary in 'weewx.sdb'
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.52 seconds
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 
images for report SeasonsReport in 0.22 seconds
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx
Μαΐ 03 06:50:29 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 19 files in 2.16 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:55:00 EEST (1746244500) to database 'weewx.sdb'
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 06:55:00 EEST (1746244500) to daily summary in 'weewx.sdb'
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.52 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 
images for report SeasonsReport in 0.21 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx
Μαΐ 03 06:55:31 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 19 files in 2.21 seconds
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 07:00:00 EEST (1746244800) to database 'weewx.sdb'
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 07:00:00 EEST (1746244800) to daily summary in 'weewx.sdb'
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.50 seconds
Μαΐ 03 07:00:30 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 22 
images for report SeasonsReport in 0.81 seconds
Μαΐ 03 07:00:30 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx
Μαΐ 03 07:00:34 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 30 files in 3.79 seconds
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 07:05:00 EEST (1746245100) to database 'weewx.sdb'
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.manager: Added record 
2025-05-03 07:05:00 EEST (1746245100) to daily summary in 'weewx.sdb'
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 0.40 seconds
Μαΐ 03 07:05:31 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 
images for report SeasonsReport in 0.18 seconds
Μαΐ 03 07:05:31 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx
Μαΐ 03 07:05:33 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: 
Ftp'd 19 files in 2.14 seconds


and [RealtimeGaugeData] stanza


[RealtimeGaugeData]
    # This section is for the RTGD service.
      # Remote URL to which the gauge-data.txt data will be posted via HTTP 
POST.
    # Optional, omit to disable HTTP POST.
    remote_server_url = 
https://kairos.moudania.com/moudania/post_gauge-data.php
    # timeout in seconds for remote URL posts. Optional, default is 2
    timeout = 1
    # text returned from remote URL indicating success. Optional, default 
is no
    # response text.
    response_text = success
    # Date format to be used in gauge-data.txt. Must be either %d/%m/%Y,
    # %m/%d/%Y or %Y/%m/%d. Separator may be forward slash '/' or a
    # hyphen '-'. Default is %Y/%m/%d.
    date_format = %Y/%m/%d
    
    # Time format to be used in gauge-data.txt. May be %H:%M or %h:%M.
    # Default is %H:%M
    time_format = %H:%M
    
    # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If
    # empty HTML_ROOT is used, if setting omitted altogether /var/tmp is 
used.
    rtgd_path = /var/www/html/weewx
    
    # Scrolling text display or 'forecast' field source. Case insensitive. 
    # All except Zambretti require a corresponding [[ ]] stanza. Uncomment 
and 
    # select one entry to enable.
    # scroller_source = text|file|WU|Zambretti
    
    [[WU]]
    # Settings to be used for Weather Underground forecast block. Uncomment 
    # to use.
    
    # WU API key to be used when calling the WU API
    # api_key = xxxxxxxxxxxxxxxx        
    
    [[Text]]
    # Settings to be used for user specified text block. Uncomment to use.
    
    # user specified text to populate the 'forecast' field
    # text = enter text here
    
    [[File]]
    # Settings to be used for first line of text file block. Uncomment to 
use.
    
    # Path and file name of file to use as block for the 'forecast' 
    # field. Must be a text file, first line only of file is read.
    # file = path/to/file/file_name
    
    [[StringFormats]]
        # formats for gauge-data.txt fields by unit type
        degree_C = %.1f
        degree_F = %.1f
        degree_compass = %.0f
        foot = %.0f
        hPa = %.1f
        inHg = %.2f
        inch = %.2f
        inch_per_hour = %.2f
        km_per_hour = %.1f
        km = %.1f
        mbar = %.1f
        meter = %.0f
        meter_per_second = %.1f
        mile = %.1f
        mile_per_hour = %.1f
        mm = %.1f
        mm_per_hour = %.1f
        percent = %.0f
        uv_index = %.1f
Στις Σάββατο 3 Μαΐου 2025 στις 2:19:23 π.μ. UTC+3, ο χρήστης gjr80 έγραψε:

> Sorry, but from your description it is not clear to me what the issue is.
>
> On Saturday, 3 May 2025 at 05:08:07 UTC+12 [email protected] wrote:
>
> rtgd generates localy normal every minyte , but in server uploading every 
> 5 minutes with rest of weewx files.
> i have post data php file on server in same file with gauge data text.
>
>
> Do you mean gauge-data.txt is being generated every minute, but is only 
> uploaded to your web server every five minutes as part of the normal WeeWX 
> report cycle? Do you also mean you have set rtgd to upload gauge-data.txt 
> to your web server via HTTP POST? If this is the case have you looked at 
> the web server access log and error logs? If rtgd is accessing your web 
> server you should see something in one or both of those logs. Also, edit 
> weewx.conf and set debug = 1, save weewx.conf and restart WeeWX. Take a 
> WeeWX log extract showing the full WeeWX startup and at least two report 
> cycles. Post the log extract here without change. Also, could you make a 
> copy of the [RealtimeGaugeData] stanza from weewx.conf and post it here, 
> before posting make sure you check the stanza for any sensitive info such 
> as passwords, keys etc.
>
> Of course if the issue is something else please let me know.
>
> 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 visit 
https://groups.google.com/d/msgid/weewx-user/42929912-521c-436d-bbc9-0aaa08875368n%40googlegroups.com.

Reply via email to