I have a Log-Reader Device
{
"id": "dev-log_precip",
"name": "Niederschlag",
"class": "LogWatcher",
"file": "/home/pi/wounderground/weatherdata.xml",
"attributes": [
{
"name": "var_weather_precip_today",
"type": "number",
"unit": "mm"
},
{
"name": "var_weather_precip_1hr",
"type": "number",
"unit": "mm"
}
],
"lines": [
{
"match": "<precip_today_metric>(.+?)<\\/precip_today_metric>",
"var_weather_precip_today": "$1"
},
{
"match": "<precip_1hr_metric>(.+?)<\\/precip_1hr_metric>",
"var_weather_precip_1hr": "$1"
}
],
"xAttributeOptions": []
}
This gives something like this (First four rows are log-reader devices)
Is there a way to add a “Acronym” for the different “attributes” of a log-reader device?
For example to add a lable “Luftdruck” and “Luftfeuchtigkeit” to the “Luft” row. Or “Niederschlag Tag” and “Niederschlag letzte Stunde” to the “Niederschlag” row.
It is working within the SunriseDevice (Sonnenaufgang/Sonnenuntergang)