HA stopped writing to influxdb around midnight

Hello,
My instance writes to an external influxdb. It all worked fine until this morning, when I discovered that it stopped writing to influxdb all of a sudden, right before midnight (last measurement are around that time, none after 23:59).

I tried restarting both, to no avail. Anyone has suggestions?? Other stuff can write to the db just fine.