Actually you can comment out the define of the gateway and use it as a simple gateway with sensors.