I faced a challenge choosing between MQTT and CoAP!!

Hey guys while i was architecting a smart home energy management application requiring flexible communication patterns, I faced a challenge choosing between MQTT and CoAP please which protocol offers more adaptable client-server relationships and communication models to support my application's unique needs? @IoT Cloud
Solution:
I suggest using MQTT. Proper design of the MQTT Topic Structure is critical. Please check my article for the reference: https://www.thingrex.com/mqtt_topic_structure/
ThingRex
MQTT Topic structure
MQTT Topic structure
Jump to solution
11 Replies
ZacckOsiemo
ZacckOsiemo7mo ago
You would need to mention the unique needs so one can help I;d assume
youcef_ali
youcef_ali7mo ago
HiveMQ
YouTube
MQTT vs AMQP for IoT
MQTT is a communication protocol designed for the Internet of Things, with publish-subscribe (pub/sub) messaging as its core. The MQTT server, also known as the broker, allows you to inspect and manage connected IoT devices and messages. AMQP is Advanced Message Queuing Protocol. Watch the video comparison of MQTT and AMQP and discover the diffe...
youcef_ali
youcef_ali7mo ago
#Golioth is an IoT platform that provides cloud services for embedded devices. We think of our platform as a "universal connector". Golioth is purpose-built for you and the hardware you develop. Golioth enables everything that your devices need from the cloud, from establishing secure connections and providing over-the-air updates, to managing data to/from your fleet and connecting that to any cloud service you may need. This platform is using AMQP for esp32
Daniel kalu
Daniel kalu7mo ago
So basically i need a protocol supporting flexible client-server relationships and communication models. It should handle real-time data streaming for energy consumption updates and periodic sync for historical analysis.
julien
julien7mo ago
If you need to use low power wireless like Thread/Matter/6LowPAN only CoAP will work
Solution
LMtx
LMtx7mo ago
I suggest using MQTT. Proper design of the MQTT Topic Structure is critical. Please check my article for the reference: https://www.thingrex.com/mqtt_topic_structure/
ThingRex
MQTT Topic structure
MQTT Topic structure
Joseph Ogbonna
Joseph Ogbonna7mo ago
MQTT and COAP which is more light weight
LMtx
LMtx7mo ago
COAP
Joseph Ogbonna
Joseph Ogbonna7mo ago
Am thinking matter protocol is more preferable in smart homes but don't know how much it's been adapted
LMtx
LMtx7mo ago
Matter protocol has a huge potential. I use MQTT as it enables me to design systems with many-to-many communication models.
Want results from more Discord servers?
Add your server