Connect to mqtt.no:1883. Subscribe to any topic. Receive no.
You can also publish. Whatever you publish, subscribers receive no.
Your payload is discarded on arrival, unread and unloved. This makes us,
technically, the most private message broker in existence.
| QoS | delivery guarantee |
|---|---|
| QoS 0 | you may receive no |
| QoS 1 | you will receive at least one no |
| QoS 2 | exactly one no, guaranteed |
# ask for something. anything.
mosquitto_sub -h mqtt.no -t 'can/i/have/a/pony'
no
# wildcards are answered concretely
mosquitto_sub -h mqtt.no -t 'will/you/+' -v
will/you/no no
# service statistics
mosquitto_sub -h mqtt.no -t '$NO/stats'
{"noes_served":1337,"yeses_served":0,...}
# python
import paho.mqtt.subscribe as subscribe
msg = subscribe.simple("am/i/a/good/programmer", hostname="mqtt.no")
print(msg.payload) # b'no'
Ask the broker for something, right here, over MQTT.