Weight sensor zigbee or zwave

ok but that wouldn't report weight to hub. So the control should be done on a separate control card. An esp32 module ? then the esp will close the relay on contact sensor. Instead of using 3 devices (weight sensor, control card and contact sensor) , I'd prefer to do it on a esp32 zigbee module. But for that I need to learn zigbee and be able to test it on Hubitat.