Ok, I'm approaching the solution. In skin.conf I added the following to generate the daymoistsoil.png
+ [[[daymoistsoil]]] + [[[[soilMoist1]]]] and then in index.html.tmpl: + <img src="daymoistsoil.png" alt="Humidite sol" /> It should be working... at least daymoistsoil.png gets generated. On Sunday, October 1, 2023 at 3:51:57 PM UTC+2 Invisible Man wrote: > Hi, > I *just acquired a new soil moisture sensor* (EcoWitt). I added it to the > weather station and it works fine. Now, I'd like to get the value with > Weewx. > I already use the the *Interceptor* driver ( > https://github.com/matthewwall/weewx-interceptor) which works fine for > months/years, and I see now the new soil moisture data in it. > But* I forgot how to do add the value to Weewx and both display the > current moisture + display a curve for it.* Can you help me out ? > > This is the interceptor packet: > > Oct 1 15:17:39 vegan weewx[14762] DEBUG user.interceptor: raw packet: > {'dateTime': 1696166258, 'usUnits': 1, 'temperature_in': 80.1, > 'humidity_in': 54.0, 'pressure': 29.935, 'temperature_out': 83.5, > 'humidity_out': 49.0, 'wind_dir': 279.0, 'wind_speed': 0.45, 'wind_gust': > 2.24, 'solar_radiation': 407.46, 'uv': 3.0, 'rain_rate': 0.0, 'rain_total': > 10.74, 'soil_moisture_1': 23.0, 'wh65_battery': 0.0, 'wh25_battery': 0.0, > 'soil_battery_1': 1.4, 'rain': 0.0} > Oct 1 15:17:39 vegan weewx[14762] DEBUG user.interceptor: mapped packet: > {'dateTime': 1696166258, 'usUnits': 1, 'pressure': 29.935, 'outHumidity': > 49.0, 'inHumidity': 54.0, 'outTemp': 83.5, 'inTemp': 80.1, 'windSpeed': > 0.45, 'windGust': 2.24, 'windDir': 279.0, 'radiation': 407.46, 'rain': 0.0, > 'rainRate': 0.0, 'UV': 3.0,* 'soilMoist1': 23.0*} > > Notice soilMoist1. That's what I want to get :) > > I am running: > > > - Weewx 4.10.2 > - on a Raspberry Pi 3 > - The weather station is a EcoWitt HP2551AE_Pro_V1.8.0 > > I have the weather station & Weewx for years, and it works. It's just the > sensor that I added today :) > > Interceptor configuration: > > [Interceptor] > driver = user.interceptor > device_type = ecowitt-client > port = 8090 > iface = eth0 > > Thanks ! > Axelle > -- 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/cf6fdbc2-db72-4ea1-a8fb-5378b869b8a0n%40googlegroups.com.
