Update cmd/sensor/main.go