puzzle-bbt / arduino

A lot of projects on the arduino platform.
GNU Affero General Public License v3.0
0 stars 0 forks source link

MQTT (Raspberry Pi) #8

Open RandomTannenbaum opened 10 months ago

RandomTannenbaum commented 10 months ago

MQTT auf Terminal benutzen:

Mosquitto installieren: sudo apt-get update sudo apt-get install mosquitto mosquitto-clients

Publish:

mosquitto_pub -h 212ea18f0a20405d9ea0171673ce5784.s1.eu.hivemq.cloud -p 8883 -t "test" -u "[username]" -P "[password]" -m "[message]" --cafile `"~/Downloads/isrgrootx1.pem -r"

Subscribe:

mosquitto_sub -h 212ea18f0a20405d9ea0171673ce5784.s1.eu.hivemq.cloud -p 8883 -t "test" -u "[username]" -P "[password]" --cafile "~/Downloads/isrgrootx1.pem"

Root Zertifikat von LetsEncrypt herunterladen: LetsEncrypt Root Zertifikat Hinweis: Passwort und Username sind im BBT Cryptopus-Team zu finden

Akzeptanzkriterien