TerryD
Posts: 1
Joined: Thu Feb 01, 2018 8:34 pm

I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Feb 01, 2018 9:04 pm

Hello Everyone!

I'm Terry from Houston Texas - USA. New to this Forum. it's easy to get lost for hours here. There is so much interesting stuff to read.

I need to hire someone to install Mosquito MQTT broker on a PI3 Image for me. I guess it doesn't really matter where you live as long as it's in the USA. Actually that doesn't matter for any other reason than I wouldn't know how to pay someone internationally. As I mentioned I'm in Houston, Texas but that doesn't really matter.

My thoughts were this: You already own a RPI3 and a spare memory card. You install Raspbian and Mosquitto Broker on your memory card and do some testing to ensure it's all working. Then make a image file of the disk and upload to a file server where I can download it from. Then I would install that image on a disk here and put it in my PI3.

I will probably have a few questions afterwards. I get the general concept of how to use a broker. Had success with io.adafruit, but would rather run my own broker. I tried installing it a few times on two separate PI3's months ago but it was too complicated. I'm sure if I put more hours in to it I could eventually get it going but I have a full time job and family tugging me in many directions.

If interested, please contact me.
If this isn't the correct place to post this type of request, please point my in the right direction.
Thanks in advance!
Terry

droleary
Posts: 174
Joined: Fri Feb 09, 2018 3:45 am
Location: Minneapolis, MN USA
Contact: Website Skype

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Feb 09, 2018 8:19 pm

To anyone who might have similar needs, let me suggest as an alternative using something like Ansible, or using some other kind of configuration management software. I like Ansible for this because it doesn't require any extra software to be installed on the target machine (which is nice for the smaller RPi offerings) and it scales down pretty well to doing basic things like setting up a single piece of software (including updated versions, which is not something easily done by working off a fixed disk image).

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Feb 09, 2018 9:18 pm

Installing a broker is as simple as typing in

Code: Select all

sudo apt-get install mosquitto mosquitto-clients
(assuming your using the latest 2017-11-29 Stretch image)

So I don't think you need pay anyone to do that for you :)

If you've got any more questions - just come back here and ask them

What are you using MQTT for BTW?

PhatFil
Posts: 515
Joined: Thu Apr 13, 2017 3:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Feb 09, 2018 9:29 pm

Hi Terry
shame you ran into trouble last time, If your ok with a not quite the latest version of mosquitto its only a few commands needed..

open a terminal session and type (copy n paste)

Code: Select all

sudo apt-get update

to bring your system upto date

then

Code: Select all

sudo apt-get install mosquitto
to install the broker,

next install ways to talk to it

Code: Select all

sudo apt-get install mosquitto-clients
and

Code: Select all

sudo apt-get install python-mosquitto
commands lifted from here :http://www.switchdoc.com/2016/02/tutori ... pberry-pi/
PS you cant break your pi with a dodgy installation and you can always start again with a fresh version of the os ;)

PhatFil
Posts: 515
Joined: Thu Apr 13, 2017 3:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Sat Feb 10, 2018 10:39 pm

PhatFil wrote:
Fri Feb 09, 2018 9:29 pm
Hi Terry
shame you ran into trouble last time, If your ok with a not quite the latest version of mosquitto its only a few commands needed..

open a terminal session and type (copy n paste)

Code: Select all

sudo apt-get update

to bring your system upto date

then

Code: Select all

sudo apt-get install mosquitto
to install the broker,

next install ways to talk to it

Code: Select all

sudo apt-get install mosquitto-clients
and

Code: Select all

sudo apt-get install python-mosquitto
commands lifted from here :http://www.switchdoc.com/2016/02/tutori ... pberry-pi/
PS you cant break your pi with a dodgy installation and you can always start again with a fresh version of the os ;)
Update.. as i performed a fresh install today i can confirm with the current download of stretch-lite
after the usual configuration disk expansion password change and update/upgrade

all you need do to install and run mosquitto automatically is

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients


then subscribe to a test topic hello/world ..

Code: Select all

mosquitto_sub -d -t hello/world
typo corrected its a - not a _ in mosquitto-clients..
now that will sit listening so open a 2nd terminal window and publish to the hello/world topic with something like:

Code: Select all

mosquitto_pub -d -t hello/world -m "Hello from Terminal window 2!"
and mosquitto will display the message in terminal #1 ;)


if you have any trouble flash the latest debian release with etcher onto your sd card..

jtmoderate876
Posts: 29
Joined: Sat Dec 05, 2015 9:38 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Sun Feb 18, 2018 5:54 pm

Thanks, this worked perfectly fine on my Pi2 B with latest stretch:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mosquitto mosquitto-clients
mosquitto_sub -d -t hello/world
#in second terminal window
mosquitto_pub -d -t hello/world -m "Hello from Terminal window 2!"

pliz
Posts: 3
Joined: Sun Feb 04, 2018 1:48 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 2:11 pm

It says:

Code: Select all

