I forgot to add that you also need to configure you weatherstation to 
upload to a the weewx machine's address

On Friday, January 15, 2021 at 2:08:30 p.m. UTC-8 [email protected] wrote:

> After installing the interceptor driver it still needs to be configured in 
> the weewx.conf file
>
> Typically the installer will add a section like this at the end of the 
> config file.  Note that this is my modified version, there is no raineagle 
> device in the official interceptor driver.  
>
> [Interceptor]
>     # This section is for the network traffic interceptor driver.
>
>     # The driver to use:
>     driver = user.interceptor
>
>     # Specify the hardware device to capture.  Options include:
>     #   acurite-bridge - acurite internet bridge
>     #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
>     #   lw30x - oregon scientific LW301/LW302
>     #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>     device_type = raineagle
>     mode = listen
>     address = 192.168.1.89
>     port = 80
>
> You have to configure the driver with the correct options for your station.
>
> In the [Station] section of the weewx.conf file you need to change the 
> driver so that is does not point to the simulator, but to the Interceptor
>
>     # Set to type of station hardware. There must be a corresponding stanza
>     # in this file with a 'driver' parameter indicating the driver to be 
> used.
>     station_type = Interceptor
>
> After saving the config file you need to restart weewx service
>
> On Friday, January 15, 2021 at 1:42:23 p.m. UTC-8 [email protected] wrote:
>
>> I the linux box i had success. installation of the intercept driver does 
>> not disable the simulator. 
>>
>> Now i have a healthy startup log, and the web page just says "success", 
>> there is not display like with the simulator. 
>>
>> what do i have to do next pls
>>
>> weewx[1369] INFO user.interceptor: driver version is 0.53
>> weewx[1369] INFO user.interceptor: device type: observer
>> weewx[1369] INFO user.interceptor: mode is listen
>> weewx[1369] INFO user.interceptor: listen on :80
>> weewx[1369] INFO user.interceptor: sensor map: {'pressure': 'pressure', 
>> 'barometer': 'barometer', 'outHumidity': 'humidity_out', 'inHumidity': 
>> 'humidity_in', 'outTemp': 'temperature_out', 'inTemp': 'temperature_in', 
>> 'windSpeed': 'wind_speed', 'windGust': 'wind_gust', 'windDir': 'wind_dir', 
>> 'windGustDir': 'wind_gust_dir', 'radiation': 'solar_radiation', 'dewpoint': 
>> 'dewpoint', 'windchill': 'windchill', 'rain': 'rain', 'rainRate': 
>> 'rain_rate', 'UV': 'uv', 'txBatteryStatus': 'battery', 'extraTemp1': 
>> 'temperature_1', 'extraTemp2': 'temperature_2', 'extraTemp3': 
>> 'temperature_3', 'extraHumid1': 'humidity_1', 'extraHumid2': 'humidity_2', 
>> 'soilTemp1': 'soil_temperature_1', 'soilTemp2': 'soil_temperature_2', 
>> 'soilMoist1': 'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 
>> 'soilMoist3': 'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 
>> 'leafWet1': 'leafwetness_1', 'leafWet2': 'leafwetness_2', 'pm2_5': 'pm2_5', 
>> 'extraTemp4': 'temperature_4', 'extraTemp5': 'temperature_5', 'extraTemp6': 
>> 'temperature_6', 'extraTemp7': 'temperature_7', 'extraTemp8': 
>> 'temperature_8', 'extraHumid3': 'humidity_3', 'extraHumid4': 'humidity_4', 
>> 'extraHumid5': 'humidity_5', 'extraHumid6': 'humidity_6', 'extraHumid7': 
>> 'humidity_7', 'extraHumid8': 'humidity_8', 'soilTemp3': 
>> 'soil_temperature_3', 'soilTemp4': 'soil_temperature_4'}
>> weewx[1369] INFO weewx.engine: StdConvert target unit is 0x1
>> weewx[1369] INFO weewx.engine: Archive will use data binding wx_binding
>> weewx[1369] INFO weewx.engine: Record generation will be attempted in 
>> 'hardware'
>> eapema78g weewx[1369] INFO weewx.engine: Using archive interval of 300 
>> seconds (specified in weewx configuration)
>> weewx[1369] INFO weewx.restx: StationRegistry: Registration not requested.
>> weewx[1369] INFO weewx.restx: Wunderground: Posting not enabled.
>> weewx[1369] INFO weewx.restx: PWSweather: Posting not enabled.
>> weewx[1369] INFO weewx.restx: CWOP: Posting not enabled.
>> weewx[1369] INFO weewx.restx: WOW: Posting not enabled.
>> weewx[1369] INFO weewx.restx: AWEKAS: Posting not enabled.
>> weewx[1369] INFO __main__: Starting up weewx version 4.3.0
>> weewx[1369] INFO weewx.engine: Using binding 'wx_binding' to database 
>> 'weewx.sdb'
>> weewx[1369] INFO weewx.manager: Starting backfill of daily summaries
>> weewx[1369] INFO weewx.engine: Starting main packet loop.
>>
>>
>>
>> On Friday, January 15, 2021 at 8:43:05 PM UTC+1 [email protected] wrote:
>>
>>> Please post the startup log (the first bunch of lines of the weewx log 
>>> when it first starts up) so we can see which driver it is using
>>>
>>> On Friday, January 15, 2021 at 10:03:21 a.m. UTC-8 [email protected] 
>>> wrote:
>>>
>>>> yeh, i figured that out in the end - thanks. 
>>>>
>>>> I got the simulator running on both feebsd (nginx) and kubuntu 
>>>> (apache2) and
>>>> i have installed the interceptor on both with the instructions in her 
>>>> https://github.com/matthewwall/weewx-interceptor
>>>> i set to observer for the Fine Offset WH2900C but it is still showing 
>>>> me the Simulator on both firefox and chrome. 
>>>> I have tried clearing the cache and restarting, but even from a fresh 
>>>> machine it shows the simulator. 
>>>>
>>>> On Friday, January 15, 2021 at 4:56:04 PM UTC+1 [email protected] 
>>>> wrote:
>>>>
>>>>> You need to run a web server on the local machine (jail) to be able to 
>>>>> view the files generated and placed in the  public_html directory.
>>>>>
>>>>> OR
>>>>>
>>>>> You need to upload the generated files to another machine that acts as 
>>>>> a web server.  This can be done with the ftp or rsync reports
>>>>>
>>>>> On Friday, January 15, 2021 at 5:20:08 a.m. UTC-8 [email protected] 
>>>>> wrote:
>>>>>
>>>>>> the process is definitely running. Do I have to add some user 
>>>>>> permissions for the public_html directory? 
>>>>>> i installed into path /usr/local/share/weewx
>>>>>>
>>>>>> On Friday, January 15, 2021 at 12:29:52 PM UTC+1 S R wrote:
>>>>>>
>>>>>>> ok. thanks guys. i deleted the jail and started again per your 
>>>>>>> instructions. everything installed without errors and I've loaded the 
>>>>>>> startup scrip and the service starts. 
>>>>>>> i can ping the weewx and ping from the weewx jail to the internet. 
>>>>>>> if i try to reach via the browser i get Refused to Connect
>>>>>>> On Friday, January 15, 2021 at 2:14:23 AM UTC+1 [email protected] 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Using pip to install python packages under FreeBSD isn't a great 
>>>>>>>> idea. Freshports can keep everything up to date for you. I've been 
>>>>>>>> running 
>>>>>>>> weewx on my FreeBSD server for several years. 
>>>>>>>>
>>>>>>>> On Thursday, January 14, 2021 at 5:43:24 PM UTC-6 [email protected] 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> that didn't work in 2.
>>>>>>>>> I managed to install python37 and pip
>>>>>>>>> i then had to install with the commands below and follow the 
>>>>>>>>> packages per debian10 instructions
>>>>>>>>> pip install configobj 
>>>>>>>>> pip install serial 
>>>>>>>>> pip install usb 
>>>>>>>>> pip install pip
>>>>>>>>> pip install cheetah3
>>>>>>>>> pip install ephem
>>>>>>>>>
>>>>>>>>> But i get an error with 
>>>>>>>>> pip install pil  - "could not find a package that satisfies the 
>>>>>>>>> requirement pil"
>>>>>>>>> Do i need pil? 
>>>>>>>>>
>>>>>>>>> I have a WH2900 Fine Offset and in the forums it talks about using 
>>>>>>>>> the interception driver, but this is not an option during install. 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thursday, January 14, 2021 at 9:55:30 PM UTC+1 
>>>>>>>>> [email protected] wrote:
>>>>>>>>>
>>>>>>>>>> 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/b080bee6-4394-41cb-9906-72aeb262729an%40googlegroups.com.

Reply via email to