Dear Thomas, Just saw your reply. Thanks a lot!!! Please ignore the previous mail. Sent it without reading this. [Desperation. :'-) ] Thank you for your suggestion. It makes sense. I will explore it.
Regards, C. Ameya Manas On Wed, Jul 3, 2019 at 8:07 PM Thomas Keffer <[email protected]> wrote: > In that case, you would be better off writing a device driver that reads > from your CSV file, rather than using wee_import. This would be the right > way to do this. > > Another option is to use the utility wee_reports > <http://weewx.com/docs/utilities.htm#wee_reports_utility>, which just > runs the reporting engine. > > I think you'll find that running wee_import over and over again will get > less and less efficient as the size of your archive file increases. > > -tk > > On Wed, Jul 3, 2019 at 6:58 AM Ameya Chilukuri <[email protected]> > wrote: > >> Dear Thomas, >> >> You are right. I only want to use the WeeWX reporting features. >> As of now, my team is still in the process of shortlisting a weather >> station. So currently, we are using our own sensors for testing purposes. >> I wish to use the received sensor data to be displayed on the WeeWX >> index.html file, without the logged simulated data, >> >> Regards, >> C. Ameya Manas >> >> On Wednesday, July 3, 2019 at 7:23:05 PM UTC+5:30, Thomas Keffer wrote: >>> >>> It sounds like you just want to use the reporting features of WeeWX, and >>> not its data logging abilities. It would help if you explained what you're >>> trying to do. >>> >>> -tk >>> >>> On Wed, Jul 3, 2019 at 6:38 AM Ameya Chilukuri <[email protected]> >>> 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/56dfb1b0-777d-4360-8900-d6f2b6844f6d%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-user/56dfb1b0-777d-4360-8900-d6f2b6844f6d%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/6138bf14-5351-4107-8ade-23e6f66e3f0f%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/6138bf14-5351-4107-8ade-23e6f66e3f0f%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/CAPq0zECtTcRVzd0vripUhOKiLByj-OGXFgUuk-tx72_zza7rTg%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zECtTcRVzd0vripUhOKiLByj-OGXFgUuk-tx72_zza7rTg%40mail.gmail.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/CAFT%3Dg0xQXAP6R190n%3D32OWqkETt2K%3D-0deny3-P0CzFJnL03WQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
