Configurare l'app WSVIEW
Dopo aver connesso la stazione meteo ad Internet tramite l'app, premere sulla stazione meteo in elenco nella pagina "My Devices", nella sezione "Upload" scorrere fino a Customized ed inserire i parametri come segue:
• Customized: Enable
• Protocol Type: Ecowitt
• Server IP: L'indirizzo IP del computer con installato Weewx (meglio se preventivamente impostato come statico)
• Path: /
• Port: 8000
• Upload Interval: 16 secondi
Installare il driver
• Scaricare il driver Interceptor:
wget -O weewx-interceptor.zip https://github.com/matthewwall/weewx-interceptor/archive/master.zip

• Installarlo:
sudo wee_extension --install weewx-interceptor.zip

• Riconfigurare Weewx:
sudo wee_config --reconfigure --driver=user.interceptor --no-prompt
Configurazione Weewx
• Aprire il file weewx.conf:
sudo nano weewx.conf

• Sostituire la sezione [Interceptor] con la seguente:
[Interceptor]
    # This section is for the network traffic interceptor driver.
    
    # The driver to use:
    driver = user.interceptor
    
    # Specify the hardware device to capture.  Options include:
    #   acurite-bridge - acurite internet bridge, smarthub, or access
    #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
    #   lw30x - oregon scientific LW301/LW302
    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
    #   ecowitt-client - any hardware that uses the ecowitt protocol
    #   wu-client - any hardware that uses the weather underground protocol
    device_type = ecowitt-client
    port = 8000
    iface = XXX
    
    [[sensor_map_extensions]]
        inTemp = temperature_in
        inHumidity = humidity_in
        pressure = pressure
        outTemp = temperature_out
        outHumidity = humidity_out
        windDir = wind_dir
        windSpeed = wind_speed
        windGust = wind_gust
        rainRate = rain_rate
        rain = rain
        radiation = solar_radiation
        UV = uv
        battery = wh65_battery # OPZIONALE: Se volete tracciare lo stato della batteria dei sensori esterni
Dove in "iface = XXX" al posto delle XXX va inserita l'interfaccia di rete (ad esempio lan0 se il computer è connesso alla rete locale tramite la porta LAN).

• Modificare la sezione [StdArchive] come segue:
#   This section is for configuring the archive service.

[StdArchive]
    
    # If the station hardware supports data logging then the archive interval
    # will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval = 16
    archive_delay = 1
    
    # If possible, new archive records are downloaded from the station
    # hardware. If the hardware does not support this, then new archive
    # records will be generated in software.
    # Set the following to "software" to force software record generation.
    record_generation = software
    
    # Whether to include LOOP data in hi/low statistics
    loop_hilo = True
    
    # The data binding used to save archive records
    data_binding = wx_binding
In questo modo Weewx scaricherà i record ogni circa 16 secondi, in modo da non farvi perdere nessun dato!
Avviare Weewx
sudo systemctl start weewx
Oppure:
sudo /etc/init.d/weewx start
Autore: Meteo Ponte San Nicolò Admin