GW1000 ECOWITT protocol with Weather34

209 views
Skip to first unread message

Season Ticket

unread,
Jul 5, 2020, 5:27:49 AM7/5/20
to weewx-user
I have just changed my configuration of weewx.conf interceptor driver from observer to ecowitt-client  and updated the WSView app to use Ecowitt protocol

    #   device_type = observer
    device_type = ecowitt-client

However the data being sent to weather 34 is now almost gone.  below is an example of the w34realtime.txt


05/07/20 10:18:02 NULL NULL NULL 0.0 0.0 NULL 0.0 0.0 NULL --- 0 m/s C mb mm 0.0 NULL 4.3 163.8 0.0 17.5 54 NULL NULL NULL NULL NULL NULL 0.0 00:01 0.0 00:01 NULL NULL NULL NULL 4.0.0 0 0.0 NULL NULL 9.0 NULL 975 NULL 0.0 0 1 0 --- NULL m NULL 5.5 NULL 0


here is an example of the packet data that I'm now getting.

Jul  5 10:24:20 raspberrypi weewx[518] DEBUG user.interceptor: raw packet: {'wind_speed': 0.0, 'humidity_in': 22.0, 'temperature_in': 107.2, 'temperature_1': 64.94, 'solar_radiation': 894.89, 'wind_gust': 0.0, 'wh65_battery': 0.0, 'humidity_out': 52.0, 'uv': 8.0, 'battery_1': 0.0, 'dateTime': 1593941058, 'pressure': 29.4, 'temperature_out': 64.4, 'wind_dir': 23.0, 'rain': 0.0, 'rain_total': 0.169, 'rain_rate': 0.0, 'usUnits': 1, 'humidity_1': 53.0}
Jul  5 10:24:20 raspberrypi weewx[518] DEBUG user.interceptor: mapped packet: {'UV': 8.0, 'extraHumid1': 53.0, 'radiation': 894.89, 'rain': 0.0, 'dateTime': 1593941058, 'windDir': 23.0, 'pressure': 29.4, 'windSpeed': 0.0, 'inHumidity': 53.0, 'inTemp': 64.94, 'windGust': 0.0, 'rainRate': 0.0, 'usUnits': 1, 'extraTemp1': 64.94}


any advise on what settings I have missed?

Thanks Simon


steeple ian

unread,
Jul 5, 2020, 9:06:52 AM7/5/20
to weewx...@googlegroups.com
Hi Simon,
I have recently made the same switch.

You need to open up a port in your router and reflect this in your interceptor stanza in weewx.conf

This is mine for example: -


[Interceptor]
    # This section is for the network traffic interceptor driver.
   
    # The driver to use:
    driver = user.interceptor
    device_type = ecowitt-client
    port = 8000

Regards,
Ian

--
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/fe6501a2-7e8c-412f-b461-168c81ac27beo%40googlegroups.com.

Season Ticket

unread,
Jul 5, 2020, 2:28:56 PM7/5/20
to weewx-user
I updated the interceptor port and WSView port to 8000 but I get the same results.  Are there any other changes you can suggest?
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

steeple ian

unread,
Jul 5, 2020, 4:55:11 PM7/5/20
to weewx...@googlegroups.com
Here are my own raw and mapped packets below.

raw packet: {'dateTime': 1593980890, 'usUnits': 1, 'temperature_in': 66.7, 'humidity_in': 66.0, 'pressure': 29.651, 'temperature_out': 57.0, 'humidity_out': 71.0, 'wind_dir': 11.0, 'wind_speed': 2.68, 'wind_gust': 4.47, 'solar_radiation': 1.71, 'uv': 0.0, 'rain_rate': 0.0, 'rain_total': 0.65, 'wh65_battery': 0.0, 'rain': 0.0} mapped packet: {'dateTime': 1593980890, 'usUnits': 1, 'pressure': 29.651, 'outHumidity': 71.0, 'inHumidity': 66.0, 'outTemp': 57.0, 'inTemp': 66.7, 'windSpeed': 2.68, 'windGust': 4.47, 'windDir': 11.0, 'radiation': 1.71, 'rain': 0.0, 'rainRate': 0.0, 'UV': 0.0}

You are using an identical sensor to me but if you look carefully, you are not receiving data from all the sensors. I do not think this is an issue with weather34.py. I am not sure why your settings mapping should be different to mine, but it may be worth setting up mapping by adding something like this to your interceptor stanza: -

[[sensor_map]]
       
        outTemp = temperature_out
        windSpeed = wind_speed

carry on mapping in the same fashion to the names that WeeWX expects and then restart WeeWX and see what happens
    
raw packet: {'dateTime': 1593980890, 'usUnits': 1, 'temperature_in': 66.7, 'humidity_in': 66.0, 'pressure': 29.651, 'temperature_out': 57.0, 'humidity_out': 71.0, 'wind_dir': 11.0, 'wind_speed': 2.68, 'wind_gust': 4.47, 'solar_radiation': 1.71, 'uv': 0.0, 'rain_rate': 0.0, 'rain_total': 0.65, 'wh65_battery': 0.0, 'rain': 0.0}
mapped packet: {'dateTime': 1593980890, 'usUnits': 1, 'pressure': 29.651, 'outHumidity': 71.0, 'inHumidity': 66.0, 'outTemp': 57.0, 'inTemp': 66.7, 'windSpeed': 2.68, 'windGust': 4.47, 'windDir': 11.0, 'radiation': 1.71, 'rain': 0.0, 'rainRate': 0.0, 'UV': 0.0}

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/a1e378bc-53dd-450e-b0a7-7eb7cee27ea5o%40googlegroups.com.

Season Ticket

unread,
Jul 6, 2020, 3:33:58 AM7/6/20
to weewx-user
thanks Ian,  I've corrected the mapping and its now working.

steeple ian

unread,
Jul 6, 2020, 3:54:15 AM7/6/20
to weewx...@googlegroups.com
Hi Simon,
Excellent that’s good to know. It is strange that we both have the same device connected to the GW1000. Mine worked out of the box without needing any additional mapping and yours being completely different. Maybe one of the GW1000 experts knows the answer to that one!
Regards,
Ian


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/5e97062c-9e14-441e-8a1f-396447887c60o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages