On Sunday, October 3, 2021 at 3:14:32 PM UTC-7 [email protected] wrote: > I wish for my raspberrypi to be "just a collector" it has the SD card set > as read only, it only uses RAM files systems. I don't run a webserver on it. > To prolong the life of the SD card and the device, I would like to just > run weewx (I guess you could say in a collector only mode). It just takes > the data from the weather station and writes it to the database, nothing > more.
I wonder (untested) if you could remove weewx.StdReport from report_services and get the collector to just collect. Perhaps try that. > I have another virtual machine on a much faster/better platform that does > all my heavy lifting (webserver, database etc) that is backed up etc. I'd > like for weewx to generate the reports etc on this server. (not on the pi > and then rsync/sftp/ftp them to ANOTHER webserver) > I don't think that's trivial to do. You'd have to define 'something' in terms of what Station the 'heavy lifting' box thinks it has, but never start the daemon since that would fail because you're not attached to your station. You'd then need to run bin/wee_reports manually on the 'heavy lifting' box via cron to generate reports. I don't know whether that would block you from doing other things like rsync uploaders or the like. You'd have to do some tests to find out experimentally. FWIW - what you're worried about isn't really an issue these days. Folks have run weewx for 'years' without issue to SD card as long as you have a quality SD card and stable power. I don't think I've yet seen a SD card corrupt on a pi3, pi3+, or pi4.... Your time might be better spent just letting your collector pi do the whole job. Perhaps mount /home/weewx/public_html to your NAS. That would keep you in a more supportable configuration I'd think.... -- 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/661849cc-d800-4d61-9c7f-0dfbad2ed298n%40googlegroups.com.
