There are a few devices to do this. In the UK the MyEnergi range is quite popular. They have devices to divert excess power to an electric vehicle and a electric hot water heater. However the data you can get out of them is limited - there are frequent complaints by YouTubers about this - and they require the cloud to get anything useful. Plus a full set is over £1000 - for what is effectively a CT clamp, relay and a nRF chip.
On a similar note it's impossible to control appliances like washing machines and dish washers to run during peak generation (unless you solder some wires to the control board), so they have to be started manually or set on a timer. Timers worked fine to take advantage of off-peak electricity tarrifs, but for PV they don't really work (maybe there is a cloud in the middle of the day). Ideally you want the device to know how much power is needed for each stage of the program, and pause if the available power is less than that.