Author Topic: [Solved] No rain and wind from weewx to Meteotemplate  (Read 595 times)

0 Members and 1 Guest are viewing this topic.

Offline martin150

  • Member
  • *
  • Posts: 12
[Solved] No rain and wind from weewx to Meteotemplate
« on: May 22, 2021, 01:53:19 PM »
Hi!
Im startet for testing with a new setup to stop my alix1d with meteohub.
For now im receiving my sensors with a sdr and collecting datas on a proxmox container running weewx.
All datas are fine on my weewx homepage and so i tried to start with the meteotemplate.
Im using the api and the weewx meteotemplate addon.
Now my problem is, that i get no wind and rain into the meteotemplate. All Temp and extratemp sensors and also uv is working.
I dont find any solution to set the meteotemplate to debug so i dont have any plan why not data coming in.
Any help would be fine.
I´m waiting for admin in the meteotemplate forum so i tried here  :grin:

Tnx in advance
Martin
« Last Edit: May 24, 2021, 08:35:11 AM by martin150 »

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: No rain and wind from weewx to Meteotemplate
« Reply #1 on: May 23, 2021, 05:49:33 AM »
You can take a look at cache/apiLog.txt ( it is generated every time api.php is called )

Offline martin150

  • Member
  • *
  • Posts: 12
Re: No rain and wind from weewx to Meteotemplate
« Reply #2 on: May 23, 2021, 10:12:23 AM »
Tnx for the tip !!
I think i have a problem in saving the meteotemplatelive.txt
Rain and wind is coming in from weewx but is not written in meteotemplatelive.txt.
Any help, log is attached.
Code: [Select]
Authorized access.

Current date/time: 2021-05-23 16:03:27

api called by http
update U: 1621778580
update SW: weewx-4.4.0
update T: 8.00
update H: 90.0
update W: 2.20
update G: 2.80
update B: 246
update RR: 0.000
update R: 12.900
update UV: 4
update T2: 10.70
Begin of common part of api script
Start handling live data
Checking if extra sensors should be logged
Extra sensors data to save in db: TIN, HIN, UV, T1, T2
add live data: P: 1016.069
add live data: UGP: 913
add live data: TIN: 22
add live data: HIN: 34
add live data: PTime: 1621778550
add live data: UGPTime: 1621778550
add live data: TINTime: 1621778550
add live data: HINTime: 1621778550
add live data: T1: 13.9
add live data: T1Time: 1621778126
add live data: D: 6.4
add live data: DTime: 1621778550
add live data: A: 7.2
add live data: ATime: 1621778550
calculated D: 6.4
calculated A: 7.2
Save meteotemplateLive.txt: {"U":1621778580,"SW":"weewx-4.4.0","T":8,"H":90,"W":0,"G":0,"B":246,"RR":0,"R":0,"UV":4,"T2":10.7,"UTime":1621778607,"SWTime":1621778607,"TTime":1621778607,"HTime":1621778607,"WTime":1621778607,"GTime":1621778607,"BTime":1621778607,"RRTime":1621778607,"RTime":1621778607,"UVTime":1621778607,"T2Time":1621778607,"P":1016.069,"UGP":913,"TIN":22,"HIN":34,"PTime":1621778550,"UGPTime":1621778550,"TINTime":1621778550,"HINTime":1621778550,"T1":13.9,"T1Time":1621778126,"D":6.4,"DTime":1621778607,"A":7.2,"ATime":1621778607}

Start data parsing
Parsing date; Server time: 2021-05-23 16:03:27
Validating date: 1621778580 (2021-05-23 16:03:00)
Date is valid; difference with server time is -27 s
Parsing temperature
Temperature: 8.00 C
Database units: C
Checking temperature is between limits specified in template Main settings.
Minimum temperature limit: -50 C
Maximum temperature limit: 50 C
Temperature is OK and within the allowed limits
Parsing maximum temperature
Parsing minimum temperature
Parsing humidity
Humidity: 90.0 percent
Checking humidity is between limits specified in template Main settings.
Minimum humidity limit: 0 %
Maximum humidity limit: 100 %
Humidity is OK and within the allowed limits
Parsing wind speed
Wind speed: 0 kmh
Database wind speed units: kmh
Checking wind speed is between limits specified in template Main settings.
Minimum wind speed limit: 0 kmh
Maximum wind speed limit: 120 kmh
Wind speed is OK and within the allowed limits
Parsing wind gust
Wind gust: 0 kmh
Database wind units: kmh
Checking wind gust is between limits specified in template Main settings.
Minimum wind gust limit: 0 kmh
Maximum wind gust limit: 120 kmh
Wind gust is OK and within the allowed limits
Parsing wind direction
Wind direction: 246 degrees
Wind direction is OK and within the allowed limits
Parsing daily cumulative precipitation
Precipitation: 0 mm
Database precipitation units: mm
Checking precipitation is between limits specified in template Main settings.
Minimum precipitation limit: 0 mm
Maximum precipitation limit: 200 mm
Precipitation is OK and within the allowed limits
Parsing rain rate
Rain rate: 0 mm/h
Database rain units: mm/h
Checking rain rate is between limits specified in template Main settings.
Minimum rain rate limit: 0 mm/h
Maximum rain rate limit: 500 mm/h
Rain rate is OK and within the allowed limits
Solar radiation sensor disabled in Main settings - skipping.
Now parsing extra sensors.
Sensor indoor temperature raw value: 22 deg C
Limits for this sensor: 1 to 50
Sensor data within acceptable limits.
Sensor indoor humidity raw value: 34 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor UV raw value: 4
Limits for this sensor: 0 to 20
Sensor data within acceptable limits.
Sensor extra temperature sensor 1 raw value: 13.9 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra temperature sensor 2 raw value: 10.70 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Cached data loaded from cache/apiCache.txt.
Parsing pressure
Pressure: 1016.069 hpa
Database pressure units: hpa
Checking pressure is between limits specified in template Main settings.
Minimum pressure limit: 800 hpa
Maximum pressure limit: 1200 hpa
Pressure is OK and within the allowed limits
Pressure is valid.
Calculated dew point: 6.4 C
Dew point ok.
Calculated apparent temperature: 7.2 C
Apparent temperature ok.
End time for database update based on timestamp of first cache data: 2021-05-23 16:01:00
Rounded end time for database update: 2021-05-23 16:05:00
Not yet time to update the db, saving new data to cache/apiCache.txt
Generating log file cache/apiLog.txt

ERRORS:
No max temperature data provided.
No min temperature data provided.


Tnx
Martin

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: No rain and wind from weewx to Meteotemplate
« Reply #3 on: May 24, 2021, 03:05:54 AM »
You can check the 'wind speed' multiplier ( it should be set to 1 or the like, but not 0 ) in meteotemplate control panel -> main setup ( or in config.php, which is the same, variable $multiplierW )

Offline martin150

  • Member
  • *
  • Posts: 12
Re: No rain and wind from weewx to Meteotemplate
« Reply #4 on: May 24, 2021, 08:33:46 AM »
You made my day, maybe i "missconfigured" this to settings, because a friend of mine told me, at his config the both are at 1 and he never changed.

So Rain and Wind are now at 1 and wind is already working, rain will be checked after rain :-)

So thanks once more for the tip!!

LG
Martin