MQTT and OpenHAB Cloud


I cant get the my Openhab2 to connect to the OpenHAB Cloud. i got my uuid and secret code and inputed that into my account and i restarted my raspberry pi after doing that. I also cant get the homekit to connect.

I am using a raspberry pi 3

I did a fresh install of the raspberry pi OS and re-installed openhab using instructions below.

I followed the instructions in the following link:

I get the following error when i try install the following:
“sudo apt-get install mosquitto mosquitto-clients”

The error is:

pi@raspberrypi:~ $ sudo apt-get install mosquitto mosquitto-clients
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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
mosquitto-clients : Depends: libmosquitto1 (= 1.5-0mosquitto1~jessie1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I installed everything in the order as per the instructions so im thinking that this error might be the issue as everything else installed perfectly. i also tried installing the mosquitto client using the synaptic package manager but that also failed. it said the following:

                "Could not apply changes! Fix broken packages first"

I installed openhab on my windows pc to test it and i was able to get the cloud and homekit working straight away.

I am new to the raspberry pi and just learning my way with it any help would be appreciated :slight_smile:


Why don’t you start over with an openhabian sd card image?


Thanks for the reply

i installed NOOBS today and i selected rasbian when i was installing it on the pi

sorry ignore previous reply I just realised… i will try install the openhabian on the sd card