MQTT Multi-Topic subscribe
Posted: Tue Jul 24, 2018 6:15 pm
Hi,
I wish to subscribe ( as in "regular" Python ) to several topics, when # as wildcard will not solve, for example:
Home/Windows/#
Home/Light/#
but not to :
Home/# ( which includes many more ).
In Python a list of topics can be defined as TOPICS=[(top1,qos1),(top2,qos2)]
Using same method in MicroPython does not apply.
Any leads?
I wish to subscribe ( as in "regular" Python ) to several topics, when # as wildcard will not solve, for example:
Home/Windows/#
Home/Light/#
but not to :
Home/# ( which includes many more ).
In Python a list of topics can be defined as TOPICS=[(top1,qos1),(top2,qos2)]
Using same method in MicroPython does not apply.
Any leads?