Disabling archive_services will disable writes to the database, but it will
also prevent archive records from being generated.

On Tue, Jan 18, 2022 at 6:13 PM DrTron <[email protected]> wrote:

> Thanks!
> Disabling the report_services definitively stops the write into
> /var/www/html.
> Additionally, I found that disabling archive_services disables writes to
> the database. So exactly what I wanted.
>
> On Tuesday, January 18, 2022 at 7:08:48 PM UTC-6 [email protected] wrote:
>
>> Disabling report generation is simple enough: simply
>> remove weewx.engine.StdReport from the option report_services
>> <http://www.weewx.com/docs/usersguide.htm#engine_services>.
>>
>> However, the database is pretty integral to the running of the engine,
>> and cannot be easily disabled. Just use the sqlite database and ignore it.
>>
>> On Tue, Jan 18, 2022 at 4:58 PM DrTron <[email protected]> wrote:
>>
>>> All,
>>> As probably many here do, I intend to use weewx not to display weather
>>> data on a webserver, but just to collect data from a weather station and
>>> feed the data into an existing database. That is working now, at least with
>>> the Simulator.
>>> So the whole sqlite database, archive, report generation etc. are not
>>> needed.
>>>
>>> Is there a way to disable these services without digging too deep into
>>> the python scripts?
>>>
>>> Thanks!
>>>
>>> --
>>> 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/1ade102c-5937-4357-8bab-e5621ce78e4en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/1ade102c-5937-4357-8bab-e5621ce78e4en%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/26794405-70b7-431d-9833-12a07c8830fbn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/26794405-70b7-431d-9833-12a07c8830fbn%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/CAPq0zEAi8j0zktjdKW%2BK77n1B7urHrnn6Q-y0_TS8vhHZNgA7w%40mail.gmail.com.

Reply via email to