Local sensor is the local capability. For instance, I want to query a value and set the local capability on the device to be that value. So then I can make RM actions based on the temp of my pool, or humidity of outside, or if it’s rained.
As cobra mentioned below, I if I limit everything up to current on the json, then I can’t access things outside of that json container, like rain since midnight.
"hardware":"SDR",
"uptime":"0 days, 0 hours, 48 minutes",
"serverUptime":"0 days, 0 hours, 55 minutes",
"weewxVersion":"3.9.1",
"stats": {
"current": {
"outTemp":"78.8°F",
"windchill":"78.8°F",
"heatIndex":"78.8°F",
"dewpoint":"74.1°F",
"humidity":"86%",
"insideHumidity":"51%",
"barometer":"30.504 inHg",
"barometerTrendDelta":"3 hours",
"barometerTrendData":"-0.270 inHg",
"windSpeed":"1 mph",
"windDir":"237°",
"windDirText":"WSW",
"windGust":"4 mph",
"windGustDir":" N/A",
"rainRate":"0.00 in/hr",
"poolTemp":"86.9°F",
"crawlTemp":"86.9°F",
"crawlHumidity":"51%",
"insideTemp":"71.6°F"
},
"sinceMidnight": {
"rainSum":"0.00 in",
"maxtemptoday":"95.5°F",
"mintemptoday":"73.2°F",
"maxinsidetemptoday":"73.6°F",
"mininsidetemptoday":"70.9°F"
}