The driver isn't going to alter your weewx db schema if that's what you're asking.
There's no extraTemp9 or extraHumid9 in the weewx db schema. You might want to map your ecowitt sensors to some elements already in the weewx schema to keep things simple. What sensors do you have and what channels are they on ? On Monday, January 9, 2023 at 12:42:09 PM UTC-8 jmltech wrote: > Hi, I am rebuilding my server, and installed a new fresh install of weewx > version 4.9.1 and tested using the simulator driver.... all is good. > values from the simulator are updated in the archive table. > > I then installed the Ecowitt Gateway as a service following the install > instructions on the wiki... version 0.5.0b5 > > I tested the Ecowitt Gateway service using the --live-data command line > option as well as --test-service command line option, and all is well... > the service is reading my gateway fine, and is picking up all of my sensors > along with their values. > > The problem that I'm seeing is that I didn't see any updates to the > weewx.sdb database for the ecowitt gateway after install. I also noticed > that the Ecowitt Gateway has lots of added fields listed in the > home/weewx/bin/user/gw1000.py, but I didn't see any of those added to my > weewx.sdb database after first run, or after any of the achive packets were > updated to the archive table. > > Am I supposed to add these fields manually? Or is the Ecowitt Gateway > service supposed to add them on install, or add them dynamically on first > use? > > If I add a field_map_extensions to the weewx.conf under the [GW1000] > stanza such as: > [[field_map_extensions]] > extraTemp9 = intemp > extraHumid9 = inhumid > and restart weewx... my ecowitt sensor values isn't added, even though I > see the intemp and inhumid in the loop packets in the log file using > debug=3. I don't see an extraTemp9 or an extraHumid9 listed in the > database, even though this is one of the fields listed in the gw1000.py > driver. The values from the simulator driver are being added to the > archive table. > > However, if I add a field_map_extensions to the weewx.conf under the > [GW1000] stanza such as: > [[field_map_extensions]] > extraTemp5 = intemp > extraHumid5 = inhumid > and restart weewx, I now see the values being added to the weewx.sdb > archive table for extraTemp5 and extraHumid5 that came from my ecowitt > sensor (as well as the values from the simulator) > > so, it appears that none of the ecowitt field names were added to the > archive table on install. If I'm supposed to add them manually, then the > wiki install instructions need to be updated. > > Thanks for the help, > Joe > > > -- 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/e9d0fc40-398e-4ef7-8fd9-193509644eean%40googlegroups.com.
