Here is a step by step instruction of the complete installation and setup:

# Install weewx
tar xvfz weewx-3.8.2.tar.gz
cd weewx-3.8.2
./setup.py build
sudo ./setup.py install
For this last step, use the simulator driver since ws3000 is not yet 
available.

=> weewx is installed by default in /home/weewx. Update the path in the 
following instructions is this is not the case.
cp ws3000.py /home/weewx/bin/user/
cp ws3000Extensions.py /home/weewx/bin/user/

Make sure that the ws3000 is correctly detected:
cd /home/weewx
./bin/wee_config --list-drivers
Module name              Driver name    Version  Status                   
  user.ws3000              WS3000         0.1                               
  weewx.drivers.acurite    AcuRite        0.24                              
  weewx.drivers.cc3000     CC3000         0.19 
  <...>

Then run the following command to reconfigure weewx with the correct driver:
./bin/wee_config --reconfigure

Finally edit weewx.conf, and change the sensor_map in the WS3000 section 
like this:
[WS3000]
<...>
    [[sensor_map]]
        inTemp = t_1
        outTemp = t_2
        extraTemp1 =
        extraTemp2 =
        extraTemp3 = t_3
        extraTemp4 = t_4
        extraTemp5 = t_5
        extraTemp6 = t_6
        extraTemp7 = t_7
        extraTemp8 = t_8
        inHumidity = h_1
        outHumidity = h_1
        extraHumid1 =
        extraHumid2 =
        extraHumid3 = h_3
        extraHumid4 = h_4
        extraHumid5 = h_5
        extraHumid6 = h_6
        extraHumid7 = h_7
        extraHumid8 = h_8

=> this basically tells weewx to store the temperature and humidity from 
the first 2 sensors (t_1, t_2, h_1 and h_2) into the inTemp, ouTemp, 
inHumidity and outHumidity columns of the database. Everything else will go 
to the extraTempx and extraHumidx columns (you must read the map from right 
to left).
The existing reports will pick up the values from inTemp and ouTemp by 
default. If you want to include the other columns in your reports, you will 
have to customize them.

NB: If you want to use metric units in the database, you can also change 
the following section:
[StdConvert]
<...>
target_unit = METRICWX

Hope this helps.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to