The herpstat wont work on a generator as it produces uneven currents. Don't use it may get damaged.
Only use a non proportional t-stat if you are going directly to a generator, the dirty electricity produced by the generator is not good for precise digital equipment.