Hi Gary, Thanks again, it worked! The packets now look like this:
LOOP: 2017-06-01 21:35:31 CEST (1496345731) altimeter: None, appTemp: None , barometer: None, batteryStatus0: 0, batteryStatus1: 0, batteryStatus2: 0, batteryStatus3: 0, batteryStatus4: 0, batteryStatus5: 0, batteryStatus6: 0, batteryStatus7: 0, batteryStatus8: 0, cloudbase: None, dateTime: 1496345731, dewpoint: None, dewpoint0: 12.4395622918, dewpoint1: 10.2028620613, dewpoint2: 13.3146548925, dewpoint3: 15.3598579755, dewpoint4: 13.2895672777 , heatindex: None, heatindex0: 26.4, heatindex1: 22.4, heatindex2: 26.2, heatindex3: 27.3566888636, heatindex4: 25.8, humidex: None, humidity0: 42, humidity1: 46, humidity2: 45, humidity3: 49, humidity4: 46, humidity5: None, humidity6: None, humidity7: None, humidity8: None, inDewpoint: None, maxSolarRad: None, pressure: None, rainRate: 0, rxCheckPercent: 100, temp0: 26.4, temp1: 22.4, temp2: 26.2, temp3: 27.0, temp4: 25.8, temp5: None, temp6 : None, temp7: None, temp8: None, usUnits: 1, windchill: None REC: 2017-06-01 21:35:00 CEST (1496345700) altimeter: None, appTemp: None , barometer: None, cloudbase: None, dateTime: 1496345700, dewpoint: None, dewpoint0: 12.5292678342, dewpoint1: 10.293701522, dewpoint2: 13.3146548925, dewpoint3: 15.4512548665, dewpoint4: 13.2895672777, ET: None, heatindex: None, heatindex0: 26.5, heatindex1: 22.5, heatindex2: 26.2, heatindex3: 27.4492357563, heatindex4: 25.8, humidex: None, humidity0: 42, humidity1: 46 , humidity2: 45, humidity3: 49, humidity4: 46, humidity5: None, humidity6: None, humidity7: None, humidity8: None, inDewpoint: None, interval: 5, maxSolarRad: None, pressure: None, rainRate: 0, temp0: 26.5, temp1: 22.5, temp2: 26.2, temp3: 27.1, temp4: 25.8, temp5: None, temp6: None, temp7: None , temp8: None, usUnits: 1, windchill: None, windrun: 0.0 The SQlite database now contains the all values from the LOOP/REC packets except the ones that weren't in there before (like cloudbase or inDewpoint). Just a question for understanding: I assume that you found out by reading the drivers source code, that the names of the Klimalogg parameters are what you have written on the right side of the expressions (the left side beeing the column headers in the database). How did the connection between sensor names and database name work before? (since there was no [[sensor_map]] stanza) One odd thing happened: the values are now saved in celsius instead of fahrenheit in the database but the usUnits field is still set to 1 (see image below) <https://lh3.googleusercontent.com/-yLE30aEZqGw/WTBuaR7jfKI/AAAAAAAAM6Q/Hs5ReIFQoIcrVmJwR7O5g1f3-M9Wr20LgCLcB/s1600/Unbenannt.PNG> The new columns containing dewpoint and heatindex use now celsius too. The generated graphs showed celsius before the change (which means that they were converted from the database bevor graph drawing). Now the are just showing the actual value from the database. For me celsius would be just fine but the user guide states that the [StdConvert] -> target_unit should not be changed unless I know exactly what I'm doing (which I am certainly not). -- 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.
