Hi,
I got a GW2000 and several sensors and use them with the gw1000 driver. So
far so good, the most temeratures and stuff is automatically logged fine.
But, I would like to see trends from the battery values as well. Searching
in the manuals let me learn, the data needs to be mapped to a field, either
creating new ones, or map to existing ones, which are "free". So, I checked
the "schemas.wview_extended.schema" that is used an made some mappings in
the weewx.conf:
*[GW1000] # This section is for the Ecowitt Gateway driver. # How
often to poll the API, default is every 20 seconds: poll_interval = 20
# The driver to use: driver = user.gw1000 ip_address =
192.168.179.113 port = 45000 show_all_batt = True
[[field_map_extensions]] extraTemp8 = temp9 rain =
p_rain stormRain = p_rainevent rainRate = p_rainrate
dayRain = p_rainday weekRain = p_rainweek monthRain =
p_rainmonth yearRain = p_rainyear BatteryStatus1 = ws90_batt
BatteryStatus2 = wh51_ch1_batt BatteryStatus3 = wh51_ch2_batt
BatteryStatus4 = wn34_ch1_batt BatteryStatus5 = wh45_batt
BatteryStatus6 = wh75_ch1_batt signal1 = ws90_sig signal2 =
wh51_ch1_sig signal3 = wh51_ch2_sig signal4 = wn34_ch1_sig
signal5 = wh45_sig signal6 = wh31_ch1_sig signal7 = wh31_ch2_sig
signal8 = wh31_ch3_sig*
The Temperature and the rain data is all fine, but the battery data can be
shown as $latest and $current, but the image generator just produced empty
fields. Looks for me, as the "BatteryStatus" fields are not storred in the
database. How can I advice this, and how can I check if there are already
part of a group (I would guess energy would make sense, as the value is
Volt)
thanks a lot by the way, for this fantastic peace of software and user
friendly documentation.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/437461fd-ddf9-49c6-a10b-a8ba8737690fn%40googlegroups.com.