Thing 'yamahareceiver:zone...:Main_Zone' has been updated

After installing the yamahareceiver binding (2.2.0 Snapshot version), my log file is full the following entries:

2017-10-29 21:31:31.132 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:32:31.204 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:33:31.288 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:34:31.419 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:35:31.530 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:36:31.612 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:37:31.694 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:38:31.821 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:39:31.954 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:40:32.031 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:41:32.100 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:42:32.185 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:43:32.284 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:44:32.361 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:45:32.465 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:46:32.571 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.
2017-10-29 21:47:32.674 [me.event.ThingUpdatedEvent] - Thing ‘yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0deb518f7:Main_Zone’ has been updated.

I have two Things regarding my Yamaha receiver:

  1. Yamaha Receiver
  2. Yamaha Receiver Zone

Both are online (according to PaperUI).

Why is this second Thing updating every minute no matter if the receiver is ON or OFF?

The binding will update the state of the thing every 60 seconds (per default). While the bridge won’t send any additional information, the thing will answer regardless if switched ON or OFF.
Keep in mind that you can switch the receiver ON via Ethernet.
Actually you can watch the selected source without switching the receiver ON.

Hi Udo,

Ok, now the behaviour is clear :slight_smile:

Thanks.

Hi Guys,

Follow-up questions, as I just reinstalled my Yamaha binding.

The repeating message every minute is making a mess of the logs though and doesn’t serve a purpose, can it be surpressed so that I don’t see it when ‘tail’ - ing the file?

Same here.
The Things for both of my Yamaha receivers are updated every 60 seconds.
Besides the annoying messages there is another disadvantage as every update triggers a backup of the Things database:
/var/lib/openhab2/jsondb/backup/1514689919247–org.eclipse.smarthome.core.thing.Thing.json
This results in 1.8 MB (2x 900 KB) are written to disk every 60 seconds and that’s bad for lifetime of SSDs and especially SD-Cards!

What data of the updated Thing is different with every update? Will the data be checked for changes before it is applied to the Thing? Maybe it can be avoided to write unchanged data into the Thing?
Is there a way to debug the changed data of the Thing?

I have the exact same concerns/issues with the file being written to disk every 60 seconds. What can we do about this?

Same here, is there anything can be done to suppress the update message ?

you can set the logging level to ERROR for the ThingUpdatedEvent log messeges for all the things. for example from the karaf console:
log:set ERROR smarthome.event.ThingUpdatedEvent
but then You will not get those messages for other things to

Is there still no other solution? Those ThingUpdate log messages of the binding are really kind of annoying.

I am on openhab 2.5 and have the same problem.
I took the instructions from: https://www.openhab.org/addons/bindings/yamahareceiver/
where it specifies even a 20 seconds refreshinterval.

I am just new to openhab, but what is the impact if I change the refreshinterval e.g. to 600 second?
Can anyone explain the consequences?