First install pyenv with
brew update
brew install pyenv
Then install the latest 2.x version of python
Download weewx-X.Y.Z.tar.gz from weewx.com/downloads… this is the correct version for osX
For serving from a local openWRT router: change the /etc/config/uhttpd file. Add the text below to the top of the file then restart uhttpd (/etc/init.d/uhttpd restart) :
config uhttpd weather
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:81
list listen_http [::]:81
option home /www/weather
then to access the page goto <router ip/ routername.local>:81
For rsync to mediarouter adjust settings in weewx.config for RSYNC skin. You must have keys set up and your .ssh/config file setup.
To manually sync to the mediarouter from /Users/Shared/weewx/public_html:
sync -a . root@mediarouter.local:/www/weather