Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I don't see as there's any relation between the two? - HTTP is just a normal URL for a webpage, MQTT is a server/database what ever.
Personally I simply use HTTP with GET or POST, as I have PHP and MySQL running on my servers - so I POST/GET to a PHP page, which then deals with the data accordingly. I also tend to send the absolute bare data - that way you can process it in the PHP, and don't need access to the transmitter hardware to make changes, you can simply change the PHP as long as you have the original bare data. As many of my devices are sat in holes in the ground in distant places, so VERY, VERY difficult to access, it makes a big difference if you can simply make changes on the server.
Learn all about the difference in HTTP and MQTT, from what HTTP is and what MQTT is to why you should use each, and which IoT protocol is best for your needs and creating a custom Internet of Things application!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.