Evotranspiration (ET): how to send data to external targets?

95 views
Skip to first unread message

olliva

unread,
Jun 29, 2023, 7:17:33 AM6/29/23
to weewx-user
I use WeeWX to calculate evotranspiration, which works because all the required values are available (Calculations = software).
In weewx the value is also displayed, but I do not manage to transmit this value to external targets using restful_services. All other values are sent correctly. Only the field "ET" contains "None".

Is there another trick to get weewx to send the existing value for ET?

Screenshot 2023-06-29 at 13.05.15.jpg
Screenshot 2023-06-29 at 13.11.16.jpg

Tom Keffer

unread,
Jun 29, 2023, 7:25:13 AM6/29/23
to weewx...@googlegroups.com
I'm not sure what I'm looking at. What's the first screenshot?

Also, which external target, using which restful service?


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f51fc848-27fa-4a2c-b9ed-c2dc3b3298e5n%40googlegroups.com.

Oliver T.

unread,
Jun 29, 2023, 7:32:00 AM6/29/23
to weewx...@googlegroups.com
Hi,

the first screenshot is from a csv-log, showing that „none“ is sent for ET.
I‘m sending my weather data in this case with the meteotemplate restful service.

Tom Keffer

unread,
Jun 29, 2023, 7:41:13 AM6/29/23
to weewx...@googlegroups.com
Slightly better, but we don't know the origin of this csv log. 

What's in the database? You didn't say what platform, database, or install method you are using, but assuming sqlite, on a debian-based system, using a package installer, this is how to check

sqlite3 /var/lib/weewx/weewx.sdb
sqlite> select dateTime, outTemp, outHumidity, radiation, windSpeed, ET from archive order by dateTime desc limit 20;
sqlite> .quit





Message has been deleted
Message has been deleted

olliva

unread,
Jun 29, 2023, 11:36:08 AM6/29/23
to weewx-user


SQLite version 3.37.2 2022-01-06 13:25:41
Enter ".help" for usage hints.

sqlite> select dateTime, outTemp, outHumidity, radiation, windSpeed, ET from archive order by dateTime desc limit 20;
1688052780|71.1|69.0|34.91|2.0|4.59802529960867e-05
1688052660|71.1|69.0|34.14|0.9|4.60340718954392e-05
1688052480|71.1|69.0|32.46|1.8|4.61534681889615e-05
1688052420|70.9|70.0|31.48|2.0|4.63391362257127e-05
1688052360|70.9|70.0|30.46|3.8|4.6419715193029e-05
1688052300|70.9|70.0|30.4|3.4|4.64482952329881e-05
1688052240|70.9|70.0|31.22|3.1|4.66141058521128e-05
1688052180|70.9|71.0|32.4|1.1|4.66470285233452e-05
1688052120|70.9|70.0|33.91|2.7|4.66888831998948e-05
1688052060|70.9|69.0|34.4|4.9|4.65144132472678e-05
1688052000|71.1|71.0|35.1|0.9|4.66160072524492e-05
1688051940|71.1|71.0|35.54|0.9|4.69183531704265e-05
1688051880|71.1|70.0|35.9|2.9|4.67919531592529e-05
1688051820|71.1|70.0|36.41|2.7|4.66690452099581e-05
1688051760|71.1|69.0|37.19|4.3|4.65436573288951e-05
1688051700|71.1|70.0|38.19|2.2|4.66719205729737e-05
1688051640|71.1|70.0|39.02|1.8|4.6792530183339e-05
1688051580|71.2|69.0|39.6|4.9|4.66170693276469e-05
1688051520|71.2|71.0|40.02|2.0|4.65916268428556e-05
1688051340|71.1|69.0|42.47|3.8|4.66413772840898e-05
sqlite>

Tom Keffer

unread,
Jun 29, 2023, 4:58:22 PM6/29/23
to weewx...@googlegroups.com
You have ET in the database, so the problem must be with the "meteotemplate restful service." I don't know anything about that, so I can't help you with it.

I will note that you have a 60 second archive interval, so individual ET values will be quite small. To make any sense, the upload service should probably sum over an hour or so, and upload that. 

-tk

olliva

unread,
Jun 29, 2023, 5:31:12 PM6/29/23
to weewx-user
Thank you. Yes, I would like to keep the 60 seconds for the remaining values though.
I'll have to do some more research on that.
Is there actually a restful service that can export in ecowitt format that I could test as an alternative? Meteotemplate could also handle this with a plugin. 

olliva

unread,
Jun 30, 2023, 12:27:21 PM6/30/23
to weewx-user
If anyone else is facing this problem: I have now found a way:
You can install the plugin "ecowitt" in meteotemplate. So meteotemplate receives directly from an ecowitt device.
The plugin additionally calculates the evotranspiration once per day 

The advantage of this plugin is that you can set up to three additional redirections (one I have made to weewx, so that the data is received as before):

meteotemplate.jpg

These are the entries in the ecowitt device setup:

ecowitt.jpg 
Maybe others have to remove the "/template" in the path (this is because of the installation in a subfolder at my webscpace).
I had to disable the automatic http -> https redirection for my site, otherwise the ecowitt software doesn't submit the data
.
Reply all
Reply to author
Forward
0 new messages