@spenceur Ok it seems the issue is not coming from there, weâre making progress 
To better explain what happens in the « reportState » function, as you have Google Home connected, your local instance propagates to Google Home the changes in the values of your devices to update the state on the Google Home side. This allows you, for example, if you have a lamp, to see the correct current state of your lamp the next time you open the Google Home app, even if in the meantime there have been changes on the Gladys side.
Of course, to avoid Gladys Plus spamming Google Home if you have very verbose devices locally, the local instance sends a maximum of one event per device and per 5 seconds.
Example: If you turn your light on, off, on, off 12 times in a row, Gladys will only send one event and not 12, Iâve thought about it well
(And if there are no state changes, Gladys sends nothing)
However, if you have 10 different lamps that turn on at the same time at your place, Gladys will send 10 requests more or less at the same time.
And thatâs where I think there could be an issue.
EAI_AGAIN errors do not necessarily mean that it comes from the DNS server, it can also be the getaddrinfo service that gets confused locally when it is under load.
And thatâs where we need to check if thatâs the case: if the integrations you use locally suddenly become very verbose (or if you have a scene that turns on all the bulbs in your house at the same time), I wonder if this can cause problems with concurrent access to this local DNS service, and result in errors.
We would need to see in your case how often you update the states of your devices (this can be found in the DB in the t_device_feature_state table), and see if there are times of the day when you have high contention. If thatâs the case, it doesnât necessarily mean thatâs it, but itâs a first lead.
Nevertheless, donât panic @spenceur, the only consequence of these errors is that Google Home is not up to date with the last local state, itâs not critical to the functioning of Gladys 