robotframework-mqttlibrary
robotframework-mqttlibrary copied to clipboard
MQTT Keyword Library for Robot Framework
In the `requirements.txt` : ```requirements paho-mqtt~=1.1 ``` which means roughly "any 1.1.x version". While in the `setup.py` : ```python install_requires = ['robotframework', 'paho-mqtt'], ``` which means roughly "any version of...
Sometimes (maybe 1/4 of the time) when I try to publish message to my mqtt broker (mosquitto version 1.6.9) I just get FAIL Error publishing: 4 this is caused by:...
I have a subscribe command receiving json messages withe following command: `Connect BROKER_IP` `${messages}= Subscribe topic_name qos=1 timeout=60 limit=0` `log to console ${messages}` I observe that when I run this...
# Addresses #25 This pull requests tries to fix problems with mqtt broker suddenly disconnecting. #4 thinks it might be related to looping mechanism somehow not working properly with robot....
Publish Connect 172..0.0.1 Publish home/garden/fountain qos=1 message=test message [Teardown] Disconnect Subscribe Connect 172..0.0.1 ${messages}= Subscribe home/garden/fountain qos=1 timeout=3 limit=1 [Teardown] Disconnect ------------------------------------### 20201124 14:52:41.539 : INFO : Connecting to 172..0.0.1...
Added an option to the `connect` keyword that allows specifying the transport protocol to use. The default is "tcp" and the other option is "websockets". The option is simply passed...
This code (self._messages[topic] = []) in "subscribe" and "listen" will abandon some messages that would not return to scripts when multiple messages received and multiple “subscribe” or “listen” called in...
Hi, The broker that we are using needs TLS ca_certs, cert, keyfile. I dont see any option in Connect, subscribe/subscribe and validate keywords that lets me specify these anywhere (unlike...
``` ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details Traceback (most recent call last): File "C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Roaming\Python\Python37\site-packages\MQTTLibrary\MQTTKeywords.py", line 71, in connect self._mqttc = mqtt.Client(client_id, clean_session)...
Hi! I've found that messages published right after execution of `MQTTLibrary.Subscribe` get lost. So I've had to come up with this workaround ``` MQTTLibrary.Connect ${host} # FIXME Sleep 1s MQTTLibrary.Subscribe...