One more thing - regarding mapping and field names
the weewx names to map to are the database field names of the database
schema you use for your database
(nowadays usually wview-extended - look up the schema in
/usr/share/weewx/schemas/wview-extended.py)
[or /home/weewx/bin/schemas depending on your setup]
you have to map the (additional) field names from the interceptor.py to
the respective weewx (database) fields from wview-extended.py
(either inside the interceptor.py or via a field-map extension)
if you want to store the new fields which are not in the wview-extended
schema, you will either have to repurpose existing but unused database
fields
or extend your database schema with the respective columns
On 13.06.2023 19:40, Rainer Lang wrote:
Hi Jason
1. the local API (local Ecowitt Gateway API aka GW1000 API) was never
implemented in the HP25x0, HP350x, WH2910 consoles => so no such thing
like depreciation
you want to know which console supports which API, look up
https://www.wxforum.net/index.php?topic=40730.0 😎
2. the reason why you may not receive WS90 (piezo rain) data via the
custom server could be that your WS90 has not been set in the console
as primary rain device.
gear wheel --> setup (more) --> rain priority (has to be set to piezo).
3. could you run the interceptor driver stand-alone and post here the
result of one console post ?
(or run weewx in debug = 3 mode and copy from the syslog)
regards
Rainer
On 13.06.2023 02:28, Jason Gibson wrote:
Hi All,
I have been trying to coax rain data out of the WS90 and into weewx.
I assume that the local API is deprecated on the HP2560 as I can't
appear to get any details out of it on port 45000.
I am currently using the interceptor driver in listen mode on port
8080. And I am able to log all data in WeeWX except rain from the
piezo sensor, and battery voltages.
I have tried mapping sensors to fields as below, to no avail, is
anyone able to assist with the interceptor driver, or is there
another driver better suited to my hardware?
Hardware:
-----------------
HP2564 - HP2560 & WS90
HP2560_C:
Hardware revision V2.0
Firmware: Pro_V1.9.0
EasyWeatherProv5.11
WS90:
Firmware 1.3.3
weewx.conf extract:
--------------------------------
driver = user.interceptor
device_type = ecowitt-client
port = 8080
iface = ens18
[[sensor_map_extensions]]
rain = drain_piezo
rainRate = rrain_piezo
bat_wind = wh90batt
bat_rain = ws90cap_volt
Am I using the right field names? Example output from the ws90 is as
follows:
PASSKEY: <redacted>
stationtype: EasyWeatherPro_V5.1.1
runtime: 2
dateutc: 2023-06-11 01:53:27
tempinf: 77.0
humidityin: 40
baromrelin: 30.224
baromabsin: 29.946
tempf: 61.2
humidity: 60
winddir: 12
windspeedmph: 5.14
windgustmph: 6.93
maxdailygust: 10.74
solarradiation: 270.64
uv: 2
rrain_piezo: 0.000
erain_piezo: 0.000
hrain_piezo: 0.000
drain_piezo: 0.000
wrain_piezo: 0.000
mrain_piezo: 1.209
yrain_piezo: 1.209
ws90cap_volt: 5.2
ws90_ver: 133
gain10_piezo: 1.15
gain20_piezo: 1.05
gain30_piezo: 1.00
gain40_piezo: 1.00
gain50_piezo: 1.00
wh90batt: 3.10
freq: 433M
model: HP2564CA_Pro_V1.9.0
interval: 30
Cheers,
Jason
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/8828c0f2-f040-4558-bf6d-f2ff1dedb0ben%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/8828c0f2-f040-4558-bf6d-f2ff1dedb0ben%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dc415326-02ca-9b63-8653-5b25318b8e9d%40gmail.com.