First of all, you should put pond.py in the user subdirectory /usr/share/weewx/user. This way, it will not be touched when you upgrade weewx. See the Customizing Guide section *Where to put customizations <http://weewx.com/docs/customizing.htm#Where_to_put_customizations>*.
Then use data_services = user.pond.PondService If that gives an error, be sure to post the log. We will need more information than "parse error in the log file." -tk On Wed, Dec 6, 2017 at 11:04 AM, BLg <[email protected]> wrote: > Hello, > my humidity sensor n the Vantage Vue does i not work any more. Therefore I > bought a DHT22 sensor which I have installe on the same raspberry. > > I have also defined a python script for storing the sensor data (from the > webpage https://github.com/weewx/weewx/wiki/add-sensor ): > > in pond.py > > > My problem is the config file, where I have to define the Services. > > [Engine] > > > [[Services]] > > # This section specifies the services that should be run. They are > > # grouped by type, and the order of services within each group > > # determines the order in which the services will be run. > > prep_services = weewx.engine.StdTimeSynch > > *data_services = weewx.engine.pond.PondService??* > > ..... > > > pond.py is in the directory */usr/share/weewx* > What do I have to write behind the data_services = > I have tried a lot but I get always the answer parse error in the log file > > Thank you for help > Bernd > > > > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
