Write yourself a little weewx service to read your csv file and put the valid data in the right variables. Weewx will take care of the rest.
On Wed, Jul 3, 2019, 7:31 AM Ameya Chilukuri <[email protected]> wrote: > I made a mistake in saying that setting "time_grace" = 7200 will lessen > the frequency with which Simulator will add data to the WeeWX database. > It is infact: > archive_interval = 7200 > which is found in the [StdArchive] section of the WeeWX.conf file, in > /etc/WeeWX/ > > Still, my issue remains the same. If anyone can tell me how to stop > Simulator from adding data altogether, I will be very thankful. > > Regards, > C. Ameya Manas > > On Wednesday, July 3, 2019 at 7:08:12 PM UTC+5:30, Ameya Chilukuri wrote: >> >> Hello Everyone, >> >> I have my WeeWX installed on raspberry pi. >> I get live data for temperature and humidity from the DHT 22 sensor every >> 15 minutes and dump it into a .csv file. >> I have written a program to wee_import the CSV file into the weewx >> database. >> But the Simulator also generates it's own random data and adds it to the >> database. >> I want this to stop. >> As a work around, I have set the "time_grace" = 7200 seconds ( = 2 hours) >> So the Simulator adds the data only at intervals of 2 hours. >> Is there a permanent solution for this? >> >> Thanks a lot in advance. >> >> Regards, >> C. Ameya Manas >> > -- > 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/78982406-0b06-42a5-896e-bad2cf5c2bf7%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/78982406-0b06-42a5-896e-bad2cf5c2bf7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAA1SM22n5spCv4paABg0XbcPWfuNdYk176A-4eZtwmsePHzjXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
