stephenhouser / node-red-contrib-flexradio

NodeRed nodes for working with FlexRadio 6xxx series software defined radios
Other
9 stars 3 forks source link

Make meters auto-subscribe to the topic they are monitoring #16

Open stephenhouser opened 3 years ago

stephenhouser commented 3 years ago

I would like the meter node to automatically subscribe to the meters that match the Topic field so that I don't have to enter meter sub commands separately.

stephenhouser commented 3 years ago

If the idea of pushing the meter subscription handing down into the flexradio-radio configuration node (#8) comes to pass then this could be a real possibility. The subscription engine could watch, at the radio level, for new meter announcements and update the subscription as meters come and go.

Integrating the meter sub into the meter monitor could save a lot of logic in flows.

Perhaps it should be a check-box, "Auto-subscribe to meters with this topic," or something similar