Hi,
I'm trying to write a little mosquitto python daemon that will run in
background and fire actions on messages. Code quoted below. My problem is
that on_message will not get hit. I've tried referencing both the Class
method and unbound method outside of Client class - no luck. Self-tests
messag
Dear Alexander,
> My problem is that on_message will not get hit.
You aren't calling the network processing loop anywhere so only
outgoing communication will happen. You should use loop()
periodically, loop_start() once to run the network loop in a thread in
the background, or loop_forever() to c
2 matches
Mail list logo