MQTT Library for Robot Framework

530 views
Skip to first unread message

Gaurav Gupta

unread,
Feb 23, 2015, 1:26:17 AM2/23/15
to robotframe...@googlegroups.com
Hey guys,

I have been working on creating an external keyword library for MQTT. MQTT is a lightweight protocol for machine-to-machine communication, typically for IoT messaging. More info here: http://mqtt.org/

The python library's source code is here: https://github.com/randomsync/robotframework-mqttlibrary and an initial version has been published at pypi.
I'm also creating a java library, which is a bit behind: https://github.com/randomsync/robotframework-httplibrary-java
These libraries use a client library released by eclipse paho project: https://eclipse.org/paho/

Feedback/code reviews are welcome.



Gaurav Gupta

unread,
Feb 23, 2015, 1:29:14 PM2/23/15
to robotframe...@googlegroups.com

Shahz Mazhare

unread,
Apr 7, 2017, 8:24:04 AM4/7/17
to robotframework-devel
Hello Mr. Gaurav,

I was wondering if you have the time and patience to help me out with something. 
I am trying to connect Raspberry Pi and Robot Framework. I want to send commands from Robot Framework to Raspberry, e.g. sending command to switch on the LED attached to Raspberry. 
Could you please guide me?

Gaurav Gupta

unread,
Apr 7, 2017, 7:38:50 PM4/7/17
to robotframework-devel
This is not exactly related to the MQTT Library so you may want to create a separate thread. But sometime ago, I wanted to get my team excited about Robot Framework. It's always more fun when it's visual so I used a Raspberry Pi, Pibrella and Robot Framework tests to light up LEDs and make noise . Links below.

pibrella: http://pibrella.com/. It has a very simple to use python library: https://github.com/pimoroni/pibrella

I'll see if I can find that code...but you should be able to give it a try using the gpio pins (or a HAT) and setting up the remote server on the Pi. All the best.
Reply all
Reply to author
Forward
0 new messages