Live monitoring · Connect your hardware

Zigbee sensors for farm buildings

Zigbee sensors cost little, need no wiring and run for a year or more on a coin cell. They are made for homes, and they suit a greenhouse or a pump house just as well.

In short

Zigbee is a short-range, low-power radio network. Sensors join a coordinator stick plugged into a computer, and the free program Zigbee2MQTT turns their messages into MQTT. The Urvara gateway listens to those messages and sends every numeric value to Urvara as a reading.

What you need

  1. Zigbee sensors: temperature and humidity, leak, door contact, and others.
  2. A Zigbee coordinator, usually a USB stick.
  3. Zigbee2MQTT running on the same computer as the Urvara gateway, or anywhere on the farm network.
  4. One line in the gateway’s settings to turn the Zigbee listener on.

What arrives in Urvara

  • Each sensor becomes a device, named as in Zigbee2MQTT. It needs no token and no set-up in Urvara.
  • Numbers and on/off values become readings: temperature, humidity, battery, link quality, leak, contact.
  • Text values such as button presses are skipped.
  • Up to 32 values are taken from one message.

Range

One Zigbee hop reaches from a few metres to a few tens of metres, less through walls and wet foliage. Mains-powered Zigbee devices pass messages on, so a few plugs or repeaters extend the network across a building. For open fields, use LoRaWAN instead.

ZigbeeLoRaWANWi-Fi
RangeTens of metres, extended by meshHundreds of metres to kilometresTens of metres
Battery lifeA year or moreYearsDays to weeks, unless mains powered
Best forInside buildingsFields and remote tanksMains-powered boards near buildings

Readings only

Urvara listens to Zigbee sensors. It does not send commands to Zigbee devices, so a Zigbee plug cannot be switched from Urvara.

Works today
  • Every numeric value from Zigbee2MQTT as a live reading.
  • Battery and link quality for each sensor.
  • Zigbee2MQTT on the gateway’s own broker or on its own.

Live farm has been tested with simulated devices on every route except USB. It has not yet been run with physical sensors in the field, so treat pin numbers, calibration values and radio set-ups as things to check on your own hardware.

Questions people ask

Do Zigbee sensors work outdoors?

Most are made for indoor use. In a greenhouse or shed they work if they are kept out of spray and direct sun. For sensors in the open, choose one rated for outdoor use or use LoRaWAN sensors made for fields.

What is Zigbee2MQTT?

Zigbee2MQTT is free, open-source software that connects Zigbee devices from many makers to MQTT, without each maker’s own hub or cloud.

Last checked against the product: .

Design your farm before you build it.

Open Urvara in your browser. Lay out the land, connect the water and the power, and see what the checks say.