A super easy MQTT getting starting guide?
-
Can anyone recommend one?
I did find a recent super easy overview:
https://www.youtube.com/watch?v=1GbYkCrbChw
but I have no idea how to get going with one, or even what platform I should prefer for the broker (arduino, Pi2, PC, or cloud?).My preferance would be to start with something extremely simple that's already working and then modify it.
Suggestions/recommendations?
-
Cloud is probably easiest to get started.. and then depending what you have available you could try mosquitto on windows as a test, assuming you have a windows box already running and then when you are happy with that and understand what is going on then i would suggest investing in something like a raspberry pi so you can have an always on broker on your home network...
I am running mosquito on a Rpi b+ without issues, and also openhab running on the same device, and a mysensors mqtt gateway and several sensor nodes for temp and a power meter that i am working on getting going.
Don't know if that helps.
Gambituk
-
@Gambituk said:
Cloud is probably easiest to get started.. and then depending what you have available you could try mosquitto on windows as a test, assuming you have a windows box already running and then when you are happy with that and understand what is going on then i would suggest investing in something like a raspberry pi so you can have an always on broker on your home network...
I am running mosquito on a Rpi b+ without issues, and also openhab running on the same device, and a mysensors mqtt gateway and several sensor nodes for temp and a power meter that i am working on getting going.
Don't know if that helps.
Gambituk
Fair enough. Any suggestions as to which cloud would be easiest to get started with?
-
Sorry, that's the one step i didn't do, i already had a Rpi, so i started from this step, but i think they should all be somewhat similar, maybe someone else has tried something but i can't offer any genuine advice.
-
@Gambituk Is OpenHab stable on the Rpi B+ ? I tried it once but had problems so I'll try it again soon. but It took a lot of time to boot and then failed.
-
i am currently using a Rpi II running OpenHab and the Mosquito broker. Startup is slow, but it works. However, I do not have a lot of sensor currently connected.
-
@tomkxy Good. Thank you
-
@tomkxy Is it stable ? Do you need to restart OpenHab every while ?
-
I had to restart this night which was the first restart since months. Tonight the clocks were changed (Daylight Savings Time). I suspect that this was the reason. Apart from that it is absolutely stable.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
What is actual status of MySensors?
General Discussion • 12 days ago • perfectom 4 days ago -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 12 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 27 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29