Measuring the weight of a beehive

You can get carbon impregnated foam material whose resistance changes when compressed. You could put the hives on that, but accuracy, range and rain may be an issues. I suppose the foam could be placed inside an impermiable coating.