Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boriz/MQTT-SN-Arduino
Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket.
https://github.com/boriz/MQTT-SN-Arduino
Last synced: about 2 months ago
JSON representation
Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket.
- Host: GitHub
- URL: https://github.com/boriz/MQTT-SN-Arduino
- Owner: boriz
- Created: 2014-04-30T03:44:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T22:05:36.000Z (about 7 years ago)
- Last Synced: 2024-08-03T18:16:02.819Z (5 months ago)
- Language: C
- Homepage:
- Size: 2.52 MB
- Stars: 41
- Watchers: 17
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-arduino - MQTT-SN-Arduino - Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket (Libraries)
- awesome-arduino - MQTT-SN-Arduino - Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket (Libraries)
README
MQTT-SN-Arduino
===============TODO: I don't like the repo name anymore, change it to something more generic
Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket.
--------------Mesh network is based on the open-source MeshBee modules with Arduino end devices and Raspberry Pi acting as MQTT mesh network gateway.
TODO: Add links to MQTT, etcOverall project architecture:
TODO: Awesome diagrams should be hereThere are multiple pieces of the puzzle:
- Arduino/libraries/mqttsn/folder. This is an MQTT-SN Arduino library, fork of theh http://bitbucket.org/MerseyViking/mqtt-sn-arduino with some minor bug fixes (TODO: get in touch with the repo owner to merge). Copy mqttsn folder into your Arduino libraries folder.
- Arduino/MqttsnClient folder is an Arduino test sketch (publishes Arduino temperature to /arduino/temp topic). There is no frame logic, for now assuming direct/transparent serial connection to the broker.
- "serial-mqtts" folder. Serial to MQTT-SN/UDP gateway. Dummy simple Python script to read MQTT-SN from serial port and send it as UDP packet.
- RSMB Broker. Compiled version and configuration file of the "Really Small Message Broker" from http://git.eclipse.org/c/mosquitto/org.eclipse.mosquitto.rsmb.git
- Websocket to TCP gateway. This is slightly modified "websockify" project from https://github.com/kanaka/websockify to tunnel MQTT over Websocket. Compatible with http://mqtt.io client.TODO:
1. Test!
2. Create PLC MQTT client.