MQTT: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
(Nieuwe pagina aangemaakt met '==MQTT== mqtt is a messagebus based on the IBM MQ bus. It allows you to pass messages from one system to another without worrying about delivery or other send/recei...')
 
(MQTT)
Regel 5: Regel 5:
 
a simple mqtt server is mosquitto
 
a simple mqtt server is mosquitto
  
 +
 +
=== installatie ===
 +
 +
cross platform installers 
 +
 +
* http://mosquitto.org/download/
 +
 +
 +
=== connecten met de public msgbus MakerSpace Leiden ===
 +
 +
 +
Luisteren naar alles:
 +
mosquitto_sub -h space.vijn.org -t '#' -v
 +
 +
 +
Posten:
 +
mosquitto_pub -h space.vijn.org -t user/Marten -m “ wat een leuk plan.."
 +
 +
 +
=== met python ===
 +
 +
onder debian/ubuntu
 +
apt-get install python-pip python-dev
 +
pip install paho-mqtt
 +
 +
examples
 +
http://svn.martenvijn.nl/svn/deuropener/
 +
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.python.git/tree/examples
  
 
==Links==
 
==Links==
 
http://www.hivemq.com/seven-best-mqtt-client-tools/
 
http://www.hivemq.com/seven-best-mqtt-client-tools/

Versie van 6 feb 2015 om 14:01

MQTT

mqtt is a messagebus based on the IBM MQ bus. It allows you to pass messages from one system to another without worrying about delivery or other send/receive errors and queues.

a simple mqtt server is mosquitto


installatie

cross platform installers


connecten met de public msgbus MakerSpace Leiden

Luisteren naar alles:

mosquitto_sub -h space.vijn.org -t '#' -v


Posten: mosquitto_pub -h space.vijn.org -t user/Marten -m “ wat een leuk plan.."


met python

onder debian/ubuntu

apt-get install python-pip python-dev
pip install paho-mqtt

examples

http://svn.martenvijn.nl/svn/deuropener/
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.python.git/tree/examples

Links

http://www.hivemq.com/seven-best-mqtt-client-tools/