I do not know of any AUTOMATIC device other than a PCI or Intellitec EMS system that must be installed in the Breaker box and will cost probably over $1000 just for the parts. You could install a 15 amp breaker in a box and wire with a 15 amp male plug to the shore connection and then use a 50 to 30 to 15 power cord step down adapter to that 15 amp breaker. That just means if you go over 15 amps that breaker will trip. Then you have to go outside and reset it each time. You could get something like this to monitor the draw with the remote meter. Doug
https://www.amazon.com/Progressive-Industries-EMS-HW50C-Electrical-Management/dp/B003AN1UA8/ref=sr_1_18?ie=UTF8&qid=1472847679&sr=8-18&keywords=rv+power+surge+protector