ochoadavid / Snap-MQTT

Snap (https://snap.berkeley.edu/) to MQTT bridge.
2 stars 0 forks source link

Snap MQTT bridge

Package to send MQTT messages from Snap (https://snap.berkeley.edu/).

Objective: enable the Snap programming system to send messages to a MQTT broker.

What you need:

How to use?

  1. Configure Snap-MQTT.py with your broker addresses (in the line: client.connect("localhost",1883,60)).
  2. Run python3 Snap-MQTT.py.
  3. Start Snap.
  4. Import Snap-MQTT.xlm.
  5. Send MQTT message using the imported block (in 'Variables' menu).

Todo (help!):

Receive MQTT messages: