Pybytes + MQTT
-
Hello,
I would like to use Pybytes to allow remote programming of FiPy nodes while simultaneously using a separate MQTT server to upload data online and receive automation control commands. When I try to import MQTTClient while pybytes is installed I get an error saying there are multiple users, which I assume is because Pybytes also uses MQTT. Is it possible to connect to multiple MQTTclients, and does anyone have a workaround for this issue?
Thanks
-
Somebody posted this some time ago: https://forum.pycom.io/topic/6801/mqtt-library-conflict-with-pybytes/2?_=1613294236230, It should be in the documentation very soon. I feel like that would be a solution to your problem as well!
-
@cromagnon I have the same problem did you found a
Solution?
-
Hi,
Ive looked into this but cannot reproduce the issue. I know that Pybytes uses MQTT as well. Did you perhaps try to use a different mqtt instance? Or the external library provided here: https://github.com/pycom/pycom-libraries/tree/master/examples/mqtt
Gijs