title: IoT: do I need to use MQTT or HTTP?
body: <p>I'm working on a device that sense and collect information from the environment such as temperature, humidity, etc.</p>
  
  <p>The device is not connected to any power source, but it has a battery, and a solar panel to charge it.</p>
  
  <p>It's almost in a deep sleep state most of the time, and it only wake up when it need to sense and transfer data. This operation takes about 1-2 minutes, and then it goes to sleep again.</p>
  
  <p>I'm not an expert in this area, but I think MQTT should be a good option if the device need to be accessible to receive messages from a topic all the time, but in my scenario it only read sensors, and send data to a server periodically.</p>
  
  <p>Currently I'm sending the data through HTTP, but I'm wondering if it makes sense to implement MQTT? Should I get any advantage over HTTP for this scenario?</p>