14.12.2022, 07:09
(13.12.2022, 08:48)admin Wrote: Use grp.create() to create objects based on topic name in mclient.ON_MESSAGE callback.
Thanks admin, helped me a lot!
I have one more question, I was able to read the topic and create an object with a name from MQTT, but every time my device is called, it creates a new object. How can I filter it so that it doesn't duplicate already created objects? That is, either to insert the already created topics into something, or to check the created objects?