On Monday, October 31, 2016 at 4:47:51 PM UTC-4, Brad Tucker wrote:

> I also have 2 Tower Sensors attached so I included logs for this incase 
> one of them is conflicting...
>

brad,

if you want to capture data from two different towers, you should 
distinguish them in your sensor map and possibly extend the database 
schema.  otherwise you'll get the 'UNIQUE constraint failed' for dateTime 
or you'll get mixed data from two different sensor clusters.

the sensor map would look something like this:

[Interceptor]
    ...
    [[sensor_map]]
        pressure = pressure..*
        inTemp = temperature..*
        inHumidity = humidity..*
        # first tower
        outTemp = temperature.AAAAA.*
        outHumidity = humidity.AAAAA.*
        windSpeed.AAAAA.* = windspeed.AAAAA.*
        # second tower
        extraTemp1 = temperature.BBBBB.*
        extraHumid1 = humidity.BBBBB.*
        extraWindSpeed1 = windspeed.BBBBB.*

AAAAA is the identifier for the first tower, BBBBB is the identifier for 
the second tower

if you want to retain the wind speed from second tower, then you must 
extend the database schema to include another column extraWindSpeed1

note that the pressure, inTemp, and inHumidity come from the acurite bridge 
itself.

m

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