I’m having a puzzle which I don’t know the answer…
I have my all my thermostats connected to OH through a Sonoff Zigbee Bridge. Everything is working fine, I am able to control hem and receive statuses that are being brodcasted and extract the info through JSON transformation, BUT…
Problem is that the thermostats are broadcasting different paterns, at different times (ie, sometime it will publish the SetPoin and the current temperature, sometimes just the temperature, sometimes the heating demand, etc. So, what is happenning is that my log gets filled with errors, because each time something is published, there are always some info that are not present, hence, OH is complaining with a warning that the transformation failed (because item was not found).
Is there a way to prevent that? System is working fine, but the log is a mess since I have 12 thermostats that are publishing frequently, it makes it very hard to read through the log
But first, these aren’t errors, they appear as WARN log items. You can safely ignore them.
However, if - like me - you hate the clutter, you can use the REGEX Transformation Service chained before the JSONPATH Transformation to only send relevant strings to JSONPATH. Check this magic out:
oh gosh… that was so obvious that I couldn’t see it! Also, I had to do the trick wher I voluntarly corrupt the file, save, fix it back and save, otherwise my file don’t get loaded.