I have a energy meter that send out json messages over MQTT. It sends out voltage and amps of all phases every 10 seconds and the total kWh every hour. But because all the vaules are sent out on the same MQTT topic i get an error in Openhab every time the total kWh value is not sent.
2019-04-13 17:43:42.240 [WARN ] [l.generic.ChannelStateTransformation] - Executing the JSONPATH-transformation failed: Invalid path ‘$.data.caie’ in ‘{“dn”:“espams”,“up”:89607256,“data”:{“ls”:25,“lvi”:“Kamstrup_V0001”,“mid”:“123456789”,“mt”:“6841121BN243101040”,“t”:1555181020,“aip”:5495,“aep”:0,“rip”:0,“rep”:46,“al1”:11.61,“al2”:20.77,“al3”:13.11,“vl1”:232,“vl2”:232,“vl3”:230}}’
2019-04-13 17:43:42.248 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload ‘{“dn”:“espams”,“up”:89607256,“data”:{“ls”:25,“lvi”:“Kamstrup_V0001”,“mid”:“123456789”,“mt”:“6841121BN243101040”,“t”:1555181020,“aip”:5495,“aep”:0,“rip”:0,“rep”:46,“al1”:11.61,“al2”:20.77,“al3”:13.11,“vl1”:232,“vl2”:232,“vl3”:230}}’ not supported by type ‘NumberValue’
https://community.openhab.org/t/jsonpath-error-invalid-path/41146
In this post there is someone having a similar error and @rlkoshak wrote " I don’t believe you can eliminate this error log statement without turning off logging for transformations entirely."
Can i edit the logging so the error i am getting is not included in my events.log? Is this done in the “org.ops4j.pax.logging.cfg” ? How do i go about doing this?
Thanks for any help