user sainton made a similar request:
> Hi,
> I'm using Weewx an Netatmo weather station. All works fine. But I have a
second extramodule, but how my
> I have this extramodule data in Weewx ?
> My I need to modify netatmo.py and add more field data ?
> 'extraTemp2': '
*.NAModule5.Temperature',> 'extraHumid2': '*.NAModule5.Humidity',
> 'extra_rf_status_2': '
*.NAModule5.rf_status',> 'extra_battery_vp_2': '*.NAModule5.battery_vp',
> 'extra2BatteryStatus': '*.NAModule5.battery_percent',
> My I rebuild my SQL database ?
> Thank's for your help.
> Gilles.
and here is the answer:
do not modify netatmo.py. do not modify your schema.
modify the [Netatmo] section of your weewx configuration file like this:
[Netatmo]
...
[[sensor_map]]
extraTemp2 = *.NAModule5.Temperature
extraHumid2 = *.NAModule5.Humidity
extra_rf_status_2 = *.NAModule5.rf_status
extra_battery_vp_2 = *.NAModule5.battery_vp
extra2BatteryStatus = *.NAModule5.battery_percent
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/b2928b80-48fc-4d83-876f-f595bcb2181a%40googlegroups.com.