Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT topic subscriptions
#1
Am I correct that "Selected panel settings" "Refresh values only if panel is selected" does not cause topics to be unsubscribed from if topics are not on the current panel? I experimented with the option, but couldn't figure out what it was actually doing.

I have a complex project that has a panel for debugging sensor issues which displays for a lot of topics that update frequently and I'd like to find a way so that I could view the panel when needed without flooding Virtuino with too many messages in normal operation. I thought the above setting might help with that, but it doesn't appear to.

Is the best approach to achieve this type of reduction to set up a separate server connection (to the same source, but differ client id) and move the details topics to the second connection and selectively enable or disable the connection based on what panel is being displayed?

I see that there's a mechanism for setting an emulator variable with the current panel id and I suspect I could make an IF that looked at it and set variables for enabling various connections. Is this a good path to go down?

Thanks.

Lisa
Reply


Messages In This Thread
MQTT topic subscriptions - by lar - 11-01-2022, 05:07 AM
RE: MQTT topic subscriptions - by iliaslamprou - 11-02-2022, 06:29 PM
RE: MQTT topic subscriptions - by lar - 11-02-2022, 08:18 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)