Optimization of LoRaWAN Based IOT When Applied to Warehouse Battery Monitoring System Through Time Serial Forecasting