Yes, documentation is a work in progress. There is a driver wiki page that I have started work on that covers the field map and its use. There is a table at the bottom of that page <https://github.com/gjr80/weewx-gw1000/wiki/Field-map#tabulated-default-field-map> that summarises the default field map. The column *GW1000 field name* gives a list of the GW1000 fields that are available for mapping by the driver. The corresponding entry in the *WeeWX field name* column in that table is the WeeWX field that the GW1000 field is mapped to by default. Note of course that some fields are dependent on the sensors you have and some fields are catered for within the API but are not yet used by Ecowitt. The other content on that page is very much a work in progress and to be truthful if I hadn't accidentally published the page I would have kept it hidden from public view.
Gary On Saturday, 2 January 2021 at 01:37:11 UTC+10 [email protected] wrote: > Thanks Gary and others on this thread - I'm using the GW1000 API driver > mode and have re-purposed one of my internal multi-channel WH31 sensors for > main outdoor temp/humidity use temporarily (whilst I await return of WS80). > Very simple once I'd figured out I needed to use the > [[field_map_extensions]] and get the correct field names from the driver > output. Is it documented somewhere what the entire list of fields your API > driver/service can handle is and default mapping into weewx? I couldn't see > a link in the GitHub notes. > > On Tuesday, August 25, 2020 at 8:27:19 AM UTC+1 gjr80 wrote: > >> Actually, looking at the code I can see that timestamps of the GW1000 >> data are handled differently when operated as a driver and as a service. In >> this case adding dateTime = datetime to [[field_map]] will get things >> operating as expected. >> >> I need to revisit the handling of GW1000 data timestamps, the need for >> dateTime >> = datetime may or may not be the final solution. Either way the final >> version will be backwards compatible with a dateTime = datetime entry in >> the field map.This issue has also highlighted the need for some better >> debug output around the processing of loop packets. >> >> Gary >> On Tuesday, 25 August 2020 at 16:34:25 UTC+10 [email protected] wrote: >> >>> add ‘dateTime = datetime’ back to field_map. >>> worth a go while gary works on it >>> >>> On 25 Aug 2020, at 8:37 am, Timothy Buchanan <[email protected]> >>> wrote: >>> >>> How would I add dateTime to the field_map? >>> >>> On Monday, August 24, 2020 at 9:59:17 AM UTC-6 [email protected] wrote: >>> >>>> try adding ‘dateTime’ to the field_map. i think augmentations are >>>> skipped (gw1000 fields are not added) because on its absence the service >>>> assumes the offered data is infinitely old >>>> >>>> On 25 Aug 2020, at 12:47 am, Graham Eddy <[email protected]> wrote: >>>> >>>> it will be interesting to see what gary concludes. >>>> it looks to me like the fields are correctly identified and mapped (i >>>> presume; the data is there but i don't see the mapped result) but not >>>> inserted into packet by augmentation. one reason for not inserting the >>>> data >>>> would be if it is stale - do the timestamps of the weatherflowudp driver >>>> (datetime in packet) line up with the gw1000 service (datetime in >>>> mapped_data) within age toleration? >>>> >>>> On 24 Aug 2020, at 11:48 pm, Timothy Buchanan <[email protected]> >>>> wrote: >>>> >>>> field_map used with debug 3. >>>> >>>> On Sunday, August 23, 2020 at 6:07:35 PM UTC-6 gjr80 wrote: >>>> >>>>> Thanks, from the log it looks like the GW1000 service thread has >>>>> silently died (which it shouldn't, it should die loudly if it dies!). >>>>> Let's >>>>> step the debug level up, leaving everything else as it is edit >>>>> weewx.conf and set debug = 3, save weewx.conf and restart WeeWX. Let >>>>> WeeWX run for about five minutes and again take a log extract from when >>>>> you >>>>> just started WeeWX. Post the log here. >>>>> >>>>> Gary >>>>> >>>>> On Monday, 24 August 2020 at 09:55:21 UTC+10 [email protected] >>>>> wrote: >>>>> >>>>>> debug=2 GW options so (pasted): >>>>>> >>>>>> # Options for extension 'GW1000' >>>>>> [GW1000] >>>>>> driver = user.gw1000 >>>>>> [[field_map]] >>>>>> extraTemp2 = intemp >>>>>> extraHumid2 = inhumid >>>>>> extraTemp1 = temp1 >>>>>> extraHumid1 = humid1 >>>>>> soilMoist1 = soilmoist1 >>>>>> >>>>> >>>> >>>> >>> -- >>> 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/fb279140-dd76-4767-92b8-1cdb780a2e30n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/fb279140-dd76-4767-92b8-1cdb780a2e30n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1031d2eb-33fb-4769-9dbd-17cb811bdf37n%40googlegroups.com.
