You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How should I properly declare the path of .payload.VINDRIKTNING.PM2.5? The above configuration is not working for me.
If I am understanding the documentation of jsonpath-ng correctly, single or double quotes should be sufficient to select a field with special characters:
Syntax
Meaning
fieldname
the field fieldname (from the “current” object)
"fieldname"
same as above, for allowing special characters in the fieldname
'fieldname'
ditto
The text was updated successfully, but these errors were encountered:
halmartin
changed the title
How to properly escape reserved characters in field name?
How to select field with reserved characters?
Dec 2, 2023
Hello, thank you for this useful project, I have been using it for many years to read sensor data from Tasmota and Espurna sensors.
I have the following problem: I have a tasmota device which sends a sensor reading with a field that contains the reserved character
.
:I am interested in transporting the value of field
PM2.5
to influxdb, myconfig.yaml
is the following:How should I properly declare the path of
.payload.VINDRIKTNING.PM2.5
? The above configuration is not working for me.If I am understanding the documentation of jsonpath-ng correctly, single or double quotes should be sufficient to select a field with special characters:
The text was updated successfully, but these errors were encountered: