A small node with sensors sits on the hive, measures weight, climate and activity, and sends the data over LoRa radio to a receiver. The receiver is what carries the data to the cloud: connected to your wifi, or, if you prefer, off-grid at the apiary with a battery, a solar panel and its own IoT SIM. In the cloud you see it on your phone with charts, history and alerts, and if something moves outside normal values you get a notification.
How a smart hive works.