The following packages have unmet dependencies:
 mosquitto : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
             Depends: libwebsockets3 (>= 1.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

fruitoftheloom
Posts: 17625
Joined: Tue Mar 25, 2014 12:40 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 4:49 pm

pliz wrote:
Thu Aug 30, 2018 2:11 pm
It says:

Code: Select all

The following packages have unmet dependencies:
 mosquitto : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
             Depends: libwebsockets3 (>= 1.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

If you have unmet dependencies in I presume Raspbian Stretch:

Code: Select all

sudo apt-get update
sudo apt-get --fix-broken
Adieu

n67
Posts: 839
Joined: Mon Oct 30, 2017 4:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 5:27 pm

I don't understand why people here are allergic to money.

Why not just take the guy up on his offer?

I'd do it, in a minute, if I knew anything about mosquitoes - other than that getting bitten by them is no fun.

I'm actually serious. I'm curious why people don't like the idea of actually doing what the guy asks for.
"L'enfer, c'est les autres"

If a post offends you, just put that poster on your foes list, and be done with it (and with them).

To do otherwise, risks being banned.

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 7:47 pm

The OP posted the request back in Feb and has not returned to the forum.

Presumably, the advice they got did the job for them

mattmiller
Posts: 1954
Joined: Thu Feb 05, 2015 11:25 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 7:51 pm

@pliz If I had to guess wjhy your getting these errors - I'd say you are either following some old instructions that you found on the Internet somewhere and/or not using a recent copy of Stretch

If so, you need to start again with the latest copy of Stretch and do
sudo apt-get install mosquitto mosquitto-clients

n67
Posts: 839
Joined: Mon Oct 30, 2017 4:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 9:50 pm

Or not. You have no way of knowing.

But that doesn't affect the substance of my question in any way.
"L'enfer, c'est les autres"

If a post offends you, just put that poster on your foes list, and be done with it (and with them).

To do otherwise, risks being banned.

PhatFil
Posts: 515
Joined: Thu Apr 13, 2017 3:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 10:42 pm

n67 wrote:
Thu Aug 30, 2018 9:50 pm
Or not. You have no way of knowing.

But that doesn't affect the substance of my question in any way.
come on you have over 700 posts in here and you feign ignorance of mosquitto broker???

And you expect us to believe you are so morally bankrupt that you see the opportunity to exploit so enticing that your prepared to hold ransom for cash 5 seconds thought and 30 seconds typing?? and you then take the time without payment to play devils advocate?

SO .. not a credible question..

edit btw @pilz the usual sudo apt-get update, and upgrade in advance of the mosquitto install should lay the foundation for a good install.

n67
Posts: 839
Joined: Mon Oct 30, 2017 4:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Thu Aug 30, 2018 11:45 pm

come on you have over 700 posts in here and you feign ignorance of mosquitto broker???
Why should I know anything about a technology I've never had occasion to use?
And you expect us to believe you are so morally bankrupt that you see the opportunity to exploit so enticing that your prepared to hold ransom for cash 5 seconds thought and 30 seconds typing?? and you then take the time without payment to play devils advocate?
I'm not sure what you're saying here, but suffice to say that, no, I have no qualifications to help the OP, and have been quite upfront about that. But there are lots of people here who are familiar with the technology and who could.
"L'enfer, c'est les autres"

If a post offends you, just put that poster on your foes list, and be done with it (and with them).

To do otherwise, risks being banned.

pliz
Posts: 3
Joined: Sun Feb 04, 2018 1:48 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Aug 31, 2018 12:10 am

@mattmiller - thank you! have fully reinstalled from recent copy of Stretch.
Now everything is working fine!
Thank you for your help!

PhatFil
Posts: 515
Joined: Thu Apr 13, 2017 3:55 pm

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Aug 31, 2018 1:02 am

n67 wrote:
Thu Aug 30, 2018 11:45 pm
come on you have over 700 posts in here and you feign ignorance of mosquitto broker???
Why should I know anything about a technology I've never had occasion to use?
And you expect us to believe you are so morally bankrupt that you see the opportunity to exploit so enticing that your prepared to hold ransom for cash 5 seconds thought and 30 seconds typing?? and you then take the time without payment to play devils advocate?
I'm not sure what you're saying here, but suffice to say that, no, I have no qualifications to help the OP, and have been quite upfront about that. But there are lots of people here who are familiar with the technology and who could.
And did!!

Your asking iirc why ?

which is the whole raison d'être of the site/community to which you yourself have played an active role.

I would suggest that as long as you have food shelter and friendship in your life there is more than financial wealth that can be rewarding.

User avatar
bensimmo
Posts: 3328
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Aug 31, 2018 6:56 am

PhatFil wrote:
Thu Aug 30, 2018 10:42 pm
n67 wrote:
Thu Aug 30, 2018 9:50 pm
Or not. You have no way of knowing.

But that doesn't affect the substance of my question in any way.
come on you have over 700 posts in here and you feign ignorance of mosquitto broker???

And you expect us to believe you are so morally bankrupt that you see the opportunity to exploit so enticing that your prepared to hold ransom for cash 5 seconds thought and 30 seconds typing?? and you then take the time without payment to play devils advocate?

SO .. not a credible question..

edit btw @pilz the usual sudo apt-get update, and upgrade in advance of the mosquitto install should lay the foundation for a good install.
I have (checks) geez :eek:, over 3000 posts and not until a few weeks back have I every used MQTT myself.
And then I have only installed it using Cayenne IoT setup, which did it for me.
I now do know a little bit more about it.
Posts mean nothing.

User avatar
DougieLawson
Posts: 34144
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: I need to hire someone to install Mosquito MQTT broker on a PI3

Fri Aug 31, 2018 7:20 am

This arguement is banal. MQTT is an easy to learn lightweight protocol and there's some excellent resources from the HiveMQ folks (you don't have to choose Mosquitto, there's HiveMQ & RabbitMQ as alternative brokers).

https://www.hivemq.com/blog/how-to-get- ... -with-mqtt

The HiveMQ Essentials stuff is an excellent teaching resource
https://www.hivemq.com/mqtt-essentials/
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Return to “Wanted”