In my network I have a large number of zigbee devices from MI /AQARA etc. These send a nice JSON formatted message when they are triggered. This message contains an “ACTION” field which I filter out for my items.
BUT, sometimes these devices send an “hello I’m still alive” message, which missses the “ACTION” part. This leads to a very large and long error message (at least 30 lines) in my logging. Unneeded I would say. It is sort of a crash log.
Can it be disabled?
Or is there a trick to prevent JSON errors when the incomming string does not contain the field the transformation was looking for?
2019-07-25 19:35:48.991 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - transformation throws exception [transformation=org.eclipse.smartho me.transform.jsonpath.internal.JSonPathTransformationService@b72523, value=-] org.eclipse.smarthome.core.transform.TransformationException: Invalid path '$.action' in '-'