Hi,
I need example code to use method: set_callback_status & set_callback ?.
I need an example code (calback) to check if sending the message / topic subscription was successful or not.
How to do it I have in this library mqtt simple2, robust2 ?
https://github.com/fizista/micropython- ... simple2.py
https://github.com/fizista/micropython- ... robust2.py
How do I set the maximum time in seconds for this operation?
I am doing a soil moisture sensor working on a battery, connected to a homeassistant via wifi. It has to be active for a short time, then goes to sleep.