I have used weewx on FreeNAS / TrueNAS for many years and it works well, for hardware that sends loop data to an IP address. Have not tried it with usb hardware.
1. Create and run weewx in it's own standard jail. Given that you want to
play with FreeBSD I assume you are familiar with jails and you can handle
this. All further instructions assume that you are working within the
active running jail.
2. Python packages are named a little different than linux distributions.
a) Start by installing python3 using pkg command. Available package
names are python36, python37, python38, python39. Further instruction will
assume you installed python37
b) Install py37-cheetah3 using the pkg command
c) Install py37-configobj
d) Install py37-pillow
e) Install py37-sqlite3, assuming you are using sqlite database
3. Install weewx using the setup.py method
4. To run weewx directly con command line, cd to /home/weewx and use the
./bin/weewxd command, run this as su.
5. To start weewx automatically from at startup, copy the attached script
to */usr/local/etc/rc.d/*
6. Add the following line *weewx_enable="YES"* to the */etc/rc.conf*
file. Now weewx will start automatically and you can start and stop the
service with *service weewx start* or *service weewx stop* command
On Thursday, January 14, 2021 at 10:04:06 a.m. UTC-8 [email protected]
wrote:
>
> I have a TrueNAS box and want to install in a FreeBSD jail. I'm a complete
> knob, can anyone help with instructions for installing on FreeBSD. Sadly,
> such great document for Linux, but none for FreeBSD (although i see there
> is a startup script, for those who know how to get that far)
>
--
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/5f119c26-0b3e-4487-a8a4-a4ea3fcb7eebn%40googlegroups.com.
weewx
Description: application/shellscript
