An autonomous low-power lora-based flood-monitoring system