Thanks for your support.  I have it all working now.  I little write-up for 
anyone else wanting to use a Leaf and Soil Moisture Station on their 
VantagePro2:


1. Execute wee_device –info and look for the transmitter channel and 
type.  In my case channel 2, type “leaf_soil”:

TRANSMITTERS:

      Channel 1:                    iss

    *  Channel 2:                    leaf_soil*


2. I don’t know if this was necessary in hindsight, but I ran:  wee_device 
–help to see:

--set-transmitter-type=CHANNEL,TYPE,TEMP,HUM

                        Set the transmitter type for CHANNEL (1-8), TYPE

                        (0=iss, 1=temp, 2=hum, 3=temp_hum, 4=wind, 5=rain,

                        6=leaf, 7=soil, *8=leaf_soil*, 9=sensorlink, 
10=none),

                        as extra TEMP station and extra HUM station (both 
1-7,

                        if applicable)

Then I ran wee_device --set-transmitter-type=2,8,1,1  (2 for Channel 2, 8 
for leaf_soil, 1 & 1 were arbitrarily chosen as my first sensors)

3.  Next stop the weewx service (/etc/init.d/weewx stop) and run weewxd 
manually (weewxd /etc/weewx/weewxd.conf for me).  Look for your sensors and 
make a note of the names (e.g. soilMoist1).

       (mine looked like this:  *soilMoist1*: 2.0, soilMoist2: 54.0, 
soilTemp1: 11.6666666667)  

       You can restart the weewx service now if you want.. 
(/etc/init.d/weewx/start)

      

4. You need to manually add the new sensors to your report templates.  For 
example, in ./weewx/skins/Standard/index.html.tmpl, I added the following 
under the “Current Weather Conditions” section:

<tr>

                <td class="stats_label">Citrus Soil Moisture 150mm</td>

                <td class="stats_data">$current.*soilMoist1*</td>

              </tr>

              <tr>

                <td class="stats_label">Citrus Soil Moisture 300mm</td>

                <td class="stats_data">$current.soilMoist2</td>

              </tr>

              <tr>

                <td class="stats_label">Citrus Soil Temperature</td>

                <td class="stats_data">$current.soilTemp1</td> 

5. You can run wee_reports to test it out.

-- 
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