Skip to content

can not make mqtt_client.loop() shorter as 1 sec #195

Closed
@MyRaspberry

Description

@MyRaspberry

i try:

ts=time.monotonic()
#mqtt_client.loop() # every second check if remote command comes in
mqtt_client.loop(timeout=0.01)
print(f"___ mqtt_client loop {(time.monotonic()-ts)} sec")

more see:
test GIT of mqtt pub sub REMOTE BLINKY

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions