Hi, You will not see anything appeaing in your database until you get the observational data from your station (eg temperature, humidity etc) appearing correctly in loop packets. At the moment your loop packets look like this:
LOOP: 2017-05-31 00:34:24 CEST (1496183664) altimeter: None, appTemp: None , barometer: None, battery.1500.Rain: 9, cloudbase: None, dateTime: 1496183664, dewpoint: None, heatindex: None, humidex: None, inDewpoint: None , maxSolarRad: 274.512851623, pressure: None, rain.1500.Rain: None, rain_total.1500.Rain: 423.6, rainRate: 0.0, rate.1500.Rain: 0.0, signal. 1500.Rain: 7, usUnits: 17, windchill: None LOOP: 2017-05-31 00:34:33 CEST (1496183673) altimeter: None, appTemp: None , barometer: None, battery.5501.TempHumid: 9, cloudbase: None, dateTime: 1496183673, dewpoint: None, heatindex: None, humidex: None, humidity. 5501.TempHumid: 53, inDewpoint: None, maxSolarRad: 274.51310916, pressure: None, rainRate: 0.0, signal.5501.TempHumid: 7, temperature.5501.TempHumid: 16.8, usUnits: 17, windchill: None LOOP: 2017-05-31 00:35:11 CEST (1496183711) altimeter: None, appTemp: None , barometer: None, battery.1500.Rain: 9, cloudbase: None, dateTime: 1496183711, dewpoint: None, heatindex: None, humidex: None, inDewpoint: None , maxSolarRad: 274.514235711, pressure: None, rain.1500.Rain: 0.0, rain_total.1500.Rain: 423.6, rainRate: 0.0, rate.1500.Rain: 0.0, signal. 1500.Rain: 7, usUnits: 17, windchill: None LOOP: 2017-05-31 00:35:26 CEST (1496183726) altimeter: None, appTemp: None , barometer: None, battery.5501.TempHumid: 9, cloudbase: None, dateTime: 1496183726, dewpoint: None, heatindex: None, humidex: None, humidity. 5501.TempHumid: 53, inDewpoint: None, maxSolarRad: 274.514718593, pressure: None, rainRate: 0.0, signal.5501.TempHumid: 7, temperature.5501.TempHumid: 16.9, usUnits: 17, windchill: None Your sensor map indicates that humidity.5501.TempHumid is in fact outHumidity and temperature.5501.TempHumid is outTemp, but nowhere do you actually use your sensor map to do these mappings (hence the odd field names in your loop data). I think you need to go back to the source driver you were working from and look closely at what you may have omitted in developing your driver. If the source you used was a functioning weeWX driver somewhere there must have been some code that used the weewx.conf sensor map to map cryptic sensor names to weeWX schema names. If there is nothing that you can find in your original source have a look at Matthew's sdr driver <https://github.com/matthewwall/weewx-sdr>. In particular look at the map_to_fields() method and its use in bin/user/sdr.py . Gary On Wednesday, 31 May 2017 09:19:18 UTC+10, Christophe Allory wrote: > > Hi all, > > I try written a new driver for my Transceiver USB Rfxcom by modifying > script found on the Internet. > > > I have no error message in my log. > Here is my driver, the log, weewx.conf, database archive and the terminal. > > How can I test my database with sensor packet ? > -- 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.
