Hi Rainer,

Thanks for your reply.

Rainfall data priority is set to piezo.

Standalone interceptor driver output below:

mapped packet: {'dateTime': 1686696648, 'usUnits': 1, 'pressure': 29.604, 
'outHumidity': 85.0, 'inHumidity': 40.0, 'outTemp': 50.7, 'inTemp': 73.4, 
'windSpeed': 8.5, 'windGust': 11.18, 'windDir': 279.0, 'radiation': 71.59, 
'UV': 0.0}

It seems that I had mapped the rain fields sort of correctly.  Although I 
am not sure 'rain' and 'drain_piezo' are actually the same quantity.  There 
does not appear to be an equivalent to the database field 'rain' in the 
output from the HP2560.  It has only rain rate, daily, weekly, monthly and 
yearly rain totals.  Not rain since last interval, which is my 
understanding of what the database fieldname 'rain' is meant to represent.

Having looked at the wview-extended.py schema I can see that I had the 
wrong database field names for the battery values.   I have since changed 
the mapping as seen below, still no rain or battery data.

  [[sensor_map_extensions]]
          rain = drain_piezo
          rainRate = rrain_piezo
          supplyVoltage = wh90batt
          referenceVoltage = ws90cap_volt

Not sure where to go from here.

Cheers,

Jason

On Wednesday, June 14, 2023 at 3:41:00 AM UTC+10 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+...@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/05f2d828-cddb-4cc0-9665-119a74dc258dn%40googlegroups.com.

Reply via email to