WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I know I can set up an mqtt_trigger with filter to watch for any inbound topics being placed into the database.
This is great during runtime, as things come in.
However, I was wondering if there was any way to query the database to get a list of all the topics it currently has in its database?
I know it can be done outside of pyscript with various MQTT clients, but any possibility of being able to do it within pyscript directly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I know I can set up an mqtt_trigger with filter to watch for any inbound topics being placed into the database.
This is great during runtime, as things come in.
However, I was wondering if there was any way to query the database to get a list of all the topics it currently has in its database?
I know it can be done outside of pyscript with various MQTT clients, but any possibility of being able to do it within pyscript directly?
Beta Was this translation helpful? Give feedback.
All reactions