Recent RaspiOS support cloud-init for automating installations, so I took a 
pass at converting my bash scripts to this newer method.  Nice thing is you 
basically just need to drop a couple files into the downloaded .img, one to 
get it running on your network, the other to do the automated installation.

I cooked up a [github repo 
<https://github.com/vinceskahan/weewx-raspi-cloud-init>] that installs and 
configures the following:

   - WeeWX using the pip installation
   - nginx as the webserver
   - Belchertown as an added skin
   - rsyslog for traditional logging
   - logrotate to rotate logs
   - ntpsec for time sync because systemd's variant is awful

See the repo for procedures and very commented files you'll need.  Should 
be obvious re: how you can salt to taste for your needs.

Works pretty nicely for me.  Gotta love burn the SD, boot the pi, and walk 
away. Cool stuff.

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/e3d9e207-db36-4500-875e-bb955b9580fdn%40googlegroups.com.

Reply via email to