24.03.2023, 09:07
sem.runlocked closes the semaphore automatically. This issue might happen when there are too many open handles (files, sockets, semaphores etc) which are not closed when needed.
If you only need to receive values from MQTT you can simply use client:loop_forever without any additional libraries.
If you only need to receive values from MQTT you can simply use client:loop_forever without any additional libraries.